-
-
Notifications
You must be signed in to change notification settings - Fork 525
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
MakerSquirrel fails to build an up because of broken windowsSign config #3770
Comments
This indicates signing failed. Usually, this happens if the Unfortunately, it doesn't currently print the exact error message from To those scripts, add logging to a log file using |
As you can see, singing config is straightforward. It's simply impossible that the configuration is incorrect here: new MakerSquirrel({
// As easy as pie
windowsSign: {
certificateFile: "C:\\Users\\user\\my_codesign_certificate.pfx",
certificatePassword: "my-password"
}
} Here is the output of the
|
Yes, the error message implies there's probably something wrong with the certificate. |
I think it's still a bug if it works using the legacy parameters and doesn't using the modern way. Can confirm this bug with this dummy self-issued certificate with password |
Pre-flight checklist
Electron Forge version
7.6.0
Electron version
33.2.1
Operating system
Microsoft Windows 11 Pro N (10.0.22621 N/A Build 22621)
Last known working Electron Forge version
No response
Expected behavior
The executable file has been created and signed.
Actual behavior
MakerSquirrel
crashes with exit code4294967295
Steps to reproduce
pfx
file and password using thewindowsSign
parameter ofMakerSquirrelConfig
in theforge.config.ts
file:Additional information
Console output as is
Console output with
DEBUG=electron-forge:*
The app project source code that reproduces the error
The text was updated successfully, but these errors were encountered: