specify sign algorithm for windows signing

This commit is contained in:
alemuntoni 2021-10-27 11:20:48 +02:00
parent ac5bb13d0d
commit 1b4fb2347e

View File

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