PGP 7.1 Decryption failed bad key

David Lee deleemo at yahoo.com
Fri Feb 4 19:43:43 CET 2005


Created new key pair in 1.4. Exported the public key
to pgp 7.1. It now works. 

pubkey enc packet: version 3, algo 16, 
       data: [2048 bits]
       data: [2048 bits]
Why does pgp 7.1 not work with the old public key?
 
Looking for help with additional directions to solve
this problem. Using gnupg 1.4. 
exported keys from old keyring imported into 1.4
keyring. Old version 1.0.3
looked on gnupg-users for anything related, did not
find any particular solution. 
I have other customers that use pgp that I am not
having a problem with even with 1.0.3
Is it possible that the character set is an issue. My
software is running under hpux11.
Any ideas would be greatly appreciated. The other
party also indicated that they encrypt files that are
used by their customers running gunpg. Don't
particularly want to create a new secret and public
key for
these guys but will if that is the solution.

311 /transapps/adi/gpg>  gpg -v -v -v --decrypt
Testfile.pgp                           
gpg: using character set `utf-8'
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more
information
gpg: armor: BEGIN PGP MESSAGE
gpg: armor header: Version: PGP 7.1
:marker packet:
 50 47 50
:pubkey enc packet: version 3, algo 16, keyid
XXXXXXXXXXXXX
        data: [1024 bits]
        data: [1024 bits]
gpg: public key is XXXXXXX
gpg: using secondary key  XXXXXXX instead of primary
key  XXXXXXX

You need a passphrase to unlock the secret key for
user: "ediup101 (Transentric Public Key for GTE)
<transedi at transentric.com>"
gpg: using secondary key  XXXXXXX instead of primary
key  XXXXXXX
1024-bit ELG-E key, ID  XXXXXXX, created 2000-10-16
(main key ID  XXXXXXX)

gpg: public key encrypted data: good DEK
:encrypted data packet:
        length: 632
gpg: encrypted with 1024-bit ELG-E key, ID  XXXXXXX,
created 2000-10-16
      "ediup101 (Transentric Public Key for GTE)
<transedi at transentric.com>"
gpg: TWOFISH encrypted data
gpg: decryption failed: bad key


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250



More information about the Gnupg-users mailing list