mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Add sub-option ignore-attributes to --import-options.
* g10/options.h (IMPORT_IGNORE_ATTRIBUTES): New. * g10/import.c (parse_import_options): Add new sub-option. (read_block): Implement sub-option. -- Suggested-by: Robin H. Johnson Tested using the import-export feature: gpg --export KEY_WITH_PICTURE \ | gpg --import --import-options import-export,ignore-attributes \ | gpg --show-key
This commit is contained in:
parent
a227a0d54d
commit
d4976e35d2
3 changed files with 17 additions and 0 deletions
|
@ -406,6 +406,7 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
|
|||
#define IMPORT_COLLAPSE_UIDS (1<<15)
|
||||
#define IMPORT_COLLAPSE_SUBKEYS (1<<16)
|
||||
#define IMPORT_BULK (1<<17)
|
||||
#define IMPORT_IGNORE_ATTRIBUTES (1<<18)
|
||||
|
||||
#define EXPORT_LOCAL_SIGS (1<<0)
|
||||
#define EXPORT_ATTRIBUTES (1<<1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue