From 9b12b45aa5e67d4d422bf75a3879df1d52dbe67f Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 13 Jun 2017 15:35:01 +0200 Subject: 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 --- doc/gpg.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3