Problem with the pgp to gpg key migration

vedaal at vedaal at
Tue May 10 22:00:25 CEST 2011

Pramod.R Pramod.R at 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 

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


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


More information about the Gnupg-users mailing list