Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Integrate SignPath Windows release signing

rcourtman43bb95a406cf
diff --git a/.github/workflows/build-release-candidate.yml b/.github/workflows/build-release-candidate.yml
index 928df27d37..59279c8821 100644
--- a/.github/workflows/build-release-candidate.yml
+++ b/.github/workflows/build-release-candidate.yml
@@ -17,6 +17,11 @@ on:
required: false
default: false
type: boolean
+ windows_signing_backend:
+ description: 'Windows signing backend: signpath (canonical) or legacy-pfx (break-glass fallback)'
+ required: false
+ default: signpath
+ type: string
outputs:
artifact_name:
description: 'Immutable release candidate artifact name'
@@ -24,6 +29,9 @@ on:
manifest_artifact_name:
description: 'Release candidate manifest artifact name'
value: ${{ jobs.build.outputs.manifest_artifact_name }}
+ windows_signing_backend:
+ description: 'Windows signing backend used for the candidate'
+ value: ${{ jobs.sign-windows-agent.outputs.signing_backend }}
permissions:
contents: read
@@ -45,8 +53,15 @@ jobs:
APPLE_NOTARY_ISSUER_ID: ${{ secrets.APPLE_NOTARY_ISSUER_ID }}
WINDOWS_CODE_SIGNING_CERTIFICATE_PFX_BASE64: ${{ secrets.WINDOWS_CODE_SIGNING_CERTIFICATE_PFX_BASE64 }}
WINDOWS_CODE_SIGNING_CERTIFICATE_PASSWORD: ${{ secrets.WINDOWS_CODE_SIGNING_CERTIFICATE_PASSWORD }}
+ SIGNPATH_API_TOKEN: ${{ secrets.SIGNPATH_API_TOKEN }}
+ SIGNPATH_ORGANIZATION_ID: ${{ vars.SIGNPATH_ORGANIZATION_ID }}
+ SIGNPATH_PROJECT_SLUG: ${{ vars.SIGNPATH_PROJECT_SLUG }}
+ SIGNPATH_SIGNING_POLICY_SLUG: ${{ vars.SIGNPATH_SIGNING_POLICY_SLUG }}
+ SIGNPATH_ARTIFACT_CONFIGURATION_SLUG: ${{ vars.SIGNPATH_ARTIFACT_CONFIGURATION_SLUG }}
+ SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT: ${{ vars.SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT }}
REQUIRE_MACOS_SIGNING: ${{ inputs.require_macos_signing }}
REQUIRE_WINDOWS_SIGNING: ${{ inputs.require_windows_signing }}
+ WINDOWS_SIGNING_BACKEND: ${{ inputs.windows_signing_backend }}
run: |
set -euo pipefail
missing=0
@@ -62,10 +77,29 @@ jobs:
)
fi
if [[ "$REQUIRE_WINDOWS_SIGNING" == "true" ]]; then
- required+=(
- WINDOWS_CODE_SIGNING_CERTIFICATE_PFX_BASE64
- WINDOWS_CODE_SIGNING_CERTIFICATE_PASSWORD
- )
+ case "$WINDOWS_SIGNING_BACKEND" in
+ signpath)
+ required+=(
+ SIGNPATH_API_TOKEN
+ SIGNPATH_ORGANIZATION_ID
+ SIGNPATH_PROJECT_SLUG
+ SIGNPATH_SIGNING_POLICY_SLUG
+ SIGNPATH_ARTIFACT_CONFIGURATION_SLUG
+ SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT
+ )
+ ;;
+ legacy-pfx)
+ required+=(
+ WINDOWS_CODE_SIGNING_CERTIFICATE_PFX_BASE64
+ WINDOWS_CODE_SIGNING_CERTIFICATE_PASSWORD
+ )
+ echo "::warning::Using the break-glass legacy PFX Windows signing backend."
+ ;;
+ *)
+ echo "::error::Unsupported Windows signing backend '${WINDOWS_SIGNING_BACKEND}'. Expected signpath or legacy-pfx."
+ missing=1
+ ;;
+ esac
else
echo "::notice::Windows Authenticode is not required for this candidate."
fi
@@ -180,7 +214,12 @@ jobs:
needs: signing-configuration
if: ${{ inputs.require_windows_signing && needs.signing-configuration.result == 'success' }}
runs-on: windows-2025
- timeout-minutes: 25
+ timeout-minutes: 50
+ permissions:
+ actions: read
+ contents: read
+ outputs:
+ signing_backend: ${{ steps.evidence.outputs.signing_backend }}
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
@@ -191,45 +230,122 @@ jobs:
go-version-file: go.mod
cache: true
- - name: Build and sign agent binaries
+ - name: Build unsigned agent binaries
shell: pwsh
env:
- WINDOWS_CERTIFICATE_PFX_BASE64: ${{ secrets.WINDOWS_CODE_SIGNING_CERTIFICATE_PFX_BASE64 }}
- WINDOWS_CERTIFICATE_PASSWORD: ${{ secrets.WINDOWS_CODE_SIGNING_CERTIFICATE_PASSWORD }}
PULSE_UPDATE_SIGNING_PUBLIC_KEY: ${{ vars.PULSE_UPDATE_SIGNING_PUBLIC_KEY }}
run: |
$ErrorActionPreference = 'Stop'
- foreach ($name in @('WINDOWS_CERTIFICATE_PFX_BASE64', 'WINDOWS_CERTIFICATE_PASSWORD', 'PULSE_UPDATE_SIGNING_PUBLIC_KEY')) {
+ foreach ($name in @('PULSE_UPDATE_SIGNING_PUBLIC_KEY')) {
if ([string]::IsNullOrWhiteSpace((Get-Item "Env:$name").Value)) {
throw "Missing required $name."
}
}
- New-Item -ItemType Directory -Path native-agent-binaries -Force | Out-Null
+ New-Item -ItemType Directory -Path unsigned-native-agent-binaries -Force | Out-Null
+ $ldflags = & bash ./scripts/release_ldflags.sh agent --version "v${{ inputs.version }}" --update-public-keys $env:PULSE_UPDATE_SIGNING_PUBLIC_KEY
+ foreach ($arch in @('amd64', 'arm64', '386')) {
+ $env:GOOS = 'windows'
+ $env:GOARCH = $arch
+ $env:CGO_ENABLED = '0'
+ $output = "unsigned-native-agent-binaries/pulse-agent-windows-$arch.exe"
+ go build -buildvcs=false -trimpath -ldflags="$ldflags" -o $output ./cmd/pulse-agent
+ if ($LASTEXITCODE -ne 0) { throw "Go build failed for Windows $arch." }
+ }
+
+ - name: Sign with legacy PFX fallback
+ if: ${{ inputs.windows_signing_backend == 'legacy-pfx' }}
+ shell: pwsh
+ env:
+ WINDOWS_CERTIFICATE_PFX_BASE64: ${{ secrets.WINDOWS_CODE_SIGNING_CERTIFICATE_PFX_BASE64 }}
+ WINDOWS_CERTIFICATE_PASSWORD: ${{ secrets.WINDOWS_CODE_SIGNING_CERTIFICATE_PASSWORD }}
+ run: |
+ $ErrorActionPreference = 'Stop'
$pfxPath = Join-Path $env:RUNNER_TEMP 'pulse-code-signing.pfx'
[IO.File]::WriteAllBytes($pfxPath, [Convert]::FromBase64String($env:WINDOWS_CERTIFICATE_PFX_BASE64))
$password = ConvertTo-SecureString $env:WINDOWS_CERTIFICATE_PASSWORD -AsPlainText -Force
$certificate = Import-PfxCertificate -FilePath $pfxPath -CertStoreLocation Cert:\CurrentUser\My -Password $password -Exportable:$false
if ($null -eq $certificate) { throw 'Failed to import Windows code-signing certificate.' }
+ $signtool = Get-ChildItem "${env:ProgramFiles(x86)}\Windows Kits\10\bin" -Filter signtool.exe -Recurse | Sort-Object FullName -Descending | Select-Object -First 1 -ExpandProperty FullName
+ foreach ($output in (Get-ChildItem unsigned-native-agent-binaries\*.exe)) {
+ & $signtool sign /sha1 $certificate.Thumbprint /fd SHA256 /td SHA256 /tr http://timestamp.digicert.com $output.FullName
+ if ($LASTEXITCODE -ne 0) { throw "Authenticode signing failed for $($output.Name)." }
+ }
- $signtool = Get-ChildItem "${env:ProgramFiles(x86)}\Windows Kits\10\bin" -Filter signtool.exe -Recurse |
- Sort-Object FullName -Descending |
- Select-Object -First 1 -ExpandProperty FullName
- if ([string]::IsNullOrWhiteSpace($signtool)) { throw 'signtool.exe was not found.' }
+ - name: Upload unsigned SignPath input
+ if: ${{ inputs.windows_signing_backend == 'signpath' }}
+ id: upload-unsigned-windows
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ with:
+ name: unsigned-windows-agent-${{ github.sha }}-${{ inputs.version }}
+ path: unsigned-native-agent-binaries/
+ if-no-files-found: error
+ retention-days: 1
+ compression-level: 0
- $ldflags = & bash ./scripts/release_ldflags.sh agent --version "v${{ inputs.version }}" --update-public-keys $env:PULSE_UPDATE_SIGNING_PUBLIC_KEY
+ - name: Submit SignPath Authenticode request
+ if: ${{ inputs.windows_signing_backend == 'signpath' }}
+ id: signpath
+ uses: signpath/github-action-submit-signing-request@b9d91eadd323de506c0c81cf0c7fe7438f3360fd # v2
+ with:
+ api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
+ organization-id: ${{ vars.SIGNPATH_ORGANIZATION_ID }}
+ project-slug: ${{ vars.SIGNPATH_PROJECT_SLUG }}
+ signing-policy-slug: ${{ vars.SIGNPATH_SIGNING_POLICY_SLUG }}
+ artifact-configuration-slug: ${{ vars.SIGNPATH_ARTIFACT_CONFIGURATION_SLUG }}
+ github-artifact-id: ${{ steps.upload-unsigned-windows.outputs.artifact-id }}
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ wait-for-completion: true
+ wait-for-completion-timeout-in-seconds: 2400
+ output-artifact-directory: signed-native-agent-binaries
+ parameters: |
+ version: ${{ toJSON(inputs.version) }}
+
+ - name: Verify Authenticode signatures and write evidence
+ id: evidence
+ shell: pwsh
+ env:
+ WINDOWS_SIGNING_BACKEND: ${{ inputs.windows_signing_backend }}
+ SIGNPATH_SIGNING_REQUEST_ID: ${{ steps.signpath.outputs.signing-request-id }}
+ SIGNPATH_SIGNING_REQUEST_URL: ${{ steps.signpath.outputs.signing-request-web-url }}
+ SIGNPATH_INPUT_ARTIFACT_ID: ${{ steps.upload-unsigned-windows.outputs.artifact-id }}
+ SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT: ${{ vars.SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT }}
+ run: |
+ $ErrorActionPreference = 'Stop'
+ $sourceDir = if ($env:WINDOWS_SIGNING_BACKEND -eq 'signpath') { 'signed-native-agent-binaries' } else { 'unsigned-native-agent-binaries' }
+ New-Item -ItemType Directory -Path native-agent-binaries -Force | Out-Null
+ $signtool = Get-ChildItem "${env:ProgramFiles(x86)}\Windows Kits\10\bin" -Filter signtool.exe -Recurse | Sort-Object FullName -Descending | Select-Object -First 1 -ExpandProperty FullName
+ $files = @()
foreach ($arch in @('amd64', 'arm64', '386')) {
- $env:GOOS = 'windows'
- $env:GOARCH = $arch
- $env:CGO_ENABLED = '0'
- $output = "native-agent-binaries/pulse-agent-windows-$arch.exe"
- go build -buildvcs=false -trimpath -ldflags="$ldflags" -o $output ./cmd/pulse-agent
- if ($LASTEXITCODE -ne 0) { throw "Go build failed for Windows $arch." }
- & $signtool sign /sha1 $certificate.Thumbprint /fd SHA256 /td SHA256 /tr http://timestamp.digicert.com $output
- if ($LASTEXITCODE -ne 0) { throw "Authenticode signing failed for Windows $arch." }
- & $signtool verify /pa /v $output
- if ($LASTEXITCODE -ne 0) { throw "Authenticode verification failed for Windows $arch." }
+ $name = "pulse-agent-windows-$arch.exe"
+ $source = Join-Path $sourceDir $name
+ if (-not (Test-Path $source -PathType Leaf)) { throw "Signed output is missing $name." }
+ & $signtool verify /pa /v $source
+ if ($LASTEXITCODE -ne 0) { throw "Authenticode verification failed for $name." }
+ $signature = Get-AuthenticodeSignature $source
+ if ($signature.Status -ne 'Valid' -or $null -eq $signature.SignerCertificate) { throw "Invalid Authenticode status for $name: $($signature.Status)." }
+ if ($env:WINDOWS_SIGNING_BACKEND -eq 'signpath' -and $signature.SignerCertificate.Subject -ne $env:SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT) { throw "Unexpected Authenticode signer subject for ${name}: $($signature.SignerCertificate.Subject)." }
+ Copy-Item $source (Join-Path native-agent-binaries $name)
+ $files += [ordered]@{
+ name = $name
+ sha256 = (Get-FileHash $source -Algorithm SHA256).Hash.ToLowerInvariant()
+ signerSubject = $signature.SignerCertificate.Subject
+ signerThumbprint = $signature.SignerCertificate.Thumbprint
+ }
}
+ $evidence = [ordered]@{
+ schemaVersion = 1
+ backend = $env:WINDOWS_SIGNING_BACKEND
+ version = '${{ inputs.version }}'
+ sourceSha = $env:GITHUB_SHA
+ workflowRunUrl = "https://github.com/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID"
+ signPathSigningRequestId = $env:SIGNPATH_SIGNING_REQUEST_ID
+ signPathSigningRequestUrl = $env:SIGNPATH_SIGNING_REQUEST_URL
+ githubInputArtifactId = $env:SIGNPATH_INPUT_ARTIFACT_ID
+ files = $files
+ }
+ $evidence | ConvertTo-Json -Depth 6 | Set-Content windows-signing-evidence.json -Encoding utf8NoBOM
+ "signing_backend=$env:WINDOWS_SIGNING_BACKEND" | Out-File -FilePath $env:GITHUB_OUTPUT -Append -Encoding utf8
- name: Upload signed Windows binaries
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -240,6 +356,14 @@ jobs:
retention-days: 1
compression-level: 0
+ - name: Upload Windows signing evidence
+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
+ with:
+ name: windows-signing-evidence-${{ github.sha }}-${{ inputs.version }}
+ path: windows-signing-evidence.json
+ if-no-files-found: error
+ retention-days: 30
+
build:
name: Build and Validate Signed Candidate
needs: [sign-macos-agent, sign-windows-agent]
@@ -319,6 +443,13 @@ jobs:
name: signed-windows-agent-${{ github.sha }}-${{ inputs.version }}
path: native-agent-binaries
+ - name: Download Windows signing evidence
+ if: ${{ inputs.require_windows_signing }}
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
+ with:
+ name: windows-signing-evidence-${{ github.sha }}-${{ inputs.version }}
+ path: release-candidate-manifest
+
- name: Build signed release candidate
run: ./scripts/build-release.sh "${{ inputs.version }}"
env:
@@ -371,7 +502,7 @@ jobs:
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ steps.identity.outputs.manifest_artifact_name }}
- path: release-candidate-manifest/release-candidate.json
+ path: release-candidate-manifest/
if-no-files-found: error
retention-days: 1
overwrite: true
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index bfc0bd8ebe..a86ca3d5e5 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -223,6 +223,7 @@ jobs:
version: ${{ needs.prepare.outputs.version }}
require_macos_signing: true
require_windows_signing: ${{ needs.prepare.outputs.is_prerelease != 'true' }}
+ windows_signing_backend: signpath
# Frontend checks run in parallel with backend tests
frontend_checks:
diff --git a/.github/workflows/release-dry-run.yml b/.github/workflows/release-dry-run.yml
index 2f068b3afc..51fd57bfa0 100644
--- a/.github/workflows/release-dry-run.yml
+++ b/.github/workflows/release-dry-run.yml
@@ -70,6 +70,7 @@ jobs:
version: ${{ inputs.version }}
require_macos_signing: true
require_windows_signing: ${{ !contains(inputs.version, '-') }}
+ windows_signing_backend: signpath
dry-run:
name: Preflight Release Checks (No Publish)
@@ -409,3 +410,57 @@ jobs:
tag: latest
target: stable
verify_only: true
+
+ release_dry_run_verdict:
+ name: Definitive Dry-Run Verdict
+ needs:
+ - build_release_candidate
+ - dry-run
+ - demo_path_preflight
+ if: ${{ always() }}
+ runs-on: ubuntu-24.04
+ steps:
+ - name: Enforce exact-SHA rehearsal outcomes
+ env:
+ EVENT_NAME: ${{ github.event_name }}
+ VERSION_INPUT: ${{ inputs.version }}
+ CANDIDATE_RESULT: ${{ needs.build_release_candidate.result }}
+ PREFLIGHT_RESULT: ${{ needs.dry-run.result }}
+ DEMO_RESULT: ${{ needs.demo_path_preflight.result }}
+ WINDOWS_SIGNING_BACKEND: ${{ needs.build_release_candidate.outputs.windows_signing_backend }}
+ run: |
+ set -euo pipefail
+ failed=0
+ require_result() {
+ local label="$1"
+ local actual="$2"
+ local expected="$3"
+ if [ "$actual" != "$expected" ]; then
+ echo "::error::${label} ended as ${actual}; expected ${expected}."
+ failed=1
+ fi
+ }
+
+ require_result "release preflight" "$PREFLIGHT_RESULT" success
+ require_result "stable demo no-mutation verification" "$DEMO_RESULT" success
+ if [ "$EVENT_NAME" = "workflow_dispatch" ] && [ -n "${VERSION_INPUT:-}" ]; then
+ require_result "exact-SHA signed candidate" "$CANDIDATE_RESULT" success
+ elif [ "$CANDIDATE_RESULT" != "skipped" ]; then
+ echo "::error::Scheduled watchdog candidate result was ${CANDIDATE_RESULT}; expected skipped."
+ failed=1
+ fi
+
+ {
+ echo "## Definitive dry-run verdict"
+ echo
+ echo "- Source SHA: \`${GITHUB_SHA}\`"
+ echo "- Version: \`${VERSION_INPUT:-scheduled}\`"
+ echo "- Release preflight: \`${PREFLIGHT_RESULT}\`"
+ echo "- Stable demo verification: \`${DEMO_RESULT}\`"
+ echo "- Signed candidate: \`${CANDIDATE_RESULT}\`"
+ if [ -n "${WINDOWS_SIGNING_BACKEND:-}" ]; then
+ echo "- Windows signing backend: \`${WINDOWS_SIGNING_BACKEND}\`"
+ fi
+ } >> "$GITHUB_STEP_SUMMARY"
+
+ exit "$failed"
diff --git a/docs/CODE_SIGNING_POLICY.md b/docs/CODE_SIGNING_POLICY.md
index 28e28d87d5..9ccd115470 100644
--- a/docs/CODE_SIGNING_POLICY.md
+++ b/docs/CODE_SIGNING_POLICY.md
@@ -18,6 +18,16 @@ Until approval and production integration are complete, release notes must say
when a Windows artifact is not Authenticode-signed. Detached checksums and Pulse
release signatures remain mandatory and are not a substitute for Authenticode.
+The canonical CI integration uses SignPath's GitHub trusted-build-system
+action. GitHub Actions uploads the three unsigned Windows agent executables as
+one immutable workflow artifact, submits it to SignPath, waits for approval and
+completion, downloads the signed result, and verifies every file before
+candidate assembly. A non-secret evidence artifact records the SignPath request
+URL, source SHA, signer identity, and signed-file SHA-256 values.
+
+The repository-secret PFX path is an explicitly selected break-glass fallback.
+Normal stable publication and stable dry runs select `signpath` directly.
+
## Build and release controls
- Release artifacts are built by GitHub Actions from an exact commit on the
diff --git a/docs/release-control/v6/internal/records/signpath-windows-authenticode-integration-packet-2026-07-21.md b/docs/release-control/v6/internal/records/signpath-windows-authenticode-integration-packet-2026-07-21.md
new file mode 100644
index 0000000000..dcc200e8bf
--- /dev/null
+++ b/docs/release-control/v6/internal/records/signpath-windows-authenticode-integration-packet-2026-07-21.md
@@ -0,0 +1,76 @@
+# SignPath Windows Authenticode Integration Packet - 2026-07-21
+
+## Purpose
+
+This packet covers the external step repository code cannot complete: approve
+and configure Pulse's SignPath Foundation open-source project, then prove one
+exact-SHA stable candidate without publishing it. It covers only public
+community agent executables from `rcourtman/Pulse`, never private Pulse Pro,
+Relay, Enterprise, or service binaries.
+
+## SignPath Project Contract
+
+1. Approve the existing Pulse Monitoring Ltd open-source application.
+2. Authorize the SignPath GitHub App for `rcourtman/Pulse`.
+3. Bind the project to `https://github.com/rcourtman/Pulse` through the GitHub
+ trusted build system.
+4. Require an authorised Pulse approver and governed `main` origin.
+5. Configure a required `version` parameter and this exact ZIP-root artifact:
+
+```xml
+<artifact-configuration xmlns="http://signpath.io/artifact-configuration/v1">
+ <parameters><parameter name="version" required="true" /></parameters>
+ <zip-file>
+ <pe-file path="pulse-agent-windows-amd64.exe"><authenticode-sign /></pe-file>
+ <pe-file path="pulse-agent-windows-arm64.exe"><authenticode-sign /></pe-file>
+ <pe-file path="pulse-agent-windows-386.exe"><authenticode-sign /></pe-file>
+ </zip-file>
+</artifact-configuration>
+```
+
+Preserve those three root filenames. Do not use a wildcard that could sign
+unrelated executables.
+
+## GitHub Repository Configuration
+
+Add repository secret `SIGNPATH_API_TOKEN`, restricted to this project and
+policy. Add these repository variables with the exact SignPath values:
+
+- `SIGNPATH_ORGANIZATION_ID`
+- `SIGNPATH_PROJECT_SLUG`
+- `SIGNPATH_SIGNING_POLICY_SLUG`
+- `SIGNPATH_ARTIFACT_CONFIGURATION_SLUG`
+- `SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT`
+
+Never store the token as a variable or commit a credential value. The workflow
+reports every missing name before allocating the Windows runner.
+
+## Non-Publishing Proof Run
+
+Prepare the intended stable version on `main` through the governed packet
+process, but do not dispatch `create-release.yml`. From the exact remote `main`
+SHA, dispatch `Release Dry Run` with the stable version and all required
+promotion/mobile metadata, then approve its SignPath request.
+
+Accept the proof only when:
+
+- SignPath origin identifies the expected repo, workflow, branch, and SHA;
+- amd64, arm64, and 386 Authenticode verification passes;
+- `windows-signing-evidence-<sha>-<version>` records that SHA, request URL,
+signer identity, and three SHA-256 values;
+- the candidate-manifest artifact contains `release-candidate.json` and
+ `windows-signing-evidence.json`;
+- release preflight, no-mutation stable-demo verification, and Definitive
+ Dry-Run Verdict pass; and
+- no tag, release, Docker tag, Helm chart, demo deployment, or private Pro
+ promotion is created or changed.
+
+Record the run URL, SignPath request URL, source SHA, version, and evidence
+artifact before changing `single-build-release-promotion-path` to passed.
+
+## Failure Handling
+
+Missing configuration, rejection/timeouts, unexpected filenames, invalid
+signatures, or signer mismatch remain failed stable proof. `legacy-pfx` is an
+explicitly approved break-glass backend only; normal stable callers hard-code
+`signpath`.
diff --git a/docs/release-control/v6/internal/records/single-build-release-promotion-path-2026-07-09.md b/docs/release-control/v6/internal/records/single-build-release-promotion-path-2026-07-09.md
index c28f7ebbf1..82c48ea90d 100644
--- a/docs/release-control/v6/internal/records/single-build-release-promotion-path-2026-07-09.md
+++ b/docs/release-control/v6/internal/records/single-build-release-promotion-path-2026-07-09.md
@@ -154,7 +154,32 @@ the following remain true:
The reusable candidate workflow therefore separates the macOS platform-signing
requirement from the Windows Authenticode requirement. `create-release.yml`
requires Windows signing for stable versions and relaxes only that requirement
-for recognized prerelease versions. `release-dry-run.yml` continues to require
-both platforms so the full stable-promotion path remains rehearsed and the
-`single-build-release-promotion-path` release gate remains blocked for stable
-release readiness until the external signing path is proven.
+for recognized prerelease versions. `release-dry-run.yml` requires both
+platforms for stable-version rehearsals and applies the same bounded Windows
+exception to prerelease rehearsals. The `single-build-release-promotion-path`
+release gate remains blocked until the external stable signing path is proven.
+
+## Repository Advancement (2026-07-21)
+
+Stable publication and stable dry-run callers now select SignPath instead of
+assuming an exportable certificate PFX in GitHub. The reusable workflow uploads
+the exact-SHA unsigned Windows binaries, submits their artifact id through the
+pinned official SignPath v2 action, verifies all returned executables, and
+records the request, run, source SHA, signer identity, and file digests beside
+the immutable candidate manifest. `Release Dry Run` now has a terminal verdict
+covering candidate signing and no-mutation demo verification.
+
+The repository inventory still contains no `SIGNPATH_API_TOKEN` and no SignPath
+project-coordinate variables. The latest successful prerelease dry run remains
+valid only under the unsigned-Windows RC exception and does not clear stable
+readiness.
+
+## Exact Remaining External Action (2026-07-21)
+
+Complete the SignPath setup in
+`signpath-windows-authenticode-integration-packet-2026-07-21.md`, authorize its
+GitHub App for `rcourtman/Pulse`, add the named secret and variables, and
+approve one stable-version `Release Dry Run` request for the exact current
+`main` SHA. The signed candidate, release checks, no-mutation stable-demo lane,
+and Definitive Dry-Run Verdict must pass. Do not publish a stable release as
+part of this proof run.
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 55a20dd986..5035417e20 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -384,7 +384,11 @@ TLS floor in the dynamic config.
discloses the unknown-publisher warning and stable promotion remains
blocked. A cheap signing-configuration job must report every missing secret
for the platforms required by that candidate before either platform runner
- is allocated.
+ is allocated. Stable Windows signing must use SignPath's GitHub
+ trusted-build-system action by default, submit an immutable GitHub artifact
+ by id, verify every returned executable, and retain evidence binding the
+ request, source SHA, signer identity, and file digests. A repository-secret
+ PFX backend is an explicitly selected break-glass fallback only.
macOS command-line agent notarization must fail closed unless
`notarytool --wait --output-format json` reports `Accepted`, then verify the
exact candidate bytes with strict `codesign`. Bare Mach-O command-line
@@ -1009,6 +1013,15 @@ TLS floor in the dynamic config.
## Current State
+Stable and stable-dry-run callers now select SignPath as the canonical Windows
+Authenticode backend. The reusable builder fails fast on missing configuration,
+submits the GitHub-hosted unsigned artifact through the pinned official action,
+verifies all returned executables, and stores request/source/signer/digest
+evidence beside the candidate manifest. Release Dry Run now has a terminal
+verdict covering the signed candidate and no-mutation demo lane. The gate stays
+blocked until the external SignPath project is configured and one stable dry
+run passes for an exact `main` SHA.
+
The provider MSP proof command validates its handoff target with the same
host-local redirect contract as runtime token minting and exchange. Proof input
must reject absolute, scheme-relative, backslash-authority, encoded-separator,
diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go
index 8265d58e05..6dd37bfb4e 100644
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@ -742,8 +742,19 @@ func TestReleaseCandidateRequiresPlatformNativeAgentSigning(t *testing.T) {
`result.get('status') != 'Accepted'`,
`codesign --verify --deep --strict --verbose=2`,
`sign-windows-agent:`,
+ `windows_signing_backend:`,
+ `signpath/github-action-submit-signing-request@b9d91eadd323de506c0c81cf0c7fe7438f3360fd # v2`,
+ `github-artifact-id: ${{ steps.upload-unsigned-windows.outputs.artifact-id }}`,
+ `SIGNPATH_API_TOKEN`,
+ `SIGNPATH_ORGANIZATION_ID`,
+ `SIGNPATH_PROJECT_SLUG`,
+ `SIGNPATH_SIGNING_POLICY_SLUG`,
+ `SIGNPATH_ARTIFACT_CONFIGURATION_SLUG`,
+ `SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT`,
`signtool sign`,
`signtool verify /pa /v`,
+ `windows-signing-evidence.json`,
+ `signerThumbprint`,
`PULSE_AGENT_NATIVE_BINARIES_DIR:`,
)
candidateWorkflow, err := os.ReadFile(candidateWorkflowPath)
@@ -756,6 +767,12 @@ func TestReleaseCandidateRequiresPlatformNativeAgentSigning(t *testing.T) {
assertFileContainsAll(t, repoFile(".github", "workflows", "create-release.yml"),
`require_macos_signing: true`,
`require_windows_signing: ${{ needs.prepare.outputs.is_prerelease != 'true' }}`,
+ `windows_signing_backend: signpath`,
+ )
+ assertFileContainsAll(t, repoFile(".github", "workflows", "release-dry-run.yml"),
+ `Definitive Dry-Run Verdict`,
+ `require_result "exact-SHA signed candidate" "$CANDIDATE_RESULT" success`,
+ `require_result "stable demo no-mutation verification" "$DEMO_RESULT" success`,
)
assertFileContainsAll(t, repoFile("scripts", "build-release.sh"),
`PULSE_AGENT_NATIVE_BINARIES_DIR`,
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index 8da969a85b..ea3885795f 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -488,6 +488,10 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("if: ${{ inputs.version != '' }}", workflow)
self.assertIn("require_macos_signing: true", workflow)
self.assertIn("require_windows_signing: ${{ !contains(inputs.version, '-') }}", workflow)
+ self.assertIn("windows_signing_backend: signpath", workflow)
+ self.assertIn("Definitive Dry-Run Verdict", workflow)
+ self.assertIn('require_result "exact-SHA signed candidate" "$CANDIDATE_RESULT" success', workflow)
+ self.assertIn('require_result "stable demo no-mutation verification" "$DEMO_RESULT" success', workflow)
self.assertNotIn("if: ${{ github.event_name == 'workflow_dispatch' }}", workflow)
self.assertIn("record_rc_to_ga_rehearsal.py --run-id ${{ github.run_id }}", workflow)
self.assertIn("rc-to-ga-promotion-readiness-rehearsal-<record-date>.md", workflow)
@@ -648,8 +652,21 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("Verify Native Signing Configuration", candidate_workflow)
self.assertEqual(candidate_workflow.count("needs: signing-configuration"), 2)
self.assertIn("require_windows_signing: ${{ needs.prepare.outputs.is_prerelease != 'true' }}", content)
+ self.assertIn("windows_signing_backend: signpath", content)
self.assertIn('if [[ "$REQUIRE_WINDOWS_SIGNING" == "true" ]]', candidate_workflow)
self.assertIn("inputs.require_windows_signing", candidate_workflow)
+ self.assertIn("signpath/github-action-submit-signing-request@b9d91eadd323de506c0c81cf0c7fe7438f3360fd # v2", candidate_workflow)
+ self.assertIn("github-artifact-id: ${{ steps.upload-unsigned-windows.outputs.artifact-id }}", candidate_workflow)
+ self.assertIn("windows-signing-evidence.json", candidate_workflow)
+ for signpath_setting in (
+ "SIGNPATH_API_TOKEN",
+ "SIGNPATH_ORGANIZATION_ID",
+ "SIGNPATH_PROJECT_SLUG",
+ "SIGNPATH_SIGNING_POLICY_SLUG",
+ "SIGNPATH_ARTIFACT_CONFIGURATION_SLUG",
+ "SIGNPATH_EXPECTED_CERTIFICATE_SUBJECT",
+ ):
+ self.assertIn(signpath_setting, candidate_workflow)
for signing_secret in (
"APPLE_DEVELOPER_ID_CERTIFICATE_P12_BASE64",
"APPLE_DEVELOPER_ID_CERTIFICATE_PASSWORD",