ericwj / PsSecDrv

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

SignTool Error: Invalid SHA1 hash format: /t #11

Open KSenfiz opened 1 month ago

KSenfiz commented 1 month ago

Hello, I followed your tutorial to the letter, but at image part i get image and I don't knnow why.After I wen to look trough closed Issues to see If someone else got the same problem and got it solved, but only found a perculiar issue at https://github.com/ericwj/PsSecDrv/issues/5 where appearantly user got a different output in PowerShell at command image for him PowerShell returned with image but for me it's image and I seriously dunno what to do and would rreally appreciate if you could enlighten me where I go worng. If you need more information please let me know.

HelpfulFriend commented 3 weeks ago

This issue happens if you forget to drop the self signed certificate in the "trustedPublisher" folder in certlm. If you look at the script. It pulls the certificate from CERT:\LocalMachine\TrustedPublisher. so if your $publishers variable is empy you will not get the thumbprint, thereby not be able to sign it.