Instructions for converting keyring for 2.1

Peter Lebbing peter at
Sun Mar 29 19:36:02 CEST 2015

I just followed the instructions on [1] for converting your pubring.gpg to the
new keybox format. I discovered I needed --import-options import-local-sigs on
the import command to also import my local signatures, which obviously is very
desirable when converting your public keyring... it's a bit lossy otherwise :S.

Here's a diff for the gnupg-doc git:

diff --git a/web/faq/ b/web/faq/
index bc312da..1056dd0 100644
--- a/web/faq/
+++ b/web/faq/
@@ -561,7 +561,7 @@ then run import, and finally restore the ownertrust values:
 $ cd ~/.gnupg
 $ gpg --export-ownertrust >otrust.lst
 $ mv pubring.gpg publickeys
-$ gpg2 --import publickeys
+$ gpg2 --import-options import-local-sigs --import publickeys
 $ gpg2 --import-ownertrust otrust.lst




I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <>

More information about the Gnupg-users mailing list