PGP Command Line Decryption --- How to decrypt file?
- by whitman6732
I was sent a public key in order to decrypt a pgp-encrypted file. I imported the key with:
gpg --import publickey.asc
And verified it with
gpg --list-keys
Now, I'm trying to decrypt the file. I put the passphrase in a file called pass.txt and ran this at the command line:
gpg --passphrase-fd ../../pass.txt --decrypt encryptedfile.txt.pgp…