From 870f30aacc14f0ed61ea287d87e80c2307871104 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 30 Nov 2022 09:11:58 -0500 Subject: Utilities/Release: Use explicit digest for Win7-compatible signature Otherwise `signtool` warns. --- Utilities/Release/win/sign-package.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Release/win/sign-package.ps1 b/Utilities/Release/win/sign-package.ps1 index 0dbefd2..fdaff14 100755 --- a/Utilities/Release/win/sign-package.ps1 +++ b/Utilities/Release/win/sign-package.ps1 @@ -16,7 +16,7 @@ if ($trace -eq $true) { $ErrorActionPreference = 'Stop' # Sign binaries with SHA-1 for Windows 7 and below. -& $signtool sign -v -a -t http://timestamp.digicert.com bin\*.exe +& $signtool sign -v -a -t http://timestamp.digicert.com -fd sha1 bin\*.exe # Sign binaries with SHA-256 for Windows 8 and above. & $signtool sign -v -a -tr http://timestamp.digicert.com -fd sha256 -td sha256 -as bin\*.exe -- cgit v0.12