Secret key not available

Mika Suomalainen mika.henrik.mainio at hotmail.com
Fri May 25 17:55:47 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 25.05.2012 16:39, DUELL, BOB wrote:
> Hi,
> 
> Couple quick questions (and probably a 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?

Yes, that or you don't have any private keys in your keyring.

> 2.  Assuming the above it "yes", is there a command I can use to 
> display what key(s) were used to encrypt the file?

I think that decrypting command should show it.

> This file is coming from a vendor who recently transferred some of
>  their operations to an "offshore" location and I'm dealing with 
> quite a communications delay with them.  They probably use 
> different keys to deliver files to different groups in my company, 
> but that's just a guess.
> 
> Thanks!
> 
> Bob


- -- 
[Mika Suomalainen](https://mkaysi.github.com/) ||
[gpg --keyserver pool.sks-keyservers.net --recv-keys
4DB53CFE82A46728](http://mkaysi.github.com/PGP/key.txt) ||
[Why do I sign my
emails?](http://mkaysi.github.com/PGP/WhyDoISignEmails.html) ||
[Please don't send
HTML.](http://mkaysi.github.com/articles/complaining/HTML.html) ||
[Please don't
toppost](http://mkaysi.github.com/articles/complaining/topposting.html) ||

[This signature](https://gist.github.com/2643070) ||
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPv6t/AAoJEE21PP6CpGco0W0QAKXZB1L8nZkv+paGBFMbLFXe
pSlA6x6FFkyHj3idZaagkeDbszevLTdEJN9cLoaOUMQQKZg8SYeN9lqiNJ9q3pYA
ac+AwOyW9f9g1qHoe6I3S5gwUjwRiNKbSv8qnCtXPE2OQ+jkZE6YS1AbiDN/n0uN
UfGKciJ5NTbzD8wfJW5ojSRE0vTtE0sfAUjaTCded/SNFGmrCyBLFFZn0YgA9SPK
q7rHlcNrJ+YFvsZARv/WKjG8IUJKQdGKpSwufriOofv8V8XZPN/kRk4LrRRhjP9t
JsTqZ/KyYopv/alcwa3PhZcUGaQP8oLU7G57hgpQ0I3fnOcWPEfMCbu3gKeveH0G
W7TlZ9jLiBhl5589ev8IEyzG9vdUylax7y93WuaK4em3/tRzbxKSR27i54i2gwxK
nPhdWhjsNAmkvZzL8WkHBonz8XrxoaiZ6BpaLJPVajb8a6FwyMknoMzk3crGpeHA
8czsVxDwaGr5LGUd22FsKBEvIp+ckVeUZ5Y3+cFJB5V16n1SqTSe6iLjQWapRVdT
fen6+vejleF0Dh1FQb/dGyobU2+7sD6VVkefwrbXeET4R1oB+eOpR+XcoDLB5TmC
9220g7NpP+OEIBKEHGqoib7HbcWei+8Ok238MKAeMuuwT4NZnfb51u8HvbM9j8n+
RV72G4lQk5oaMRzY5F4m
=vaST
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list