mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpgconf: Make WoT settings configurable by gpgconf.
* tools/gpgconf-comp.c (gc_options_gpg): Add max-cert-depth, completes-needed, and marginals-needed options. * g10/gpg.c (gpgconf_list): Likewise. -- Some tests to come for the PGP trust model will need to manipulate these parameters. Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
This commit is contained in:
parent
6e596b2a74
commit
0161225457
2 changed files with 15 additions and 0 deletions
|
@ -762,6 +762,18 @@ static gc_option_t gc_options_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 },
|
||||
{ "max-cert-depth",
|
||||
GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE,
|
||||
NULL, NULL,
|
||||
GC_ARG_TYPE_UINT32, GC_BACKEND_GPG },
|
||||
{ "completes-needed",
|
||||
GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE,
|
||||
NULL, NULL,
|
||||
GC_ARG_TYPE_UINT32, GC_BACKEND_GPG },
|
||||
{ "marginals-needed",
|
||||
GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE,
|
||||
NULL, NULL,
|
||||
GC_ARG_TYPE_UINT32, GC_BACKEND_GPG },
|
||||
|
||||
|
||||
GC_OPTION_NULL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue