aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-04-03 14:52:37 +0000
committerWerner Koch <[email protected]>2017-04-03 14:54:43 +0000
commitd23052b04ebb0ac731aa351650c4084f080c640b (patch)
treed0a8cbe5a96f1366e8a56af7f2169ad4a5b940c4
parentgpgscm: Slightly improve the procedure dispatch. (diff)
downloadgnupg-d23052b04ebb0ac731aa351650c4084f080c640b.tar.gz
gnupg-d23052b04ebb0ac731aa351650c4084f080c640b.zip
gpgconf: Add --enable-extended-key-format for the agent.
* tools/gpgconf-conf.c: Add option. * agent/gpg-agent.c (main) <aGPGConfList>: Add option. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--agent/gpg-agent.c2
-rw-r--r--tools/gpgconf-comp.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 49b10c1ef..e23f43858 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1378,6 +1378,8 @@ main (int argc, char **argv )
GC_OPT_FLAG_NONE|GC_OPT_FLAG_RUNTIME);
es_printf ("pinentry-timeout:%lu:0:\n",
GC_OPT_FLAG_DEFAULT|GC_OPT_FLAG_RUNTIME);
+ es_printf ("enable-extended-key-format:%lu:\n",
+ GC_OPT_FLAG_NONE|GC_OPT_FLAG_RUNTIME);
agent_exit (0);
}
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 105521281..0ef3cb434 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -503,6 +503,9 @@ static gc_option_t gc_options_gpg_agent[] =
{ "enable-putty-support", GC_OPT_FLAG_NONE, GC_LEVEL_BASIC,
"gnupg", "enable putty support",
GC_ARG_TYPE_NONE, GC_BACKEND_GPG_AGENT },
+ { "enable-extended-key-format", GC_OPT_FLAG_RUNTIME, GC_LEVEL_INVISIBLE,
+ NULL, NULL,
+ GC_ARG_TYPE_NONE, GC_BACKEND_GPG_AGENT },
{ "Debug",
GC_OPT_FLAG_GROUP, GC_LEVEL_ADVANCED,