diff options
author | Werner Koch <[email protected]> | 2014-11-12 08:56:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-11-12 08:56:40 +0000 |
commit | ffc2307843ce6c4ac3c8d99ba8c70ffa1ae28e39 (patch) | |
tree | b9af114e1f30a5b8adb3a650f0d6033817711e51 /doc/gpg.texi | |
parent | Remove use of gnulib (part 2) (diff) | |
download | gnupg-ffc2307843ce6c4ac3c8d99ba8c70ffa1ae28e39.tar.gz gnupg-ffc2307843ce6c4ac3c8d99ba8c70ffa1ae28e39.zip |
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
Diffstat (limited to '')
-rw-r--r-- | doc/gpg.texi | 9 |
1 files changed, 9 insertions, 0 deletions
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 |