Skip to content

Commit

Permalink
create_x509_type(): Add type: codeSign
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Oct 25, 2023
1 parent 607baaf commit 257af50
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -6028,6 +6028,15 @@ create_x509_type() {
keyUsage = cRLSign, keyCertSign
X509_TYPE_CA
;;
codeSign)
cat <<- "X509_CODE_SIGNING"
basicConstraints = CA:FALSE
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid,issuer:always
extendedKeyUsage = codeSigning
keyUsage = digitalSignature
X509_CODE_SIGNING
;;
*)
return 1
esac
Expand Down

0 comments on commit 257af50

Please sign in to comment.