diff options
author | Werner Koch <[email protected]> | 2016-12-16 15:02:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-12-16 15:05:02 +0000 |
commit | 48671f295ff233765689b6a73021f83ab845a28f (patch) | |
tree | 8b6dc67e3089b690b2932e96450c4a11ee6d5d91 | |
parent | gpgconf: New command --apply-profile. (diff) | |
download | gnupg-48671f295ff233765689b6a73021f83ab845a28f.tar.gz gnupg-48671f295ff233765689b6a73021f83ab845a28f.zip |
gpg,sm: A few more option for --gpgconf-list.
* g10/gpg.c (gpgconf_list): Add --compliance and
--default-new-key-algo.
(parse_compliance_option):
* sm/gpgsm.c (main) <gpgconf-list>: Add --enable-crl-checks.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/gpg.c | 2 | ||||
-rw-r--r-- | sm/gpgsm.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1844,6 +1844,8 @@ gpgconf_list (const char *configfile) es_printf ("log-file:%lu:\n", GC_OPT_FLAG_NONE); es_printf ("debug-level:%lu:\"none:\n", GC_OPT_FLAG_DEFAULT); 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); /* The next one is an info only item and should match the macros at the top of keygen.c */ diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 79508e626..e0ad3e350 100644 --- a/sm/gpgsm.c +++ b/sm/gpgsm.c @@ -1719,6 +1719,7 @@ main ( int argc, char **argv) es_printf ("debug-level:%lu:\"none:\n", GC_OPT_FLAG_DEFAULT); es_printf ("log-file:%lu:\n", GC_OPT_FLAG_NONE); es_printf ("disable-crl-checks:%lu:\n", GC_OPT_FLAG_NONE); + es_printf ("enable-crl-checks:%lu:\n", GC_OPT_FLAG_NONE); es_printf ("disable-trusted-cert-crl-check:%lu:\n", GC_OPT_FLAG_NONE); es_printf ("enable-ocsp:%lu:\n", GC_OPT_FLAG_NONE); es_printf ("include-certs:%lu:%d:\n", GC_OPT_FLAG_DEFAULT, |