Repository navigation
Sign all libraries in windows build - #12285
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 📝 WalkthroughWalkthroughWindows 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
Merge Risk: 🔵 Low · up to 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)
Warning Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped 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. Comment |
There was a problem hiding this comment.
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
📒 Files selected for processing (4)
.github/workflows/au4_build_windows.ymlbuildscripts/ci/windows/PfxSign.ps1buildscripts/ci/windows/package.cmakebuildscripts/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.
…d failure" This reverts commit ce1aa19.
Now we sign everything in batches, instead of doing it one by one
f1b861d to
c453844
Compare
Sign all libraries in windows build
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.
Recommended: