aboutsummaryrefslogtreecommitdiffstats
path: root/g10/options.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-03-14 17:04:47 +0000
committerWerner Koch <[email protected]>2020-03-14 17:04:47 +0000
commit6b306f45f4fbe36b90cec4685aabb267a61e283f (patch)
treeb992ac17f33003c835cb0a69be9e3203177531fe /g10/options.h
parentgpg: Make use of the included key block in a signature. (diff)
downloadgnupg-6b306f45f4fbe36b90cec4685aabb267a61e283f.tar.gz
gnupg-6b306f45f4fbe36b90cec4685aabb267a61e283f.zip
gpg: New option --auto-key-import
* g10/gpg.c (opts): New options --auto-key-import, --no-auto-key-import, and --no-include-key-block. (gpgconf_list): Add them. * g10/options.h (opt): Add field flags.auto_key_import. * g10/mainproc.c (check_sig_and_print): Use flag to enable that feature. * tools/gpgconf-comp.c: Give the new options a Basic config level. -- Note that the --no variants of the options are intended for easy disabling at the command line. GnuPG-bug-id: 4856 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/options.h')
-rw-r--r--g10/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h
index d05164eac..bf1bb8f50 100644
--- a/g10/options.h
+++ b/g10/options.h
@@ -242,6 +242,7 @@ struct
unsigned int large_rsa:1;
unsigned int disable_signer_uid:1;
unsigned int include_key_block:1;
+ unsigned int auto_key_import:1;
/* Flag to enable experimental features from RFC4880bis. */
unsigned int rfc4880bis:1;
/* Hack: --output is not given but OUTFILE was temporary set to "-". */