-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot extract publisher name from code signing certificate, please file issue. (Windows) #2875
Comments
I ran the command electron-builder ran and got a password error: But then I ran the command with my actual password (rather than the sha256 hash) and it successfully signed:
|
Let me know what else you need to debug this. I'm confused why running the same command electron-builder is running works for me but fails for electron-builder. |
@develar is there a way to have electron-builder run |
I monkey-patched
Also, I should note that I'm running this through many layers of things. So perhaps this isn't an electron-builder issue. Here's the layers:
I'll keep debugging the issue, but at the very least, could the |
|
@iffy you need to debug not signtool, but powershell command. |
for security reasons we never print your actual password to console/logs. |
20.13.3 published, please try. |
I also received the
In my case, the root of the problem was this Firefox issue with exporting certificates. I exported my certificate from Firefox, and I can't install the certificate through the Windows GUI either, which says the password is incorrect. So the problem was not with |
@andymorris my latest try sort of resembles what you describe, but not quite the same. Also, I'm doing all of this on the command line with environment variables. @develar Here's the output with v20.13.3:
I'll look into the errors, but maybe you already know what it means. |
I'm thinking this is a VirtualBox/Windows bug, not electron-builder. As I mentioned before, I'm running electron-builder through I have two problems:
But, if I open a GUI VirtualBox window and sign in as the default user before running electron-builder, both of those problems are gone 😕 In other words, simply having logged in with the Windows GUI (and not even using the window for anything) solves my problem. Unless you happen to know why this happens, I'm closing this because it's not your problem to fix. |
I'm building on a Windows 10 VM with a code signing certificate. Here's what I've tried:
and got this error (which is why I'm filing this issue):
win.publisherName
set:Here's the relevant portion of
package.json
:This produced the following error:
The text was updated successfully, but these errors were encountered: