Skip to content

release: sign Windows executables and installers on Euler - #28

Merged
razmser merged 1 commit into
masterfrom
razmser/sign-windows-binary
Dec 3, 2026
Merged

razmser merged 1 commit into
masterfrom
razmser/sign-windows-binary

Conversation

@razmser

@razmser razmser commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

The Windows code signing certificate lives on a hardware token attached to the self-hosted euler runner. Stable releases keep compiling and bundling on GitHub-hosted runners and send that runner two rounds of artifacts:

  • compile-windows builds wizard.exe, sign-windows-app signs it.
  • bundle-windows builds the NSIS installers around the signed executables, sign-windows-installer signs them.
  • upload-windows verifies publisher, timestamp and architecture on a hosted Windows runner, creates the updater signatures and uploads.

The euler jobs run no code from this repository. The token PIN is the WINDOWS_SIGNING_PIN secret of the windows-release environment.

tauri bundle rewrites a bundle type marker inside the executable, which would invalidate a signature made before bundling, so xtask release-compile-windows writes the marker itself.

Linux, macOS and development prerelease builds are unchanged. The NSIS uninstaller is not signed.

The Windows code signing certificate lives on a hardware token attached to
the self-hosted `euler` runner. Stable releases keep compiling and bundling
on GitHub-hosted runners and send that runner two rounds of artifacts:

- `compile-windows` builds `wizard.exe`, `sign-windows-app` signs it.
- `bundle-windows` builds the NSIS installers around the signed
  executables, `sign-windows-installer` signs them.
- `upload-windows` verifies publisher, timestamp and architecture on a
  hosted Windows runner, creates the updater signatures and uploads.

The `euler` jobs run no code from this repository. The token PIN is the
`WINDOWS_SIGNING_PIN` secret of the `windows-release` environment.

`tauri bundle` rewrites a bundle type marker inside the executable, which
would invalidate a signature made before bundling, so
`xtask release-compile-windows` writes the marker itself.

Linux, macOS and development prerelease builds are unchanged. The NSIS
uninstaller is not signed.
@razmser
razmser force-pushed the razmser/sign-windows-binary branch from 86b4539 to e2ea92d Compare December 3, 2026 18:21
@razmser
razmser merged commit cd2c621 into master Dec 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant