Importing GnuPG private key into PGP?

Todd L. Brooks todd.brooks@yale.edu
Wed, 8 Sep 1999 14:35:55 -0400 (EDT)


By default, I think GnuPG encrypts your secret key using the Blowfish
symmetric algorithm. PGP will only understand 3DES, CAST5, or IDEA
symmetric algorithms. The following method works for me:

$ gpg --s2k-cipher-algo=CAST5 --s2k-digest-algo=SHA1 --compress-algo=1 \
 --edit-key username

then use passwd to change the password (just change it to the same thing,
but it will encrypt the key with CAST5 this time).

Now you can export it and PGP should be able to handle it. -Todd

---------------------------------------
Todd L. Brooks
Department of Mechanical Engineering
Yale University
9 Hillhouse Avenue
PO BOX 208286
New Haven, CT 06520-8286
(203) 432-4362 (office and voice mail)
(203) 432-4363 (acoustics lab)
(203) 432-7654 (FAX)