openpgpjs/openpgpjs — pull request #63 by brianbloniarz (2013-02-13 07:18:44+00:00)
Title: Several bugfixes involving GnuPG interop

Sean, I tried implementing your suggestion, works great as far as I can see. I closed the existing pull requests and updated the patches, adding a new method openpgp_msg_publickey.getSubKeyAsKey and hooking that up. Thanks & let me know if you see anything further!

Original request:
Hi, I've been using openpgpjs to read files coming from GnuPG, and have found a few interoperability issues, this is a pull request which fixes a few small things.

First, it adds support for a GnuPG extension, for stripping primary key secrets (described here: http://www.gnupg.org/faq/GnuPG-FAQ.html#how-can-i-use-gnupg-in-an-automated-environment). It also fixes a bug I encountered with signature verification when CAST5 is being used as the cipher.

I'd appreciate any feedback, thanks!