Home GnuPG
Diffusion GnuPG 95b42278cafe

gpg: New option --auto-key-import

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.

Backported from master.

  • GnuPG-bug-id: T4856
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details