Merge topic 'rel-win-sign-digest' into release-3.25

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

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7970
This commit is contained in:
Brad King
2022-11-30 14:57:28 +00:00
committed by Kitware Robot

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