Skip to content

Commit

Permalink
update key usage for ts cert (#504)
Browse files Browse the repository at this point in the history
Signed-off-by: Asra Ali <[email protected]>
  • Loading branch information
asraa authored Nov 22, 2021
1 parent c9dcddc commit cae63bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/signer/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
{
Expand Down

0 comments on commit cae63bd

Please sign in to comment.