decryption failed: secret key not available

Jacques Dejean jacdej@aent.com
Tue Apr 22 17:05:01 2003


Hello,

In my attempts to decrypt a file generated from Win2000 GNU PGP on an HPUX
11.11 server running GNU PGP v1.2.1, I get the following error -
============================================================================
======================
# echo '$PGPPASS' | gpg -v -v --passphrase-fd 0 --no-default-keyring -r
Comme>
Reading passphrase from file descriptor 0    
:marker packet:
 50 47 50
:pubkey enc packet: version 3, algo 16, keyid 58DF43AC123ABC4D
        data: [2047 bits]
        data: [2047 bits]
gpg: public key is 123ABC4D
gpg: using secondary key 123ABC4D instead of primary key D5E55555

You need a passphrase to unlock the secret key for
user: "Jacques Victor Dejean <jacdej@aent.com>"
gpg: using secondary key 123ABC4D instead of primary key D5E55555
2048-bit ELG-E key, ID 123ABC4D, created 2001-09-11 (main key ID D5E55555)

:encrypted data packet:
        length: 1135
gpg: encrypted with 2048-bit ELG-E key, ID 123ABC4D, created 2001-09-11
      "Jacques Victor Dejean <jacdej@aent.com>"
gpg: public key decryption failed: bad passphrase
gpg: decryption failed: secret key not available
============================================================================
======================

>From perusing the mailing lists archives, I noticed that several have had
this problem -- On a unix server, decrypting a file which was encrypted on
an NT server running GNU PGP.  However, I don't see any posted solution.

I have exported, re-imported both public and secret keys; I have set 'trust'
to ultimate; and 'lsign' the public key from the customer running GPG on NT.

Thanks for your help,

Jacques V. Dejean
Lead Systems Administrator
Alliance Entertainment 
(v) 954-255-4344