Re: Decrypting openpgp data created by gpg

Peter Gutmann <[email protected]> Thu, 28 Feb 2013 23:28:36 +1300
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Lahiru Dissanayake <[email protected]> writes:

>I need to use nested enveloping to encrypt a compressed envelope (and set the
>CRYPT_ENVINFO_CONTENTTYPE attribute of the encrypting envelope to
>CRYPT_CONTENT_COMPRESSEDDATA in the process). However when I decrypt such an
>encrypted envelope (which contains compressed data), the content type I get
>back from the envelope is CRYPT_CONTENT_DATA instead of
>CRYPT_CONTENT_COMPRESSEDDATA. Again, this works properly when the envelope
>type is set to CRYPT_FORMAT_CRYPTLIB.
>
>I think this is a problem in the enveloping step (as opposed to the de-
>enveloping step), as I have successfully de-enveloped PGP messages with the
>same structure that were created by a different program (for example, when
>solving the original problem I had).

Can you send me the code that you're using to do this?

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.