mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Add option '--disable-dirmngr'.
* doc/gpg.texi: Document new option. * g10/call-dirmngr.c (create_context): Fail if option is given. * g10/gpg.c (cmd_and_opt_values): New value. (opts): New option. (gpgconf_list): Add new option. (main): Handle new option. * g10/options.h (struct opt): New field 'disable_dirmngr'. * tools/gpgconf-comp.c (gc_options_gpg): New option. GnuPG-bug-id: 3334 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
81074c3b02
commit
c4506f624e
5 changed files with 15 additions and 0 deletions
|
@ -759,6 +759,9 @@ static gc_option_t gc_options_gpg[] =
|
|||
NULL, NULL, GC_ARG_TYPE_NONE, GC_BACKEND_GPG },
|
||||
{ "no-auto-key-retrieve", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED,
|
||||
NULL, NULL, GC_ARG_TYPE_NONE, GC_BACKEND_GPG },
|
||||
{ "disable-dirmngr", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT,
|
||||
"gnupg", N_("disable all access to the dirmngr"),
|
||||
GC_ARG_TYPE_NONE, GC_BACKEND_GPG },
|
||||
|
||||
|
||||
GC_OPTION_NULL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue