Skip to content
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

signWithParams on Windows #454

Closed
ccnokes opened this issue May 31, 2016 · 4 comments
Closed

signWithParams on Windows #454

ccnokes opened this issue May 31, 2016 · 4 comments

Comments

@ccnokes
Copy link

ccnokes commented May 31, 2016

I recently upgraded from electron-builder 3.16 to 3.25.0 and just realized that my Windows code signing is no longer happening. This looks like an API change.

My build.win looks like:

"win": {
      "certificateFile": "Certificates.p12",
      "signWithParams": "/a /t http://timestamp.digicert.com /sha1 xxxx",
}

It looks like these properties are no longer used and that global env vars like CSC_LINK are used instead.

So, my question is: how do I pass params to the Windows code sign now? I'm not seeing a way to sign it with parameters in the new version.

node -v5.1.1
npm -v 3.3.12
Windows 10

@ghost
Copy link

ghost commented May 31, 2016

Related #449

@ccnokes
Copy link
Author

ccnokes commented May 31, 2016

Thanks @bontibon. I'll track your issue.

@ccnokes ccnokes closed this as completed May 31, 2016
@develar develar reopened this Jun 1, 2016
@develar
Copy link
Member

develar commented Jun 1, 2016

signWithParams

Is not supported because on Linux we use another tool to sign. And please note — now we sign using timestamp and sha1/sha256 dual by default.

certificateFile

Please use CSC_LINK (you can set it to base64 data of file). If it is not suitable for you, we can add support for file param (but! on OS X we use keychain and, maybe, on Windows also there is such system store?).

@develar
Copy link
Member

develar commented Jun 2, 2016

Duplicates #449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants