Repository navigation
release: sign Windows executables and installers on Euler - #28
Merged
Merged
Conversation
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
force-pushed
the
razmser/sign-windows-binary
branch
from
December 3, 2026 18:21
86b4539 to
e2ea92d
Compare
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.
The Windows code signing certificate lives on a hardware token attached to the self-hosted
eulerrunner. Stable releases keep compiling and bundling on GitHub-hosted runners and send that runner two rounds of artifacts:compile-windowsbuildswizard.exe,sign-windows-appsigns it.bundle-windowsbuilds the NSIS installers around the signed executables,sign-windows-installersigns them.upload-windowsverifies publisher, timestamp and architecture on a hosted Windows runner, creates the updater signatures and uploads.The
eulerjobs run no code from this repository. The token PIN is theWINDOWS_SIGNING_PINsecret of thewindows-releaseenvironment.tauri bundlerewrites a bundle type marker inside the executable, which would invalidate a signature made before bundling, soxtask release-compile-windowswrites the marker itself.Linux, macOS and development prerelease builds are unchanged. The NSIS uninstaller is not signed.