[dev] Small patch for PGP
Andreas Dahlén
andreas@dahlen.ws
Thu, 18 Apr 2002 22:50:55 +0200
This message is in MIME format.
---------------------- multipart/mixed attachment
I found a little bug when you attches a your public PGP key.
To get the public key $imp_pgp->getPersonalPublicKey() is used.
Since this code is outside the first if use_pgp section the
variable $imp_pgp isn't defined.
Attached is a patch that defines $imp_pgp.
/Andreas
---------------------- multipart/mixed attachment
A non-text attachment was scrubbed...
Name: PGP Public Key
Type: application/pgp-keys
Size: 1715 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/d4f2df93/PGPPublicKey.bin
---------------------- multipart/mixed attachment
SW5kZXg6IGNvbXBvc2UucGhwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9yZXBvc2l0b3J5L2ltcC9j
b21wb3NlLnBocCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMi40MjYKZGlmZiAtdSAtcjIuNDI2IGNv
bXBvc2UucGhwCi0tLSBjb21wb3NlLnBocAkxNyBBcHIgMjAwMiAxNzo1NzowOSAtMDAwMAkyLjQy
NgorKysgY29tcG9zZS5waHAJMTggQXByIDIwMDIgMjA6NDI6MDkgLTAwMDAKQEAgLTgyMyw2ICs4
MjMsOCBAQAogICAgICAgICAgLyogQXBwZW5kIFBHUCBzaWduYXR1cmUgaWYgc2V0IGluIHRoZSBw
cmVmZXJlbmNlcy4gKi8KICAgICAgICAgIGlmICgkcHJlZnMtPmdldFZhbHVlKCd1c2VfcGdwJykg
JiYKICAgICAgICAgICAgICBIb3JkZTo6Z2V0Rm9ybURhdGEoJ3BncF9hdHRhY2hfcHVia2V5Jykg
PT0gJ29uJykgeworICAgICAgICAgICAgIHJlcXVpcmVfb25jZSBJTVBfQkFTRSAuJy9saWIvUEdQ
LnBocCc7CisgICAgICAgICAgICAgJGltcF9wZ3AgPSBuZXcgSU1QX1BHUCgpOwogICAgICAgICAg
ICAgICRwZ3Bfc2lnID0gbmV3IE1JTUVfUGFydCgnYXBwbGljYXRpb24vcGdwLWtleXMnLCAkaW1w
X3BncC0+Z2V0UGVyc29uYWxQdWJsaWNLZXkoKSk7CiAgICAgICAgICAgICAgJHBncF9zaWctPnNl
dE5hbWUoXygiUEdQIFB1YmxpYyBLZXkiKSk7CiAgICAgICAgICAgICAgJG1pbWUtPmFkZFBhcnQo
JHBncF9zaWcpOwo=
---------------------- multipart/mixed attachment--