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

Request #20940 Determine algorithm used in signature
Submitted: 2015-08-20 13:09 UTC
From: cweiske Assigned: cweiske
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 : 37 - 21 = ?

 
 [2015-08-20 13:09 UTC] cweiske (Christian Weiske)
Description: ------------ To comply with RFC 2015/3156[1] I have to specify which signature algorithm was used in the "micalg" content-type parameter. Currently there is no way to extract this algorithm with Crypt_GPG. [1] https://tools.ietf.org/html/rfc3156

Comments

 [2015-08-20 13:19 UTC] cweiske (Christian Weiske)
You get the algorithm used when signing by using the --verbose parameter: $ echo foo | LC_ALL=C gpg --detach-sign --armor --verbose gpg: using PGP trust model ... 4096-bit RSA key, ID 3168704D, created 2014-07-23 gpg: writing to stdout gpg: RSA/SHA1 signature from: "3168704D Christian Weiske..." -----BEGIN PGP SIGNATURE-----
 [2015-08-21 02:10 UTC] cweiske (Christian Weiske)
 [2015-09-13 16:18 UTC] alec (Aleksander Machniak)
-Status: Open +Status: Closed -Assigned To: +Assigned To: alec
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.
 [2015-09-14 02:15 UTC] cweiske (Christian Weiske)
-Assigned To: alec +Assigned To: cweiske