Skip to content

[release/11.0] Fix JavaScript Authenticode verification on MTA threads - #17376

Merged
akoeplinger merged 1 commit into
release/11.0from
backport/pr-17374-to-release/11.0
Aug 20, 2026
Merged

akoeplinger merged 1 commit into
release/11.0from
backport/pr-17374-to-release/11.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #17374 to release/11.0

/cc @akoeplinger

PR #16667 added WinVerifyTrust-based content-integrity validation to SignCheck. Unlike the other Authenticode SIPs, the legacy Windows Script Host SIP cannot locate embedded JavaScript signatures when invoked from an MTA thread and returns TRUST_E_NOSIGNATURE.

Run JavaScript WinVerifyTrust verification on an STA thread so signed scripts are recognized correctly. Add signed, tampered, and unsigned JavaScript coverage.

Fixes regression from #16667

Co-authored-by: Copilot <[email protected]>
@akoeplinger
akoeplinger enabled auto-merge (squash) August 20, 2026 19:39
@akoeplinger
akoeplinger merged commit 8a04951 into release/11.0 Aug 20, 2026
9 of 12 checks passed
@akoeplinger
akoeplinger deleted the backport/pr-17374-to-release/11.0 branch August 20, 2026 21:07
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc2 milestone Aug 21, 2026
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.

2 participants