decryption failed: secret key not available

Hauke Laging mailinglisten at hauke-laging.de
Wed Jul 21 17:33:34 CEST 2010


Am Mittwoch 21 Juli 2010 17:22:28 schrieb Rahul R:
> Hi All,,
> 
> When I try to decrypt a file which was encrypted with my key by a vendor, I
> am getting an error as below.
> 
> -----------------------
> 
> gpg --yes --output 123.txt.out --decrypt 123.txt.out.pgp
> gpg: encrypted with 1024-bit ELG-E key, ID 424E35F0, created 2010-05-11
>       "TEST_ENV (For testing new test env) <testenv_gpg at ironmountain.com>"
> gpg: decryption failed: secret key not available
> 
> ------------------------
> 
> Can anyone shed some light on how to troubleshoot this?

The error message isn't hard to understand, is it?

"gpg --list-secret-keys" shows you the available secret keys of your gpg 
configuration. You need the key with the ID 424E35F0 which is obviously 
missing.

Under Linux:
gpg --list-secret-keys | grep -i eccb5814
sec#  1024D/0xECCB5814 2005-09-05

This is an examply with my key. "gpg --list-secret-keys | grep -i 424E35F0" 
probably does not deliver any content.

You need import the secret key 424E35F0.


Hauke
-- 
PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 555 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20100721/562bb15b/attachment.pgp>


More information about the Gnupg-users mailing list