mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
* 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
7 lines
275 B
Batchfile
7 lines
275 B
Batchfile
:retry
|
|
@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
|