Bug #17815 [Opn]: Wrong result of importing key(s)

From: Date: Wed, 25 Aug 2010 20:37:03 +0000
Subject: Bug #17815 [Opn]: Wrong result of importing key(s)
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-4679@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=17815&edit=1 ID: 17815 Updated by: mike@silverorange.com Reported By: alec at alec dot pl Summary: Wrong result of importing key(s) Status: Open Type: Bug Package: Crypt_GPG Package Version: SVN PHP Version: Irrelevant Roadmap Versions: New Comment: What do you think about using the same method but returning both: 'fingerprint' - the fingerprint of the last imported key (as exists now), and 'fingerprints' - an array of imported fingerprints? This would maintain backwards compatibility. Previous Comments: ------------------------------------------------------------------------ [2010-08-25 13:47:02] alec ...or provide separate import() and importFile() methods with extended result. ------------------------------------------------------------------------ [2010-08-25 13:23:03] alec Description: ------------ In theory it is possible to import many keys (and not only keys) from one file. In this case response contains only one (last?) fingerprint. In my opinion we should return 'fingerprint' item as array of imported fingerprints (from IMPORT_OK responses). ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=17815&edit=1

« previous php.pear.bugs (#4679) next »