decryption failed: secret key not available

Joke de Buhr joke at
Wed Jul 21 17:42:12 CEST 2010

On Wednesday 21 July 2010 17:22:28 Rahul R wrote:
> 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>"
> gpg: decryption failed: secret key not available
> ------------------------
> Can anyone shed some light on how to troubleshoot this?

Obviously you don't have the secret key to key 424E35F0. Are you sure it's 
your key. Your secret keys are listed by running
    gpg -K
Check if the IDs match.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 706 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20100721/f6f159de/attachment.pgp>

More information about the Gnupg-users mailing list