question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gatekeeper assessment no longer valid on mac 10.14.5

See original GitHub issue

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:

Error: Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache /Users/kilian/workspace/personal/polypane/polypane/release/mac/Polypane.app
/Users/kilian/workspace/personal/polypane/polypane/release/mac/Polypane.app: rejected
source=Unnotarized Developer ID

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 for electron-osx-sign or provide in the programmable api: 'gatekeeper-assess': false

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
flaushicommented, Jun 18, 2019

Where can I set this option? I just have a package.json looking like: Edit: Nah, just the documentation is completely missing. Since 20.43.0, you can have the option "gatekeeperAssess" : false inside the mac key…

"build": {
    "asar": true,
    "appId": "de.xxx.datatool",
    "files": [
      "build/**/*",
      "package.json"
    ],
    "mac": {
      "category": "public.app-category.developer-tools",
      "icon": "icons/mac/icon.icns",
      "gatekeeperAssess" : false,
      "publish": {
        "provider": "s3",
        "bucket": "xxx"
      }
    },
5reactions
wagslanecommented, May 26, 2019

@Kilian Where does one put

--no-gatekeeper-assess 

or

'gatekeeper-assess': false 

as en electron-builder user?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gatekeeper assessment no longer valid on mac 10.14.5 #196
The following check is no longer valid on mac 10.14.5, because an unnotarized developer id is now an error: ...
Read more >
Developers - Gatekeeper assessment no longer valid on mac 10.14.5 -
26 May 2019 Posted by Kilian. The following check is no longer valid on mac 10.14.5, because an unnotarized developer id is now...
Read more >
Gatekeeper | Apple Developer Forums
Gatekeeper on macOS helps protect users from downloading and installing malicious software by checking for a Developer ID certificate from apps distributed ...
Read more >
How to Disable Gatekeeper and Allow Apps From Anywhere ...
Disable Gatekeeper in macOS Sierra from Terminal using a command. The Gatekeeper settings can be found in System Preferences > Security & ...
Read more >
Upcoming Mojave 10.14.5 update enables enforcement of ...
Upcoming Mojave 10.14.5 update enables enforcement of some Notarization & Gatekeeper controls. Today Apple released an updated developer ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found