mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpgsm: Create ECC certificates with AKI and SKI by default.
* sm/certreqgen.c (create_request): Create AKI and SKI by default.
--
GnuPG-bug-id: 4098, 6253
Signed-off-by: Werner Koch <wk@gnupg.org>
Backported-from-master: 44676819f2
This commit is contained in:
parent
9f1181e1a7
commit
ed62b74a17
2 changed files with 163 additions and 34 deletions
|
@ -1140,10 +1140,12 @@ General Parameters:
|
|||
@item Key-Type: @var{algo}
|
||||
Starts a new parameter block by giving the type of the primary
|
||||
key. The algorithm must be capable of signing. This is a required
|
||||
parameter. The only supported value for @var{algo} is @samp{rsa}.
|
||||
parameter. The supported values for @var{algo} are @samp{rsa},
|
||||
@samp{ecdsa}, and @samp{eddsa}.
|
||||
|
||||
@item Key-Length: @var{nbits}
|
||||
The requested length of a generated key in bits. Defaults to 3072.
|
||||
The requested length of a generated key in bits. Defaults to
|
||||
3072. The value is ignored for ECC algorithms.
|
||||
|
||||
@item Key-Grip: @var{hexstring}
|
||||
This is optional and used to generate a CSR or certificate for an
|
||||
|
@ -1216,6 +1218,20 @@ algorithms are: @samp{sha1}, @samp{sha256}, @samp{sha384} and
|
|||
@samp{sha512}; they may also be specified with uppercase letters. The
|
||||
default is @samp{sha256}.
|
||||
|
||||
@item Authority-Key-Id: @var{hexstring}
|
||||
Insert the decoded value of @var{hexstring} as authorityKeyIdentifier.
|
||||
If this is not given and an ECC algorithm is used the public part of
|
||||
the certified public key is used as authorityKeyIdentifier. To
|
||||
inhibit any authorityKeyIdentifier use the special value @code{none}
|
||||
for @var{hexstring}.
|
||||
|
||||
@item Subject-Key-Id: @var{hexstring}
|
||||
Insert the decoded value of @var{hexstring} as subjectKeyIdentifier.
|
||||
If this is not given and an ECC algorithm is used the public part of
|
||||
the signing key is used as authorityKeyIdentifier. To inhibit any
|
||||
subjectKeyIdentifier use the special value @code{none} for
|
||||
@var{hexstring}.
|
||||
|
||||
@end table
|
||||
|
||||
@c *******************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue