GnuPG key export

Ryan Malayter rmalayter@bai.org
Mon Feb 4 17:20:02 2002


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

From: Johannes Posel [mailto:jposel@zedat.fu-berlin.de] 
Sent: Sunday, February 03, 2002 8:15 AM
Subject: GnuPG key export
>I've had troubles transferring a GPG key pair 
>to a PGP installation. What is required to export 
>both the public (this works) and the private key 
>(this doesn't work) in a format that can be 
>imported in PGP? Thanks for any tips. GPG used 
>is 1.0.6 on Win2K.

The problem is most likely the encryption algorithm used by GPG on
the private keys. I have always been able to export and import a
private key by removing the password from the private key, exporting
it with the --rfc1991 option on GPG into an asci file, then importing
it into PGP. Then you can re-apply your passphrase to both your GPG
and PGP keyrings.

An unencrypted private key is, of course, a security problem. Make
sure you shred your intermediate file with PGP's tools, and any of
the .bak files that the commercial PGP autmatically makes of your
secret keyring.

Regards,
	-ryan-

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.1

iQA/AwUBPF60JvcGYmR8l6LeEQI44QCg2WuHotWcVceA5eDJp4UPnOXIW9sAn3zv
Lek9CvWCRwkNUX6yR+oXNpQS
=75tr
-----END PGP SIGNATURE-----