From 653587cf60da9c1d2581b9968438aa5f1f349236 Mon Sep 17 00:00:00 2001 From: dkwo Date: Wed, 1 Nov 2023 16:16:16 -0400 Subject: [PATCH] keys.go: drop the keyUsage bitfield fixes https://github.com/Foxboron/sbctl/issues/102 --- keys.go | 1 - 1 file changed, 1 deletion(-) diff --git a/keys.go b/keys.go index ffc7858..61c2db6 100644 --- a/keys.go +++ b/keys.go @@ -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,