aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-06-13 13:35:01 +0000
committerJustus Winter <[email protected]>2017-06-14 07:36:28 +0000
commit9b12b45aa5e67d4d422bf75a3879df1d52dbe67f (patch)
treedb1933787e95085e1dd9457311106fe6f2d2a919 /doc
parentgpg: Refactor key checking and fixing. (diff)
downloadgnupg-9b12b45aa5e67d4d422bf75a3879df1d52dbe67f.tar.gz
gnupg-9b12b45aa5e67d4d422bf75a3879df1d52dbe67f.zip
gpg: Check and fix keys on import.
* doc/gpg.texi: Document the new import option. * g10/gpg.c (main): Make the new option default to yes. * g10/import.c (parse_import_options): Parse the new option. (import_one): Act on the new option. * g10/options.h (IMPORT_REPAIR_KEYS): New macro. GnuPG-bug-id: 2236 Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index c128254c6..1933ad894 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2304,6 +2304,10 @@ opposite meaning. The options are:
on the keyring. This option is the same as running the @option{--edit-key}
command "clean" after import. Defaults to no.
+ @item repair-keys. After import, fix various problems with the
+ keys. For example, this reorders signatures, and strips duplicate
+ signatures. Defaults to yes.
+
@item import-minimal
Import the smallest key possible. This removes all signatures except
the most recent self-signature on each user ID. This option is the