How to synchronize keyrings?

John Clizbe JPClizbe at
Mon Mar 14 10:57:51 CET 2005

Hash: SHA1

Martin Schoch wrote:
> Hello
>  Perhaps a strange question: How to synchronize public keys?
>  Background: I have GnuPG on a Windows and on a Linux system - on
>  both of course public keys. Sometimes I import (on both systems)
>  new keys.
>  Now I would have the same public keys on both systems?
>  I think I have to do it like this: On the Linux system (eg.) I
>  import the keys from the Windows system. Then I go back the Windows
>  system an import the updated key file form the Linux system.
>  But - is there any better and faster solution?

If the two systems are on one box ( a dual boot config) place the keyrings
on a common FAT/FAT32 partition.

Otherwise, you could binary transfer one system's pubring to file on the
other system, call it tempring.gpg and issue the comand:

   gpg --import-options allow-local-sigs --import tempring.gpg

Transfer the merged pubring to the original system and repeat the import.

Note: the the merged keyring should be able to be used directly on the
original system, just backup pubring.gpg before trying it.

You can also use --export-ownertrust and import-ownertrust to merge
trustdb files.

- --
John P. Clizbe                      Inet:   John (a)
You can't spell fiasco without SCO. PGP/GPG KeyID: 0x608D2A10
"what's the key to success?"        / "two words: good decisions."
"what's the key to good decisions?" /  "one word: experience."
"how do i get experience?"          / "two words: bad decisions."

"Just how do the residents of Haiku, Hawai'i hold conversations?"
Version: GnuPG v1.4.1rc2 (MingW32)
Comment: When cryptography is outlawed, b25seSBvdXRsYXdzIHdpbGwgdXNlIG
Comment: Be part of the £33t ECHELON -- Use Strong Encryption.
Comment: It's YOUR right - for the time being.
Comment: Using GnuPG with Mozilla -


More information about the Gnupg-devel mailing list