new pgp stuff

Ilya mail@krel.org
Sat, 13 Apr 2002 04:50:56 -0400


---------------------- multipart/related attachment
I checked the mailing list and dont see discussions about such important
feature as PGP ;)
anyways I just cvs'uped and tried it, when trying to inser Public Key I get:
  Invalid PGP Key.

and this in horde.log:
[13-Apr-2002 04:12:50] PHP Warning:  Undefined offset:  1 in
/usr/local/www/horde/lib/Crypt/pgp.php
on line 221
[13-Apr-2002 04:12:50] PHP Warning:  Undefined offset:  2 in
/usr/local/www/horde/lib/Crypt/pgp.php
on line 222
[13-Apr-2002 04:12:50] PHP Warning:  Undefined offset:  3 in
/usr/local/www/horde/lib/Crypt/pgp.php
on line 223

I also get this errors for almost all methods (or all what I tried):
The method "publickey/list" is not defined in the Horde registry
The method "publickey/get" is not defined in the Horde registry,

not sure, but should it be turbaGetPublicKey? or may be turba/publickey/get?


and of course the methods with these names are present in my registry.conf:
i.e. :
$this->services['turba']['publickey']['get'] = array(
    'file' => '%application%/lib/api.php',
    'function' => 'turbaGetPublicKey',
    'args' => array('email', 'addressbooks'),
    'type' => 'array'
);

and when I try to create a test key:
[13-Apr-2002 04:39:35] PHP Warning:  Uninitialized string offset:  0 in
/usr/local/www/horde/imp/tem
plates/pgp/pgp.inc on line 70
[13-Apr-2002 04:39:35] PHP Warning:  Uninitialized string offset:  0 in
/usr/local/www/horde/imp/tem
plates/pgp/pgp.inc on line 70
[13-Apr-2002 04:40:39] PHP Warning:  Uninitialized string offset:  0 in
/usr/local/www/horde/imp/tem
plates/pgp/pgp.inc on line 69

---------------------- multipart/related attachment
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 288 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/101125ce/attachment.gif

---------------------- multipart/related attachment--