From 1b4fb2347efb1a0b5eecef0b3bc8c92c4ae9bfdf Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Wed, 27 Oct 2021 11:20:48 +0200 Subject: [PATCH] specify sign algorithm for windows signing --- scripts/Windows/resources/windows_sign_dlls.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/resources/windows_sign_dlls.ps1 b/scripts/Windows/resources/windows_sign_dlls.ps1 index e54fc05aa..777705ee1 100644 --- a/scripts/Windows/resources/windows_sign_dlls.ps1 +++ b/scripts/Windows/resources/windows_sign_dlls.ps1 @@ -8,5 +8,5 @@ $files = Get-ChildItem $path -include ('*.exe', '*.dll') -Recurse for ($i=0; $i -lt $files.Count; $i++) { $file = $files[$i].FullName - signtool.exe sign /f $cert_path /p $pssw /t http://timestamp.comodoca.com/authenticode $file + signtool.exe sign /fd SHA256 /f $cert_path /p $pssw /t http://timestamp.comodoca.com/authenticode $file }