Cannot decrypt with PGP 7.0.3 using PnuPG private key.

David Shaw dshaw at jabberwocky.com
Thu Jan 29 09:13:29 CET 2004


On Thu, Jan 29, 2004 at 02:04:39PM +0100, lou123 at netadvies.nl wrote:
> Hello,
> 
> I am using GnuPG version 1.2.4 on Windows to encrypt logs. I also
> need to use the keypair that I generated with GnuPG in PGP 7.0.3. I
> successfully imported the private key into PGP.
> 
> However, if I try to decrypt a file that I have encrypted with
> GnuPG, it does not work. I was reading that PGP does not support
> ElGamal, but I cannot find any switch that allows me to create a
> keypair based on another algorithm.

It isn't the algorithm.  PGP 7 uses a older method to protect the
secret key.  Do this:

 gpg --simple-sk-checksum --edit-key (yourkey)
 passwd (change the password - you can change it back to the same
	 thing if you like)
 save

Now export the secret key again and import it into PGP.

David



More information about the Gnupg-users mailing list