Skip to content

[release/11.0.1xx] Port signature verification changes from PR 56468 - #56472

Merged
joeloff merged 4 commits into
release/11.0.1xxfrom
copilot/release1101xx-port-sig-verification
Oct 16, 2026
Merged

joeloff merged 4 commits into
release/11.0.1xxfrom
copilot/release1101xx-port-sig-verification

Conversation

Copilot AI commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor
  • Inspect release/11.0.1xx branch context and identify where MSI manifest extraction runs after the branch refactor.
  • Add the existing MSI package signature verifier to the full installer’s manifest extraction path immediately before administrative MSI extraction.
  • Build the CLI, run focused workload tests, scan changed files for secrets, and review the final diff.

@azure-pipelines

azure-pipelines Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Co-authored-by: joeloff <7409981+joeloff@users.noreply.github.com>
Copilot AI requested a review from joeloff October 1, 2026 23:15
@joeloff
joeloff marked this pull request as ready for review October 7, 2026 15:33
@joeloff
joeloff requested review from a team as code owners October 7, 2026 15:33
Copilot AI balanced review requested due to automatic review settings October 7, 2026 15:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The security-sensitive extraction path lacks focused regression coverage proving verification occurs before MSI execution.

1 open finding
What changed in this PR

Adds Authenticode verification before administrative extraction of workload manifest MSIs.

Changes:

  • Exposes the existing MSI signature verifier internally.
  • Injects and invokes signature verification during manifest extraction.
  • Wires the full MSI installer to the cache verifier.
File Description
MsiPackageCache.cs Makes the signature verifier internally accessible.
WindowsMsiManifestInstaller.cs Verifies MSI payloads before extraction.
NetSdkMsiInstallerClient.cs Supplies the existing cache verifier.

🧠 Review effort: Balanced

string resolvedMsiPath = msiPath!;
string msiExtractionPath = Path.Combine(extractionPath, "msi");

verifyPackageSignature?.Invoke(resolvedMsiPath);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the focused verifier regression test in commit 6411120. It asserts the callback receives the resolved MSI path and throws a sentinel before native installation.

@joeloff joeloff changed the title [WIP] Port signature verification changes from PR 56468 Port signature verification changes from PR 56468 Oct 7, 2026
@joeloff joeloff changed the title Port signature verification changes from PR 56468 [release/11.0.1xx] Port signature verification changes from PR 56468 Oct 7, 2026
Co-authored-by: joeloff <7409981+joeloff@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@joeloff
joeloff merged commit 1f64f97 into release/11.0.1xx Oct 16, 2026
22 checks passed
@joeloff
joeloff deleted the copilot/release1101xx-port-sig-verification branch October 16, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants