Skip to content

Powershell Get-AuthenticodeSignature fails #9688

@Lemonexe

Description

@Lemonexe

Hello, we are using electron-updater in Trezor Suite project, and ever since the update from 6.7.3 → 6.8.3, we are getting errors in Sentry:

Error: Command failed: set "PSModulePath=" & chcp 65001 >NUL & powershell.exe -NoProfile -NonInteractive -InputFormat None -Command "Get-AuthenticodeSignature -LiteralPath 'C:\Users\[*]\AppData\Local\@trezorsuite-desktop-updater\pending\temp-Trezor-Suite-26.4.2-win-x64.exe' | ConvertTo-Json -Compress"

The path seems correct, it's the same that electron-updater used in the past.
Any thoughts what change could have caused the regression, or how to debug it, how to reproduce it? 🤔
Thank you very much for any advice or solution 🙏

Related issues

Seems related – same failed command: #2589, #7127, #8162, #8822
We redact user data in Sentry events, so it is unknown if special characters in user name cause this, as was the case previously.

Context

All error events we have are at Electron 40.1.0, node 24.11.1.
Windows builds: 67% Windows 10.0.19045, 22 % Windows 10.0.26200 (the stable releases), 11 % various other builds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions