-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSI signature is reported as invalid in Windows 10 #76
Comments
Do you mean that the signature is invalid, or the file gets corrupted and can no longer be installed? What is your version of Windows 10? |
The signature comes up as invalid (and the CA certificate is installed in the system truststore, and it used to work before). The installer can still be run, so the file is not corrupted. |
Could you try the same command but targeting a .exe file instead? Is the signature also invalid? |
Yes, signing an .exe file still seems to work as normal (I tried signing with digest algorithms SHA-1 and SHA-256, the SHA-1 one is not recognized as signed, but I think this is due to Windows 10 stopped accepting SHA-1 as a digest algorithm. With SHA-256 the signature shows up as valid). |
MSI-files.zip |
I retried signing the sample file with Jsign 5.0 and the signature is still invalid. But there may be an issue with the MSI file actually, because signtool fails to sign it:
osslsigncode signs it but reports an error and the signature is invalid as well:
|
It looks like the sample file contains two empty entries ( If you try again signing a valid MSI file with Jsign 5.0 the signature should be valid. |
If I take the |
@mlundblad Do you remember how your sample file was generated? |
In an updated version of Windows 10, MSI files signed by JSign are reported as invalid.
I used the CLI with the following command:
$ jsign -s <keystore.p12> --storepass -a file.msi
Also tried with -d and different digest algorithms (SHA1 and SHA-256).
The text was updated successfully, but these errors were encountered: