Re: Decrypting openpgp data created by gpg
Peter Gutmann <[email protected]> Mon, 25 Feb 2013 15:47:52 +1300
| Newsgroups | gmane.comp.encryption.cryptlib |
|---|---|
| Message-ID | <[email protected]> |
Lahiru Dissanayake <[email protected]> writes: >Are you sure this works? Because the line >{ CRYPT_ENVINFO_PRIVATEKEY, formatAll, ACTION_CRYPT, MESSAGE_CHECK_PKC_DECRYPT, 0 }, >fixed the error, but the new one >{ CRYPT_ENVINFO_PRIVATEKEY, formatAllDeenv, ACTION_CRYPT, MESSAGE_CHECK_PKC_DECRYPT, ENVELOPE_ISDEENVELOPE }, >brought it back. Ah, you also need to change formatAllDeenv to: static const CRYPT_FORMAT_TYPE formatAllDeenv[] = { CRYPT_FORMAT_AUTO, CRYPT_FORMAT_CMS, CRYPT_FORMAT_PGP, CRYPT_FORMAT_NONE, CRYPT_FORMAT_NONE }; but then there are changes elsewhere as well... for now just leave it at formatAll and it should work, the next release will contain the full set of changes. Peter. _______________________________________________ Cryptlib mailing list [email protected] via Mail: [email protected] Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/ http://news.gmane.org/gmane.comp.encryption.cryptlib Posts from non-subscribed addresses are blocked to prevent spam, please subscribe in order to post messages.