Skip to content
Snippets Groups Projects
Unverified Commit cae63bd4 authored by asraa's avatar asraa Committed by GitHub
Browse files

update key usage for ts cert (#504)


Signed-off-by: default avatarAsra Ali <asraa@google.com>
parent c9dcddce
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ func NewTimestampingCertWithChain(ctx context.Context, pub crypto.PublicKey, sig
NotAfter: time.Now().AddDate(10, 0, 0),
SubjectKeyId: []byte{1, 2, 3, 4, 6},
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageTimeStamping},
KeyUsage: x509.KeyUsageContentCommitment,
KeyUsage: x509.KeyUsageDigitalSignature,
IsCA: false,
ExtraExtensions: []pkix.Extension{
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment