Skip to content

Add 3PartySHA2 signing for Newtonsoft.Json.dll and PowerArgs.dll#678

Draft
jesuszarate wants to merge 1 commit into
microsoft:masterfrom
jesuszarate:dev/jezarat/sign-3rdparty-deps
Draft

Add 3PartySHA2 signing for Newtonsoft.Json.dll and PowerArgs.dll#678
jesuszarate wants to merge 1 commit into
microsoft:masterfrom
jesuszarate:dev/jezarat/sign-3rdparty-deps

Conversation

@jesuszarate
Copy link
Copy Markdown
Member

These 3rd-party NuGet dependencies ship without Microsoft Authenticode signatures. Adding FilesToSign entries so MicroBuild signs them with 3PartySHA2 before VSIX packaging.

Background: The ESRP Release team has informed us that VS is shipping unsigned and SHA1-only signed files that need to be addressed for compliance. The signing allow list (ExternalWhiteList.csv) will be zeroed out on June 8th.

The problem: The VS signing scan flags 2 files in the mscredentialprovider payload:

  • Newtonsoft.Json.dll (v13.0.2) - signed by publisher with DigiCert, needs Microsoft 3PartySHA2
  • PowerArgs.dll (v3.6.0) - completely unsigned, needs 3PartySHA2

The fix: Added FilesToSign entries with 3PartySHA2 cert for both DLLs alongside the existing Microsoft400 entries in CredentialProvider.Microsoft.csproj.

VS tracking bug: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2991357

These 3rd-party NuGet dependencies ship without Microsoft Authenticode
signatures. Adding FilesToSign entries so MicroBuild signs them with
3PartySHA2 before VSIX packaging.

Fixes VS signing scan violations in the mscredentialprovider payload.

Bug: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2991357
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.

1 participant