mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
Utilities/Release: Use explicit digest for Win7-compatible signature
Otherwise `signtool` warns.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user