22
7
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?
1What does
gpg --list-secret-keys 0x3662FD5E
print? – Jonas Schäfer – 2015-05-28T15:18:00.847No, it doesn't. Is there any way I can add it? – None – 2015-05-28T15:21:38.993
How did you obtain the private key? – Jonas Schäfer – 2015-05-28T15:36:52.197
What does this ID actually represent? – Nishant – 2018-08-01T16:17:14.237