aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-22 18:41:44 +0000
committerWerner Koch <[email protected]>2021-03-22 18:41:44 +0000
commit1f5f08376d0f9fb844581e2111f406394462cb9a (patch)
treefd977efdfe8b7eaeac74c8b4e860ff51669b2549
parentkbxd: Group the options. (diff)
downloadgnupg-1f5f08376d0f9fb844581e2111f406394462cb9a.tar.gz
gnupg-1f5f08376d0f9fb844581e2111f406394462cb9a.zip
gpgconf: Support use-keyboxd.
-- We flag this option as invisible so that it does not show up in a GUI but it will be possible to grep for the option.
-rw-r--r--tools/gpgconf-comp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 8ac7b4e29..579161f8e 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -419,10 +419,13 @@ static known_option_t known_options_gpg[] =
{ "completes-needed", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
{ "marginals-needed", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
+ { "use-keyboxd", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
+
/* The next is a pseudo option which we read via --gpgconf-list */
{ "default_pubkey_algo",
(GC_OPT_FLAG_ARG_OPT|GC_OPT_FLAG_NO_CHANGE), GC_LEVEL_INVISIBLE },
+
{ NULL }
};
@@ -453,6 +456,8 @@ static known_option_t known_options_gpgsm[] =
{ "cipher-algo", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED },
{ "disable-trusted-cert-crl-check", GC_OPT_FLAG_NONE, GC_LEVEL_EXPERT },
+ { "use-keyboxd", GC_OPT_FLAG_NONE, GC_LEVEL_INVISIBLE },
+
/* Pseudo option follows. */
{ "default_pubkey_algo",
(GC_OPT_FLAG_ARG_OPT|GC_OPT_FLAG_NO_CHANGE), GC_LEVEL_INVISIBLE },