Skip to content

Commit 91741e1

Browse files
authored
Merge pull request #330 from espressif/fix/signing_installer
Fixing signtool issue SignerSign() failed." (-2146869243/0x80096005)
2 parents 7819a0f + d0c3272 commit 91741e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Build-Installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ function SignInstaller {
398398
FailBuild -Message "CERTIFICATE variable is empty, unable to sign installer"
399399
}
400400

401-
$SignParameters = @("sign", "/tr", 'http://timestamp.digicert.com', "/f", $CertificateFile)
401+
$SignParameters = @("sign", "/td", 'sha256', "/tr", 'http://timestamp.digicert.com', "/f", $CertificateFile)
402402
if ($env:CERTIFICATE_PASSWORD) {
403403
"CERTIFICATE_PASSWORD detected, using the password"
404404
$SignParameters += "/p"

0 commit comments

Comments
 (0)