mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpg,tools: Make trust-model configurable via gpgconf.
* g10/gpg.c (gpgconf_list): Add 'trust-model'. * tools/gpgconf-comp.c (gc_options_gpg): Likewise. GnuPG-bug-id: 2381 Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
7cc57e2c63
commit
ebeccd73eb
@ -1845,6 +1845,7 @@ gpgconf_list (const char *configfile)
|
||||
es_printf ("group:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
es_printf ("compliance:%lu:\"%s:\n", GC_OPT_FLAG_DEFAULT, "gnupg");
|
||||
es_printf ("default-new-key-algo:%lu:\n", GC_OPT_FLAG_NONE);
|
||||
es_printf ("trust-model:%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 */
|
||||
|
@ -717,6 +717,10 @@ static gc_option_t gc_options_gpg[] =
|
||||
(GC_OPT_FLAG_ARG_OPT|GC_OPT_FLAG_NO_CHANGE), GC_LEVEL_INVISIBLE,
|
||||
NULL, NULL,
|
||||
GC_ARG_TYPE_STRING, GC_BACKEND_GPG },
|
||||
{ "trust-model",
|
||||
GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE,
|
||||
NULL, NULL,
|
||||
GC_ARG_TYPE_STRING, GC_BACKEND_GPG },
|
||||
|
||||
|
||||
{ "Debug",
|
||||
|
Loading…
x
Reference in New Issue
Block a user