aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keylist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-12-06 18:57:27 +0000
committerWerner Koch <[email protected]>2011-12-06 18:57:27 +0000
commit5cdad8ff000152b4bd01953646bb87fe8703c70d (patch)
tree8d85162a1ae7378430685cca5609141e77a0b74c /sm/keylist.c
parentgpgsm: Fix storing of the serial number (diff)
downloadgnupg-5cdad8ff000152b4bd01953646bb87fe8703c70d.tar.gz
gnupg-5cdad8ff000152b4bd01953646bb87fe8703c70d.zip
gpgsm: Allow arbitrary extensions for cert creation.
* sm/certreqgen.c (pSUBJKEYID, pEXTENSION): New. (read_parameters): Add new keywords. (proc_parameters): Check values of new keywords. (create_request): Add SubjectKeyId and extensions. (parse_parameter_usage): Support "cert" and the encrypt alias "encr".
Diffstat (limited to 'sm/keylist.c')
-rw-r--r--sm/keylist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/keylist.c b/sm/keylist.c
index e67c2d8d3..a5023601f 100644
--- a/sm/keylist.c
+++ b/sm/keylist.c
@@ -187,6 +187,7 @@ static struct
/* GnuPG extensions */
{ "1.3.6.1.4.1.11591.2.1.1", "pkaAddress" },
{ "1.3.6.1.4.1.11591.2.2.1", "standaloneCertificate" },
+ { "1.3.6.1.4.1.11591.2.2.2", "wellKnownPrivateKey" },
/* Extensions used by the Bundesnetzagentur. */
{ "1.3.6.1.4.1.8301.3.5", "validityModel" },