fix: use jsign 7.1 for Azure Trusted Signing
All checks were successful
Build and Test / Build Agent (Windows) (push) Successful in 5m4s
Build and Test / Build Server (Linux) (push) Successful in 8m38s
Build and Test / Security Audit (push) Successful in 4m14s
Build and Test / Build Summary (push) Successful in 18s

jsign 6.0 lacks the TRUSTEDSIGNING keystore type (only AZUREKEYVAULT); Azure Trusted
Signing support requires jsign >= 7.0. 7.1 matches /usr/share/jsign on the build host.
Fixes the release sign-and-publish step.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-29 11:05:09 -07:00
parent 520569937c
commit e7f38ce2a0

View File

@@ -407,7 +407,9 @@ jobs:
set -euo pipefail
sudo apt-get update
sudo apt-get install -y default-jre-headless
JSIGN_VERSION="6.0"
# jsign >= 7.0 is required for the TRUSTEDSIGNING (Azure Trusted Signing) storetype;
# 6.0 only supports AZUREKEYVAULT. 7.1 matches the version on the build host.
JSIGN_VERSION="7.1"
curl -fsSL "https://github.com/ebourg/jsign/releases/download/${JSIGN_VERSION}/jsign-${JSIGN_VERSION}.jar" \
-o /tmp/jsign.jar
echo "[OK] Installed JRE and jsign ${JSIGN_VERSION}"