From ffc2307843ce6c4ac3c8d99ba8c70ffa1ae28e39 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 12 Nov 2014 09:56:40 +0100 Subject: gpg: Add import options "keep-ownertrust". * g10/options.h (IMPORT_KEEP_OWNERTTRUST): New. * g10/import.c (parse_import_options): Add "keep-ownertrust". (import_one): Act upon new option. -- This option is in particular useful to convert from a pubring.gpg to the new pubring.kbx in GnuPG 2.1 or vice versa: gpg1 --export | gpg2 --import-options keep-ownertrust --import --- doc/gpg.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/gpg.texi b/doc/gpg.texi index 1154cd913..499df8770 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -1991,6 +1991,15 @@ opposite meaning. The options are: generally useful unless a shared keyring scheme is being used. Defaults to no. + @item import-keep-ownertrust + Normally possible still existing ownertrust values of a key are + cleared if a key is imported. This is in general desirable so that + a formerly deleted key does not automatically gain an ownertrust + values merely due to import. On the other hand it is sometimes + necessary to re-import a trusted set of keys again but keeping + already assigned ownertrust values. This can be achived by using + this option. + @item repair-pks-subkey-bug During import, attempt to repair the damage caused by the PKS keyserver bug (pre version 0.9.6) that mangles keys with multiple subkeys. Note -- cgit v1.2.3