Skip to content
Snippets Groups Projects
Unverified Commit 977e0b0f authored by nl6720's avatar nl6720
Browse files

Merge remote-tracking branch 'origin/merge-requests/353'

By Anton Hvornum
* origin/merge-requests/353:
  Ensured the correct CA key and CA certificate is used during signing process. It's been working based on default assumptions from the openssl configuration, but it's worth being explicit when doing these operations. Also removed a redundant -sha256

See merge request archlinux/archiso!353
parents 60a38f08 28becbfc
No related branches found
No related tags found
No related merge requests found
Pipeline #85363 passed
......@@ -241,7 +241,6 @@ create_ephemeral_codesigning_keys() {
# Create the Certificate Authority
openssl req \
-newkey rsa:4096 \
-sha256 \
-nodes \
-x509 \
-new \
......@@ -280,6 +279,8 @@ EOF
-days 2 \
-notext \
-md sha256 \
-keyfile "${ca_key}" \
-cert "${ca_cert}" \
-in "${codesigning_cert}.csr" \
-out "${codesigning_cert}"
......
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