Instructions for converting keyring for 2.1

Peter Lebbing peter at digitalbrains.com
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/whats-new-in-2.1.org b/web/faq/whats-new-in-2.1.org
index bc312da..1056dd0 100644
--- a/web/faq/whats-new-in-2.1.org
+++ b/web/faq/whats-new-in-2.1.org
@@ -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
 #+end_example

HTH,

Peter.

[1] https://www.gnupg.org/faq/whats-new-in-2.1.html#keybox

-- 
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 <http://digitalbrains.com/2012/openpgp-key-peter>



More information about the Gnupg-users mailing list