FYI, for others coming here. If you need more parameters on your signtool command, you will have to modify this helper batch file.
For my use, previously, I signed files with:
to get this to work using SUF, I had to make the helper batch file as follows:
This was because on the SHA-256 signing, each of my additional arguments setup below got passed as separate parameters to the batch file which pushed it over the max of 9 arguments without using the shift command.
My SHA-1 additional arguments setup in SUF as:
and my SHA-256 additional arguments setup in SUF as:
This re-orders the parameters being sent to signtool but it did still work.
For my use, previously, I signed files with:
Code:
signtool.exe sign /a /s my /t http://timestamp.verisign.com/scripts/timstamp.dll /v %1 signtool.exe sign /a /s my /fd SHA256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /td sha256 /as /v %1
Code:
@ECHO OFF set adtl_args=%1 %2 %3 %4 %5 shift shift shift shift shift /path/to/signtool.exe sign %adtl_args% %1 %2 %3 %4 %5 %6 %7
My SHA-1 additional arguments setup in SUF as:
Code:
/a /s my /v
Code:
/a /s my /as /v /fd SHA256
Comment