summaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-03-20 11:17:05 +0100
committerWerner Koch <wk@gnupg.org>2007-03-20 11:17:05 +0100
commit75f761e6ef107d5e6b2a31d3c12eb57ed3acd97a (patch)
treeb4cdcf699fb36fe9632f42ee67c7bc34e301d8ea /tools/gpgconf-comp.c
parentAllow setting of the passphrase encoding of pkcs#12 files. (diff)
downloadgnupg2-75f761e6ef107d5e6b2a31d3c12eb57ed3acd97a.tar.xz
gnupg2-75f761e6ef107d5e6b2a31d3c12eb57ed3acd97a.zip
Make gpgconf aware of --p12-charset.
Diffstat (limited to '')
-rw-r--r--tools/gpgconf-comp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 1eb6353fb..7bb92ebd9 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -665,6 +665,9 @@ static gc_option_t gc_options_gpgsm[] =
{ "prefer-system-dirmngr", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED,
"gnupg", "use system's dirmngr if available",
GC_ARG_TYPE_NONE, GC_BACKEND_GPGSM },
+ { "p12-charset", GC_OPT_FLAG_NONE, GC_LEVEL_ADVANCED,
+ "gnupg", N_("|NAME|use encoding NAME for PKCS#12 passphrases"),
+ GC_ARG_TYPE_STRING, GC_BACKEND_GPGSM },
{ "Debug",
GC_OPT_FLAG_GROUP, GC_LEVEL_ADVANCED,