I'm trying to use camel-crypto to crypt and decrypt files with PGP.
Right now, I have the following in my XML DSL:
<pgp id="encrypt" keyFileName="party2public.pgp" keyUserid="party2"/>
<pgp id="decrypt" keyFileName="party2private.pgp"/>
The encryption does work, while the decryption throws an error:
org.bouncycastle.openpgp.PGPException: PGP message is encrypted with a key which could not be found in the Secret Keyring.
I created a repo with the files being used (camel context, PGP private and public keys), that can be viewed here: https://github.com/apoguy/Camel-PGP-Test