Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ jobs:
printf '%s\n' "$OTA_SIGNING_CERT_PEM" > keys/dev/dev-signing.cert.pem
printf '%s\n' "$OTA_SIGNING_KEY_PEM" > keys/dev/dev-signing.key.pem
# Fails here, not an hour into the build, if a secret holds something other than the pair.
openssl verify -CAfile keys/dev/dev-ca.cert.pem -purpose codesign keys/dev/dev-signing.cert.pem
# No `-purpose codesign`: the openssl on ubuntu-24.04 (3.0) has no such purpose name.
openssl verify -CAfile keys/dev/dev-ca.cert.pem keys/dev/dev-signing.cert.pem
openssl x509 -in keys/dev/dev-signing.cert.pem -noout -ext extendedKeyUsage | grep -q 'Code Signing'
test "$(openssl x509 -in keys/dev/dev-signing.cert.pem -noout -pubkey)" \
= "$(openssl pkey -in keys/dev/dev-signing.key.pem -pubout)"

Expand Down