Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.9

Request #17808 Key ID in signature object
Submitted: 2010-08-24 20:57 UTC
From: alec Assigned: gauthierm
Status: Closed Package: Crypt_GPG (version SVN)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 21 + 42 = ?

 
 [2010-08-24 20:57 UTC] alec (Aleksander Machniak)
Description: ------------ Crypt_GPG_Signature contains $_keyFingerprint data when verification was successfull. When it fails it's not possible to get key fingerprint, but it's possible to get key ID from parsed result. Sample gpg response: STATUS: BADSIG 8567450989F3D021 Name <mail@domain.tld> It would be nice to have $_keyID property in Crypt_GPG_Signature (which can be set on BADSIG and GOODSIG too), including getter/setter methods.

Comments

 [2010-08-25 18:16 UTC] gauthierm (Michael Gauthier)
getKeyId() was added to Crypt_GPG_Signature in revision 302773. http://svn.php.net/viewvc?view=revision&revision=302773
 [2010-08-25 23:47 UTC] gauthierm (Michael Gauthier)
-Status: Open +Status: Closed -Assigned To: +Assigned To: gauthierm
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Added in revision 302781. http://svn.php.net/viewvc?view=revision&revision=302781