gpgsm: Allow arbitrary extensions for cert creation.
authorWerner Koch <wk@gnupg.org>
Tue, 6 Dec 2011 18:57:27 +0000 (19:57 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 6 Dec 2011 18:57:27 +0000 (19:57 +0100)
commit5cdad8ff000152b4bd01953646bb87fe8703c70d
tree8d85162a1ae7378430685cca5609141e77a0b74c
parent3f284e40502d8181b0b3ea66c77cd7c1252ea781
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".
doc/DETAILS
doc/gpgsm.texi
sm/certreqgen.c
sm/keylist.c