summaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-01-24 18:23:02 +0100
committerWerner Koch <wk@gnupg.org>2024-01-24 18:26:01 +0100
commitd4976e35d2ca431b2a651aa11be8a4589c8dd39a (patch)
tree7b0e4d8566d734a274d13f006647c0f32c1ce32c /g10/options.h
parentpo: Update German translation. (diff)
downloadgnupg2-d4976e35d2ca431b2a651aa11be8a4589c8dd39a.tar.xz
gnupg2-d4976e35d2ca431b2a651aa11be8a4589c8dd39a.zip
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
Diffstat (limited to '')
-rw-r--r--g10/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index e0ee99533..146b78361 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -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)