summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-30 14:57:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-11-30 14:57:46 (GMT)
commitd9c3433a3083417130964686c5e795bc4a95c0da (patch)
treee791d36758fd4092ee9364c5aaa7414212a9fa71
parent5676593be9bd3a26995f35b9db8fe5b9af8ea32e (diff)
parent870f30aacc14f0ed61ea287d87e80c2307871104 (diff)
downloadCMake-d9c3433a3083417130964686c5e795bc4a95c0da.zip
CMake-d9c3433a3083417130964686c5e795bc4a95c0da.tar.gz
CMake-d9c3433a3083417130964686c5e795bc4a95c0da.tar.bz2
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
-rwxr-xr-xUtilities/Release/win/sign-package.ps12
1 files changed, 1 insertions, 1 deletions
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