mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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".
This commit is contained in:
parent
3f284e4050
commit
5cdad8ff00
4 changed files with 187 additions and 5 deletions
|
@ -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" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue