diff options
author | Damien Goutte-Gattat <[email protected]> | 2017-08-21 14:48:11 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-08-21 14:50:01 +0000 |
commit | 0161225457e0609509d0d5f4b80a60a1071b4b48 (patch) | |
tree | 88451e7f67157a0f1428254c916e876102087175 /g10/gpg.c | |
parent | gpgscm: Fix -Wimplicit-fallthrough warnings. (diff) | |
download | gnupg-0161225457e0609509d0d5f4b80a60a1071b4b48.tar.gz gnupg-0161225457e0609509d0d5f4b80a60a1071b4b48.zip |
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/gpg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1860,6 +1860,9 @@ gpgconf_list (const char *configfile) es_printf ("default-new-key-algo:%lu:\n", GC_OPT_FLAG_NONE); es_printf ("trust-model:%lu:\n", GC_OPT_FLAG_NONE); es_printf ("disable-dirmngr:%lu:\n", GC_OPT_FLAG_NONE); + es_printf ("max-cert-depth:%lu:\n", GC_OPT_FLAG_NONE); + es_printf ("completes-needed:%lu:\n", GC_OPT_FLAG_NONE); + es_printf ("marginals-needed:%lu:\n", GC_OPT_FLAG_NONE); /* The next one is an info only item and should match the macros at the top of keygen.c */ |