Secret key not available
mailinglisten at hauke-laging.de
Fri May 25 15:59:29 CEST 2012
Am Fr 25.05.2012, 13:39:27 schrieb DUELL, BOB:
> Couple quick questions (and probably a FAQ):
You need the link to the FAQ?
> 1. Attempting to decrypt a file that was sent to me by someone else,
> I get this message:
> gpg: decryption failed: secret key not available
> Could that mean the file was not encrypted with my public key?
> 2. Assuming the above it "yes", is there a command I can use to
> display what key(s) were used to encrypt the file?
When I try to decrypt such a file then this happens:
start cmd:> LC_ALL=C gpg --decrypt --output /dev/null \
gpg: encrypted with 2048-bit RSA key, ID 0x12345678, created 2012-05-22
"foo bar <foo at bar.net>"
gpg: decryption failed: No secret key
So it has obviously been encrypted for key 0x12345678.
PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 555 bytes
Desc: This is a digitally signed message part.
More information about the Gnupg-users