Problem with the pgp to gpg key migration

vedaal at nym.hush.com vedaal at nym.hush.com
Tue May 10 22:00:25 CEST 2011


Pramod.R Pramod.R at target.com wrote on
Mon May 9 14:43:06 CEST 2011 :

>1)      Tried exporting the private and the public key from pgp 
using the commands:
pgp -kx " " pubkey.pgp
pgp -kx " " sec.pgp ~/.pgp/secring.skr

-----

remembered the workaround:

[1] copy secring.skr to a different location
[2] confirm that it is openable by the following command:

pgp -kv (pathway to new location)secring.skr 


if pgp lists the secret keys, then do the following:

pgp -kxa keyname exportfilename.asc (pathway to new 
location)secring.skr

the resulting file, exportfilename.asc,  will have both the private 
and public pgp keyblocks


n.b.

if these are RSA keys, then you either need the IDEA module in 
gnupg, or need to first remove the passphrase and then export the 
key from pgp and then import then into gnupg


vedaal




More information about the Gnupg-users mailing list