Repository navigation
Sign Powershell scripts (again) - #4262
Conversation
This reverts commit 1879c6f.
Signed-off-by: Armin Schrenk <[email protected]>
Signed-off-by: Armin Schrenk <[email protected]>
Signed-off-by: Armin Schrenk <[email protected]>
Signed-off-by: Armin Schrenk <[email protected]>
WalkthroughThe Windows installer workflow updates MSI signing to use Azure Trusted Signing for executable, DLL, and PowerShell script artifacts. It also removes two Actalis signing steps from the EXE build job and records the signing change in the changelog. Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Signed-off-by: Armin Schrenk <[email protected]>
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/win-exe.yml (1)
238-245: 🔒 Security & Privacy | 🔵 TrivialEnsure nested PowerShell scripts are not missed during signing.
Verification confirms no nested
.ps1files exist within theappdir\Cryptomatortree at the time of the build, suggesting currentrecursive: falsedoes not miss files for this specific pipeline execution. However, enablingrecursive: trueremains a necessary safeguard against future additions of scripts in subdirectories.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In @.github/workflows/win-exe.yml around lines 238 - 245, Update the “Sign Scripts with Azure Trusted Signing” step in the win-exe workflow so nested PowerShell scripts under appdir\Cryptomator are included in signing; change the win-sign-action invocation to use recursive signing for the ps1 file-extensions while keeping append-signature false, and verify the step still targets the same base-dir and conditional inputs.sign / schedule behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In @.github/workflows/win-exe.yml:
- Around line 238-245: Update the “Sign Scripts with Azure Trusted Signing” step
in the win-exe workflow so nested PowerShell scripts under appdir\Cryptomator
are included in signing; change the win-sign-action invocation to use recursive
signing for the ps1 file-extensions while keeping append-signature false, and
verify the step still targets the same base-dir and conditional inputs.sign /
schedule behavior.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 53c963f7-19fb-49ce-8dcc-ac92ca5f6bea
📒 Files selected for processing (2)
.github/workflows/win-exe.ymlCHANGELOG.md
✅ Files skipped from review due to trivial changes (1)
- CHANGELOG.md
This PR fixes #4260.
The azure/artifact-signing-action does not sign Powershell files, if it is set to append signatures. In general, appending is desired to not remove any existing, valid signature or fail because the file is already signed.
Changes:
Relates to #4169