Getting GPG Decryption To Work In Java (Bouncy Castle)
let me start by saying I'm extremely new to all of this. What I am trying to do is to use gpg from within Java in order to decrypt an encrypted file. What I've done successfully: Had a colleague encrypt a file using my public key and his private key and successfully decrypted it. Went the other way Had another colleague try to decrypt a file that wasn't for him: fail (as expected) My key was generated like this... (gpg --version tells me I'm using 1.4.5 and I'm using Bouncy Castle 1.47) gpg --gen-ley Select option "DSA and Elgamal (default)" Fill in the other fields and generate a key. The