mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Validate authenticode signature using the certificate Subject (#12474)
* Use cerificate subject to verify authenticode signature * Use function instead of script variables * Switch all places to using Get-MicrosoftPublisher * Remove SignatureThumbprint * Use common subject for the Edge driver
This commit is contained in:
@@ -5,6 +5,6 @@
|
||||
|
||||
Install-Binary -Type MSI `
|
||||
-Url 'https://go.microsoft.com/fwlink/?LinkId=287166' `
|
||||
-ExpectedSignature 'C3A3D43788E7ABCD287CB4F5B6583043774F99D2'
|
||||
-ExpectedSubject $(Get-MicrosoftPublisher)
|
||||
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "WebPlatformInstaller"
|
||||
|
||||
Reference in New Issue
Block a user