I am trying to decrypt a file with GnuPG, but when using the command below:
gpg --decrypt filename.gpg
I get the following message:
gpg: encrypted with RSA key, ID 3662FD5E
gpg: decryption failed: No secret key
I already have the private key with which the file has been encrypted, but I am not sure how can I specify it. Is there any option I can include when doing the decryption to point to this key?
gpg --list-secret-keys 0x3662FD5E
print?