Utilities/Release: Use explicit digest for Win7-compatible signature

Otherwise `signtool` warns.
This commit is contained in:
Brad King
2022-11-30 09:11:58 -05:00
parent 0674870892
commit 870f30aacc

View File

@@ -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