Repository navigation
Conversation
Gate tag builds on WINDOWS_CODESIGN_* secrets, sign the release binary before WiX packaging, then sign the MSI with RFC3161 timestamping to reduce SmartScreen warnings. Co-authored-by: 绿岸公式 <chinesejar@gmail.com>
Prefer SignPath deep-sign of MSI (nested EXE) for free OSS Authenticode; keep PFX as fallback. Embed VERSIONINFO for SignPath metadata checks and document the code signing policy. Co-authored-by: 绿岸公式 <chinesejar@gmail.com>
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.
背景
未签名的 MSI/EXE 容易触发 Windows SmartScreen。开源项目可用 SignPath Foundation 免费证书(SignPath.io 托管密钥),不必自购 OV/EV。
改动
windows-msi.yml在v*tag(或workflow_dispatch+sign)上传未签名 MSI →signpath/github-action-submit-signing-request@v3→ 下载已签名 MSI → Release。.signpath/artifact-configurations/release.xml(ZIP 根 + 深签bin/wslc-desktop.exe+ 签 MSI)。WINDOWS_CODESIGN_PFX_*+scripts/sign-windows.ps1。build.rs+winres,字符串与 SignPath metadata 限制对齐。你需要做的(仓库外)
release-signingpolicy;粘贴releaseartifact XML。SIGNPATH_API_TOKENSIGNPATH_ORGANIZATION_IDSIGNPATH_PROJECT_SLUG、SIGNPATH_SIGNING_POLICY_SLUG、SIGNPATH_ARTIFACT_CONFIGURATION_SLUG测试
workflow_dispatch(勾选sign)。