Skip to content

Sign all libraries in windows build - #12285

Merged
kryksyh merged 4 commits into
masterfrom
sign_all_windows_binaries
Sep 23, 2026
Merged

kryksyh merged 4 commits into
masterfrom
sign_all_windows_binaries

Conversation

@kryksyh

@kryksyh kryksyh commented Sep 23, 2026

Copy link
Copy Markdown
Member

Resolves: #12167

Sign all and every DLL in the package. Previously only EXE was signed due to time limitations. Now we switched the signing service to cloud signing, and it is significantly faster.

The original script is reused from AU3 branch.

  • I signed CLA
  • This PR includes AI assistance
  • If the PR is AI-assisted, I have read, understood and complied with the guidelines for AI-assisted contributions
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

@kryksyh
kryksyh requested a review from grliszas14 September 23, 2026 15:05
@kryksyh kryksyh self-assigned this Sep 23, 2026
@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

📝 Walkthrough

Walkthrough

Windows packaging now uses a PowerShell helper to upload files to an S3-based signing service, retrieve signed files, and verify their signatures. Runtime files and MSI artifacts use this helper, and packaging fails when signing prerequisites or operations fail. The AU4 Windows workflow no longer disables signing.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant Package as package.cmake
  participant Signer as PfxSign.ps1
  participant S3
  participant SigningService
  Package->>Signer: Request signing for runtime files or MSI
  Signer->>S3: Upload unsigned files
  S3->>SigningService: Provide files from unsigned folder
  SigningService->>S3: Place signed files in signed folder
  Signer->>S3: Poll and download signed files
  Signer->>Signer: Verify signatures and replace originals
  Signer-->>Package: Return success or failure
Loading

Merge Risk: 🔵 Low · up to f1b86

Windows packaging now signs every shipped DLL and EXE through the signing service. However, it accepts any validly signed file without confirming the file was signed with the project's own certificate. Pinning the expected signer before merge would close this supply-chain gap. Otherwise the change is mergeable.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: signing all libraries in the Windows build.
Description check ✅ Passed The description includes the linked issue, change summary, motivation, and required checklist sections. The unchecked recommended test item is optional.
Linked Issues check ✅ Passed The changes address issue #12167. The Windows workflow no longer disables signing. package.cmake invokes PfxSign.ps1 for the complete install directory before packaging. The script processes unsig…
Out of Scope Changes check ✅ Passed The changed workflow entry, the PowerShell signing helper, the CMake integration, and removal of the old signing helper all support the linked objective in #12167. The changes do not show an unrelated…

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: b1dfc636-5858-44aa-a165-e666af54df0f

📥 Commits

Reviewing files that changed from the base of the PR and between e554b43 and f1b861d.

📒 Files selected for processing (4)
  • .github/workflows/au4_build_windows.yml
  • buildscripts/ci/windows/PfxSign.ps1
  • buildscripts/ci/windows/package.cmake
  • buildscripts/ci/windows/sign_service_aws.sh
💤 Files with no reviewable changes (1)
  • buildscripts/ci/windows/sign_service_aws.sh

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Comment thread buildscripts/ci/windows/PfxSign.ps1 Resolved
@kryksyh
kryksyh force-pushed the sign_all_windows_binaries branch from f1b861d to c453844 Compare September 23, 2026 15:26
@kryksyh
kryksyh merged commit 608aca3 into master Sep 23, 2026
6 of 9 checks passed
@kryksyh
kryksyh deleted the sign_all_windows_binaries branch September 23, 2026 15:29
kryksyh added a commit that referenced this pull request Sep 23, 2026
Sign all libraries in windows build
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.

Audacity 3.7.9 fails to launch with Windows Smart App Control enabled — error 0xC0E90002

2 participants