News for hackers. Stuff that matters.
Re:Windows gifski.exe with a digital signature by eco on Thursday May 31, 2018 @07:01PM (#17201096)
signtool badly needs to be updated. The interface is very confusing and the documentation, while fairly complete, isn't very helpful.

That said, I just upgraded ours and didn't have much trouble switching to sha256. There is one quirk about the order of the arguments due to some limitation with the timestamping servers. The documentation loudly points this out though. If it helps, here's my exact command line:

    signtool.exe
        sign /v
        /n "Company, LLC"
        /ph /d "Description"
        /du "https://www.website.com"
        /tr "http://timestamp.comodoca.com"
        /td sha256 # /td must come after /tr
        /fd sha256
        executable.exe
Not being able to automate these EV hardware tokens because of the password is a pain that I'm already annoyed by though.
Re:Windows gifski.exe with a digital signature by spydum on Friday June 01, 2018 @07:39AM (#17204372)
Pretty sure the new way is via PowerShell: Set-AuthenticodeSignature -HashAlgorithm "sha256" -IncludeChain "all" -FilePath "File" -Certificate $Cert -TimestampServer $TSUrl
Re:Windows gifski.exe with a digital signature by 456hdsaq234g on Thursday May 31, 2018 @07:23PM (#17201228)
Can you confirm that the reason the password is forced is the PKCS12 (pfx) import has flagged the key as requiring a password every signature? (and it cannot be disabled).

I believe you can use mimikatz to forcibly strip the strong protection flag from the key. Microsoft says this is normally not possible, yet here we are. You might want to try downgrading the strong protection flag on the key material, it may allow for automated signing.

Re:Windows gifski.exe with a digital signature by gargravarr on Friday June 01, 2018 @06:34AM (#17204099)
> # /td must come after /tr

Confirmed HTML

Re:Windows gifski.exe with a digital signature by jwilk on Saturday June 02, 2018 @05:08AM (#17213640)
But... it's </td></tr> in HTML. :-P