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 --output encryptedfile.txt
All it says is: Reading passphrase from file descriptor 0 ...
And doesn't seem to be doing anything else. I can't tell if it's hanging or not. Is it a relatively quick process? The file is large ( about 2 GB ). Is the syntax for it correct?