Skip to content

Commit

Permalink
Revert "Revert "Fix signature verification" (#4333"
Browse files Browse the repository at this point in the history
This reverts commit b9dfa22.
  • Loading branch information
nohwnd committed Mar 20, 2023
1 parent b9dfa22 commit 49419e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/verify-sign.ps1
Expand Up @@ -60,6 +60,9 @@ function Verify-Assemblies
elseif ($signature.SignerCertificate.Subject -eq "CN=Microsoft 3rd Party Application Component, O=Microsoft Corporation, L=Redmond, S=Washington, C=US") {
Write-Debug "Valid ($($signature.SignerCertificate.Thumbprint)): $Path [3rd Party]"
}
elseif ($signature.SignerCertificate.Subject -eq "CN=Microsoft Windows, O=Microsoft Corporation, L=Redmond, S=Washington, C=US") {
Write-Debug "Valid ($($signature.SignerCertificate.Thumbprint)): $Path [3rd Party]"
}
else {
# For legacy components, sign certificate is always "prod" signature. Skip such binaries.
if ($signature.SignerCertificate.Thumbprint -eq "98ED99A67886D020C564923B7DF25E9AC019DF26") {
Expand Down

0 comments on commit 49419e5

Please sign in to comment.