mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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
This commit is contained in:
parent
b8cdfac353
commit
ffc2307843
3 changed files with 22 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue