Repository navigation
windows legs: the spec 34 §8.2 Azure Trusted Signing lane - #107
Merged
Merged
Conversation
Mirror of the ruby factory's windows sign block: the arm check (ci/windows-sign-gate.sh, gated on the WINDOWS_SIGNING_ENABLED repo variable — gate off ships unsigned byte-identically, spec 00 invariant 7), the sign-staging copy, the OIDC azure/login in the windows-signing environment, the TrustedSigning module preflight, the Azure/artifact-signing-action sign (RFC 3161 timestamp mandatory), and the signtool verify /pa at the contract paths — in-leg before the symbol-provenance check and the boot smoke, so the smoke and the publish-time .sha256 sidecars anchor the signed bytes (sign-then-hash, §1.3). The build job declares id-token:write (the OIDC boundary) and the windows-signing environment; the four build-<platform>.yml triggers grant the same superset the publish job already needed (a reusable workflow never elevates past its caller).
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
temporarily deployed
to
windows-signing
November 24, 2026 03:43 — with
GitHub Actions
Inactive
ronaldtse
marked this pull request as ready for review
November 24, 2026 04:05
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows legs: the spec 34 §8.2 Azure Trusted Signing lane
Ports the ruby factory's proven windows sign block to this factory's two
windows legs (
windows-2022x86_64 andwindows-11-armarm64 — thematrix's ucrt64/clangarm64 rows). Until now both legs shipped unsigned:
the repo had no signgate/signtool/Azure anywhere (the arm64-signing
survey's finding); only the macOS spec 31 lane and the OpenPGP release
signing existed.
What lands
ci/windows-sign-gate.sh— the spec 34 §4 enablement gate, portedfrom the ruby factory's same-named script.
WINDOWS_SIGNING_ENABLED=truearms; anything else is a loud unsigned notice (spec 00 invariant 7:
unsigned stays first-class); armed with an unresolved secret/variable
is a fast named failure before any signing call (§7.5).
_build-platform.yml, build job — the six sign steps, in-leg afterthe build and before the symbol-provenance check + boot smoke, so the
smoke and the publish-time
.sha256sidecars anchor the SIGNED bytes(sign-then-hash, §1.3):
matrix.os == 'windows'+ the rc-107 skip output);<runtime>.exe+ the libpython<runtime>.dll)under
sign-staging/— COPY, never move (§7.3);azure/loginover OIDC workload identity (no stored client secret;the federated credential is scoped to this repo × the
windows-signingenvironment);factory's poisoned-cache lesson);
Azure/artifact-signing-action@v1(sha-pinned) on the staging dir,exe,dllextension enumeration, SHA256 digests, RFC 3161 timestamp(
http://timestamp.acs.microsoft.com) mandatory (§1.4);signtool verify /pa /v+Get-AuthenticodeSignature(Valid +TimeStamperCertificate present) in place (§7.1/§7.2).
id-token: write(the OIDC boundary) andenvironment: windows-signing(all legs carry it; only windows arms —the environment must never gain required reviewers). The four
build-<platform>.ymltriggers grantcontents/attestations/id-token— the same superset publish.yml's callers already grant (a reusable
workflow never elevates past its caller).
Wiring (verified 2026-11-24)
windows-signingexists on this repo with EMPTYprotection rules (
gh api repos/.../environments/windows-signing).AZURE_CLIENT_ID/AZURE_TENANT_ID/AZURE_SUBSCRIPTION_IDand org variablesAZURE_ENDPOINT/AZURE_SIGNING_ACCOUNT_NAME/AZURE_SIGNING_CERT_PROFILEall listthis repo in their repository selection.
WINDOWS_SIGNING_ENABLED=trueis SET, so this PR's CIruns the lane armed (the ruby/jruby precedent: armed in PR CI,
signtool-verified at the contract path, CN=Ribose Limited).
Gate-off posture
With the variable unset/!= true every sign step skips and the legs ship
unsigned, byte-identically to today (spec 00 invariant 7, §7.4 gate-off
parity) — the arm check emits a loud
::notice::and nothing elsechanges.
Evidence
This PR's windows legs carry the proof in their logs: azure/login OK →
TrustedSigning sign (
Successfully signed ...) →signtool verify /pa /vpass →signed+timestamped: <name> — CN=Ribose Limited, ...(+ RFC 3161 countersignature), on both the x86_64 and the arm64 legs
(the arm64 leg when compute_matrix's link-unit asset gate admits it).
Local gates green: the full spec suite (90 examples, 0 failures —
including the workflow lang_infix lock) and every authored YAML parses.