Question regarding the migration of the pgp keyring to gpg

John Clizbe John at
Fri Apr 15 15:57:18 CEST 2011

Pramod.R wrote:
> Hi,
> We are migrating from pgp 6.5.8 to gpg 1.4.11. I  had a question
> regarding the migration of the public keys and the private keys:
> Is there a way where I could migrate the entire key ring at one go? I’m
> currently extracting my keys from pgp using the pgp –dx <key-id> command
> and then importing each of these into the gpg. Is there one single
> command which would help me migrate the entire key ring at once?

(*This will change in future versions,  i.e., GnuPG 2.1 *)

Import the keyring files in their entirety:

    gpg --import /path/to/secring.pgp

    gpg --import-options import-local-sigs --import /path/to/pubring.pgp

You may omit '--import-options import-local-sigs' if local signatures haven't
been used when signing keys.

Because PGP and GnuPG store trust differently, you will need to use
'gpg --edit-key <keyID> trust' to set your key pairs (you have both pub & sec
parts) to what GnuPG calls Ultimate trust (PGP calls this Implicit trust).

Run 'gpg --check-trustdb' after setting the trust values.

John P. Clizbe                      Inet:John (a)
FSF Assoc #995 / FSFE Fellow #1797  hkp://  or
     mailto:pgp-public-keys at

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 886 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20110415/ff1b54d5/attachment.pgp>

More information about the Gnupg-users mailing list