镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

macOS Installer Requires Notarization To Be Run Under Catalina and Beyond #29216

Description

@enquora

Catalina and beyond refuse to execute installer package (because of lack of notarization). It is possible to circumvent this but the procedure is not discoverable and shouldn't be expected of normal users.

It is unlikely even this current work-around will be permitted in future versions of macOS. The installer package should either conform to platform security requirements or be removed from the distributions list entirely.

Activity

  1. added
    installIssues and PRs related to installing Node.js and its installers.
    macosIssues and PRs related to the macOS platform.
    on Aug 20, 2019
  2. bnoordhuis commented on Aug 20, 2019

    @bnoordhuis
    Member

    Reading through Customizing the Notarization Workflow, it sounds like it'd be a major PITA to integrate with our release process. Thanks, Apple!

  3. MajuMadhusudanan commented on Aug 21, 2019

    @MajuMadhusudanan

    I'm also facing the same problem. My package file bundle nodejs .PKG file. Now when I try to notarize my package file, apple rejects the package file saying it as invalid one. The below errors are coming in logs:

    /node-v8.11.3.pkg/node-v8.11.3.pkg Contents/Payload/usr/local/bin/node",
    "message": "The signature algorithm used is too weak.",

  4. silverwind commented on Aug 21, 2019

    @silverwind
    Contributor

    These requirements do not apply to Homebrew, right? If Apple's processes prove too tricky, maybe we should make that the recommended installation method.

  5. enquora commented on Aug 21, 2019

    @enquora
    Author

    Transferring responsibility for distribution to package managers is, indeed, one answer to a fundamental requirement of the modern computing landscape.

  6. duncanmak commented on Aug 28, 2019

    @duncanmak

    I also ship an app that has node bundled inside the app bundle, depending on Homebrew is not a viable solution for me.

    Will the Node.js foundation ship a hardened (optionally also notarized) copy of Node.js soon, in time for the release of MacOS Catalina?

  7. tylersmalley commented on Sep 11, 2019

    @tylersmalley

    Apple has announced that Catalina will be coming in October. It would be great to hear from the OpenJS Foundation to understand if they intend on notarizing the macOS Binary.

  8. devsnek commented on Sep 11, 2019

    @devsnek
    Member

    perhaps we should just recommend people install via brew/n/nvm/etc, easier to upgrade that way anyway.

  9. tylersmalley commented on Sep 11, 2019

    @tylersmalley

    @devsnek, unfortunately, that isn't an option for folks who ship a version of Node in their software as myself and multiple folks on this thread do.

  10. jasontedor commented on Sep 11, 2019

    @jasontedor

    It's also relying on an assumption that Homebrew won't add the quarantine extended attribute that causes Gatekeeper to enforce signing/notarization requirements. Note that applications installed by Homebrew Cask do get the quarantine extended attribute.

  11. somu84 commented on Sep 11, 2019

    @somu84

    Yea and resigning / hardening the node binary also doesn't work. As node tries to validate the signature and terminates if it's signed with any other certificate

  12. devsnek commented on Sep 11, 2019

    @devsnek
    Member

    sorry I don't know much about this packaging... Why can't you just bundle the node binary itself?

  13. somu84 commented on Sep 11, 2019

    @somu84

    Node binary terminates without providing any details as to why, when I try to codesign the binary with a different cert.

  14. 53 remaining items

  15. AshCripps commented on Apr 9, 2020

    @AshCripps
    Member

    This should be closed now, the latest 10.x and 12.x releases went out yesterday with notorization right?

  16. richardlau commented on Apr 9, 2020

    @richardlau
    Member

    I'll leave this pinned for a few days for visibility. Node.js 10.20.0, 12.16.2 and 13.12.0 are all notarized.

  17. unpinned this issue on Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to Node.js builds or CI infrastructure.installIssues and PRs related to installing Node.js and its installers.macosIssues and PRs related to the macOS platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions