Search code examples
bouncycastlepgp

encrypt with BC and decrypt with pgp 6.5.8


I am trying to encrypt with BC and decrypt with pgp 6.5.8 .

The encryption aspect of it works and i am able to decrypt i pgp 6.5.8 . But pgp 6.5.8 complains the signature is bad. Can anyone help me with this ?

Thanks


Solution

  • The reason why it did not work because I needed to construct the signature using RFC 4880 Version 3 signature, I did it using Version 4.