Hi,

I'm using camel ver 2.14.0. I'm successfully able to decrypt a file using
pgp() function when I encrypt a csv file using gpg tool. However, I'm not
able to decrypt a file using pgp() function when I encrypt a gzip file using
gpg tool. I tried setting compression level in PGPFormat object as well as
when encrypting using gpg tool. However, what I found was that the pgp
component completely ignores the compression level and throws invalid format
error.

Steps to reproduce:
1. gzip a csv or txt file using gzip tool (on mac osx)
2. Use gpg tool to encrypt this gzip file.
3. Use gpg tool to decrypt the generated pgp file to verify that encryption
and decryption works well with gpg tool.
4. Use the same pgp file to decrypt thru the application which uses camel
pgp component. You'll see invalid format exception.

Let me know if any one has encountered this issue or do I need to set any
other parameter to decrypt an gzip file.

Thanks,



--
View this message in context: 
http://camel.465427.n5.nabble.com/PGP-decryption-cannot-decrypt-gzip-file-tp5759487.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to