Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pull/255'
Browse files Browse the repository at this point in the history
* origin/pull/255:
  keys.go: drop the keyUsage bitfield
  • Loading branch information
Foxboron committed Nov 1, 2023
2 parents 241bc90 + 653587c commit 8d75e8f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ func CreateKey(name string) ([]byte, []byte, error) {
SignatureAlgorithm: x509.SHA256WithRSA,
NotBefore: time.Now(),
NotAfter: time.Now().AddDate(5, 0, 0),
KeyUsage: x509.KeyUsageDigitalSignature,
Subject: pkix.Name{
Country: []string{name},
CommonName: name,
Expand Down

0 comments on commit 8d75e8f

Please sign in to comment.