Diffusion GnuPG 6b306f45f4fb

gpg: New option --auto-key-import

Authored by werner on Sat, Mar 14, 6:04 PM.

Description

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: T4856
  • Signed-off-by: Werner Koch <wk@gnupg.org>