aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-03-20 10:17:05 +0000
committerWerner Koch <[email protected]>2007-03-20 10:17:05 +0000
commit75f761e6ef107d5e6b2a31d3c12eb57ed3acd97a (patch)
treeb4cdcf699fb36fe9632f42ee67c7bc34e301d8ea /tools/gpgconf-comp.c
parentAllow setting of the passphrase encoding of pkcs#12 files. (diff)
downloadgnupg-75f761e6ef107d5e6b2a31d3c12eb57ed3acd97a.tar.gz
gnupg-75f761e6ef107d5e6b2a31d3c12eb57ed3acd97a.zip
Make gpgconf aware of --p12-charset.
Diffstat (limited to 'tools/gpgconf-comp.c')
-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,