mirror of
https://github.com/actions/runner-images.git
synced 2025-12-27 20:25:26 +08: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:
@@ -15,7 +15,7 @@ New-Item -ItemType 'Directory' -Path $azureCliExtensionPath | Out-Null
|
||||
|
||||
Install-Binary -Type MSI `
|
||||
-Url 'https://aka.ms/installazurecliwindowsx64' `
|
||||
-ExpectedSignature '245D262748012A4FE6CE8BA6C951A4C4AFBC3E5D'
|
||||
-ExpectedSubject $(Get-MicrosoftPublisher)
|
||||
|
||||
Update-Environment
|
||||
|
||||
|
||||
Reference in New Issue
Block a user