PGP5 and v4 GPG keys

Hasnain Mujtaba hmujtaba at forumsys.com
Thu Oct 28 02:24:25 CEST 2004


Thanks for the response David. I am having some problems with v4 RSA
keys. I have an RSA keypair generated by an open source tool. I can load
it into GPG 1.2.4 using the command: gpg --allow-secret-key-import
--import. I can then use GPG to encrypt a file using the keypair. But
when I give GPG the encrypted file to decrypt, I see the following
message:

gpg: public key decryption failed: wrong secret key used
gpg: decryption failed: secret key not available.

The key pair is attached. The password is password. Would it be possible
for you to run an encrypt/decrypt test with this keypair to see if you
can reproduce this error? 

Thanks much.
Hasnain. 

-----Original Message-----
From: gnupg-users-bounces at gnupg.org
[mailto:gnupg-users-bounces at gnupg.org] On Behalf Of David Shaw
Sent: Wednesday, October 27, 2004 6:34 PM
To: gnupg-users at gnupg.org
Subject: Re: PGP5 and v4 GPG keys

On Wed, Oct 27, 2004 at 06:18:06PM -0400, Hasnain Mujtaba wrote:
> Hello,
> 
> I read in an old GPG archives message (dated 2000) that PGP5.x cannot
> encrypt a message using a GPG v4 public key. RFC2440 says something
> about PGP5 not being able to properly encrypt to RSA v4 keys. Are
these
> two issues related?
> 
> Can anyone shed light on this problem. Why is PGP 5 picky about RSA v4
> keys? 

PGP 5 predates OpenPGP, and as such is not OpenPGP compatible.  GnuPG
is OpenPGP.  It's a miracle they communicate at all.

David

_______________________________________________
Gnupg-users mailing list
Gnupg-users at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RSA-3-3-36.asc
Type: application/octet-stream
Size: 3002 bytes
Desc: RSA-3-3-36.asc
Url : /pipermail/attachments/20041027/62a3cd3a/RSA-3-3-36.exe


More information about the Gnupg-users mailing list