[dev] New PGP functionality
Andreas Dahlén
andreas@dahlen.ws
Wed, 17 Apr 2002 15:53:12 +0200
The problem occurs when you have more then one adressbook and the
mailaddress isn't in the last addressbook.
If you try to encrypt, view any of the keys in the public keyring
you get en error; "No public key found for nnn".
The problem is the function turbaGetPublicKey in turba/lib/api.php.
If the emailaddress is found in the first addressbook the variable
$result is set. If the mailadress can't be found in the next
addressbook "No public key found for nnn" is returned.
What should happen if the mailaddress is found in two different
addressbooks? Shouldn't "More than 1 entry found" be returned?
/Andreas