mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
|
@ -346,6 +346,7 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
|
|||
#define IMPORT_KEEP_OWNERTTRUST (1<<8)
|
||||
#define IMPORT_EXPORT (1<<9)
|
||||
#define IMPORT_RESTORE (1<<10)
|
||||
#define IMPORT_REPAIR_KEYS (1<<11)
|
||||
|
||||
#define EXPORT_LOCAL_SIGS (1<<0)
|
||||
#define EXPORT_ATTRIBUTES (1<<1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue