I am currently developing drivers for Windows 10, and I also have a code-signing certificate. When I sign my files, they get the signature and a hash set in the properties. However, Windows 10 refuses to install them displaying the following error message:
The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.
Here is the syntax I use to sign my two CAT files, what am I doing wrong?
"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\signtool.exe" sign /f "C:\Users\me\Documents\MyDrivers\MyGroup.pfx" /p myPassw0rd /d "Test" /du http://www.my0c0mpany.com" /t "http://timestamp.verisign.com/scripts/timestamp.dll" /v /ph "C:\Temp\MyDriver\v0.3\*.cat" The following certificate was selected: Issued to: MyGroup Issued by: COMODO RSA Code Signing CA Expires: Tue Sep 17 02:59:59 2018 SHA1 hash: * Done Adding Additional Store Successfully signed: * Successfully signed: * Number of files successfully Signed: 2 Number of warnings: 0
Is there something I am missing? Number of errors: 0