Repository navigation
ci: sign release binaries when signing secrets are configured - #154
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
nextestudios
force-pushed
the
feature/84-code-signing
branch
from
September 27, 2026 05:34
f5da9cd to
47536f8
Compare
3 tasks
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.
Summary
Code-signing plumbing for releases. The maintainer has no certificate yet, so releases stay unsigned until secrets are configured — nothing changes for the next release without them (the workflow only adds a warning).
build/CodeSigning.ps1: picks the provider from the configured variables — Microsoft Artifact Signing (formerly Trusted Signing;signtool /dlib, client package pinned by version + SHA-512, .NET 8 runtime installed only in that mode) or a.pfx(SIGNING_PFX_BASE64+SIGNING_PFX_PASSWORD). Half a configuration fails the release instead of silently publishing unsigned. Secrets are removed from the process environment beforedotnet publish/ISCC and only handed tosigntool.Publish-ControlFS.ps1 -Sign: signsControlFS.exebefore Inno Setup packages it, then the installer and the portable exe, all timestamped, beforeSHA256SUMS.txtand the update manifest are computed.release.yml: new "Code signing mode" step (only tag builds are signed; manual dispatch builds never are), signing env passed only to the build step, and "Verify Authenticode signatures" (valid + timestamped, viaGet-AuthenticodeSignature) after the launch smoke tests and before publishing. The job now uses the GitHub environmentreleaseso the maintainer can require manual approval and keep the signing secrets there.docs/build-and-release.md→ "Assinatura de código" (step-by-step for both options, approval setup),docs/CODE_SIGNING.md(both languages).Tests
Publish-ControlFS.ps1 -Sign: app exe, installer and portable were signed and timestamped,Assert-Authenticodepassed, and the signed portable and installed app launched (run).Refs #84
🤖 Generated with Claude Code