ericwj / PsSecDrv

PowerShell script and module to install the SECDRV copy protection driver on Windows 10.
42 stars 10 forks source link

SignTool Error: Invalid SHA1 hash format /fd #14

Open lordvader00 opened 3 weeks ago

lordvader00 commented 3 weeks ago

Hello, I have been trying to get this to work on Windows 10 PRO 21h2. I have used all the links in the post for the Windows SDK and secdrv.sys.

I keep getting the error SignTool Error: Invalid SHA1 hash format: /fd when I attempt to sign and timestamp the certificate.

Do you have any ideas?

Thank you.

ericwj commented 3 weeks ago

It should work. Something is wrong with the command arguments or the certificate. What is the value of $Publisher before you run signtool? What do you get to see if you do dir Cert:\LocalMachine\TrustedPublisher\? Is $Publisher.Thumbprint in the list? Does $Publisher.Subject contain the text SECDRV?