1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[misc] use SHA-256 for signing hash

* Should have done that some time ago, especially in light of
  http://social.technet.microsoft.com/wiki/contents/articles/32288.windows-enforcement-of-authenticode-code-signing-and-timestamping.aspx
This commit is contained in:
Pete Batard 2016-01-08 16:56:54 +00:00
parent b77561bb9b
commit 92631d1204
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
:retry
@set /p password=Please enter PFX password:
@"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool" sign /v /f D:\Secured\akeo\akeo.p12 /p %password% /tr http://timestamp.comodoca.com/rfc3161 %1 %2 %3 %4
@set /p password=Please enter PFX password:
@"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool" sign /v /fd SHA256 /f D:\Secured\akeo\akeo.p12 /p %password% /tr http://timestamp.comodoca.com/rfc3161 %1 %2 %3 %4
@if ERRORLEVEL 1 goto retry
@set password=
@exit