mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 <justus@g10code.com>
This commit is contained in:
parent
404fa8211b
commit
9b12b45aa5
4 changed files with 15 additions and 2 deletions
|
@ -2353,9 +2353,10 @@ main (int argc, char **argv)
|
|||
opt.max_cert_depth = 5;
|
||||
opt.escape_from = 1;
|
||||
opt.flags.require_cross_cert = 1;
|
||||
opt.import_options = 0;
|
||||
opt.import_options = IMPORT_REPAIR_KEYS;
|
||||
opt.export_options = EXPORT_ATTRIBUTES;
|
||||
opt.keyserver_options.import_options = IMPORT_REPAIR_PKS_SUBKEY_BUG;
|
||||
opt.keyserver_options.import_options = (IMPORT_REPAIR_KEYS
|
||||
| IMPORT_REPAIR_PKS_SUBKEY_BUG);
|
||||
opt.keyserver_options.export_options = EXPORT_ATTRIBUTES;
|
||||
opt.keyserver_options.options = KEYSERVER_HONOR_PKA_RECORD;
|
||||
opt.verify_options = (LIST_SHOW_UID_VALIDITY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue