Skip to content

Sign Powershell scripts (again) - #4262

Merged
infeo merged 6 commits into
developfrom
feature/4260-fix-unsigned-ps1
Jun 25, 2026
Merged

infeo merged 6 commits into
developfrom
feature/4260-fix-unsigned-ps1

Conversation

@infeo

@infeo infeo commented Jun 25, 2026 •

Copy link
Copy Markdown
Member

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:

  • Remove actalis code signing again
  • add additional signing step for powershell scripts
  • Update Changlog

Relates to #4169

@infeo infeo added this to the next milestone Jun 25, 2026
@infeo infeo self-assigned this Jun 25, 2026
Signed-off-by: Armin Schrenk <[email protected]>
@coderabbitai

coderabbitai Bot commented Jun 25, 2026 •

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The 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

os:windows, misc:installer

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly reflects the main change: re-signing PowerShell scripts for the Windows installer.
Description check ✅ Passed The description matches the changeset and explains the signing fix, the Actalis removal, and the changelog update.
Linked Issues check ✅ Passed The workflow changes add a dedicated PowerShell signing step, which addresses the issue that installed scripts were left unsigned.
Out of Scope Changes check ✅ Passed The changelog note and signing-provider swap are both directly related to the installer signing fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/4260-fix-unsigned-ps1

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.

Signed-off-by: Armin Schrenk <[email protected]>

@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.

🧹 Nitpick comments (1)
.github/workflows/win-exe.yml (1)

238-245: 🔒 Security & Privacy | 🔵 Trivial

Ensure nested PowerShell scripts are not missed during signing.

Verification confirms no nested .ps1 files exist within the appdir\Cryptomator tree at the time of the build, suggesting current recursive: false does not miss files for this specific pipeline execution. However, enabling recursive: true remains 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

📥 Commits

Reviewing files that changed from the base of the PR and between 1fd44ff and 38bdf6d.

📒 Files selected for processing (2)
  • .github/workflows/win-exe.yml
  • CHANGELOG.md
✅ Files skipped from review due to trivial changes (1)
  • CHANGELOG.md

@infeo
infeo merged commit cb68994 into develop Jun 25, 2026
5 checks passed
@infeo
infeo deleted the feature/4260-fix-unsigned-ps1 branch June 25, 2026 08:21
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.

Windows Installer: Powershell scripts are not signed

1 participant