Diffusion GnuPG 9b12b45aa5e6

gpg: Check and fix keys on import.

Authored by justus on Jun 13 2017, 3:35 PM.

Description

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: T2236
  • Signed-off-by: Justus Winter <justus@g10code.com>