-
Notifications
You must be signed in to change notification settings - Fork 97
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
Gatekeeper assessment no longer valid on mac 10.14.5 #196
Comments
@Kilian Where does one put
or
as en electron-builder user? |
I think the proper fix for this is to run the Gatekeeper assessment after the As I reported in (electron-userland/electron-builder#3828 (comment)), the
|
@lane-c-wagner I don't think that's currently possible, but I'm going to open a PR for that. @martani the |
Is this what's causing the 'Appname is damaged and can't be opened' error with additional info that reads 'The app has been modified, and its code does not match the original signed code...'? It does seem to go away by adding export const signerOptions = {
identity: 'Developer ID Application',
keychain: '/Users/user/Library/Keychains/mykeychain.keychain-db',
verbose: true,
// Temporary: https://github.com/electron-userland/electron-osx-sign/issues/196
'gatekeeper-assess': false
}; |
Where can I set this option? I just have a package.json looking like:
|
I think |
The following check is no longer valid on mac 10.14.5, because an unnotarized developer id is now an error:
https://github.com/electron-userland/electron-osx-sign/blob/04e6b976e4289d01c7bcaf5f5fb67ac214219c17/sign.js#L108-L115
Running this gives the following breaking output:
This prevents electron-osx-sign from working on 10.14.5. You can circumvent it by commenting out the check above in node_modules and it will sign the app correctly.
Workaround
A quick workaround is to put
--no-gatekeeper-assess
forelectron-osx-sign
or provide in the programmable api:'gatekeeper-assess': false
The text was updated successfully, but these errors were encountered: