Closed gumispl closed 3 years ago
You can enable single sign on as follow:
Unfortunately I'm not using SafeNet Client. I have certificate from CERTUM which is supplied with client app proCertum Card Manager which doesn't have such option.
why don't you ask the certificate provider?
Unfortunately I'm not using SafeNet Client. I have certificate from CERTUM which is supplied with client app proCertum Card Manager which doesn't have such option.
Having same issue like you, I think electron-builder should make win.certificatePassword options suitable for both EV and Non EV Cert.
codes below seems that as long as /p arg is provided, then we will not need input password manually.
// app-builder-lib/src/codeSign/windowsCodeSign.ts
const password = options.cscInfo == null ? null : (options.cscInfo as FileCodeSigningInfo).password
if (password) {
args.push(isWin ? "/p" : "-pass", password)
}
why don't you ask the certificate provider?
I had asked and unfortunately they have no solution.
Having same issue like you, I think electron-builder should make win.certificatePassword options suitable for both EV and Non EV Cert. codes below seems that as long as /p arg is provided, then we will not need input password manually.
I think that this is not that easy as this argument serves a different purpose:
/p
Specify a password to use when opening the PFX file.
I see two possible work-arounds:
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I'm still looking for a solution.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I'm still looking for a solution.
did you find a solution ?
did you find a solution ?
Unfortunately no.
I'm using EV Code Signing certificate to avoid Windows SmartScreen warnings while launching NSIS. I just added 'certificateSubjectName' property to my 'builderOptions' section and it auto-magically works. But my EV Code Signing certificate requires USB smart card and it is asking me many many times to enter PIN for it during signing process. This is very annoying and frustrating.
Is there a way to tell Windows to remember PIN? Or maybe it is possible to configure electron-builder to only sign final installer exe?
I tried to sign final installer exe manually with signtool.exe instead of relying on electron-builder but then latest.yml have wrong hashes and auto-updater breaks.