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

Notarize Mac binaries #1675

Closed
feross opened this issue Sep 6, 2019 · 1 comment · Fixed by #1835
Closed

Notarize Mac binaries #1675

feross opened this issue Sep 6, 2019 · 1 comment · Fixed by #1835

Comments

@feross
Copy link
Member

feross commented Sep 6, 2019

macOS 10.15 Catalina will require apps to be "notarized".

Notarization is all about identifying and blocking malicious Mac software prior to distribution, without requiring App Review or the Mac App Store.

Changes will likely be required to the WebTorrent packaging process to conduct the notarization step with Apple, which they claim takes around 15 minutes.

More about what notarization is:

So let's run through a little bit about what the workflow looks like when you need to start notarizing your software for the first time. Here's a diagram that talks a little bit about what the development workflow can look like and local development remains completely unchanged. You build and sign at your desk using your Apple Developer Certificates until you have a release candidate. At that point you sign the software with your Developer ID Certificate, and you can send a copy of it to the Apple Notary Service for notarization. When notarization is complete and successful, the Notary Service can send back a ticket which you staple to your software prior to distribution and once it's stapled, the software is ready for distribution just like you did before. Now it's worth calling out that this workflow didn't change at all from last year, so this is just a bit of a refresher. Now what we didn't talk about last year was what happens when someone downloads your software and uses it for the first time.

So when a user downloads your stapled software and double-click it to launch it, the gatekeeper will perform a verification. It'll check the local ticket and it will also reach out to the Notary Service via CloudKit to check for a ticket also.

As long as the ticket checks out and the ticket matches the content of your app, gatekeeper will allow the application and the user will see the normal first launch prompt.

@feross
Copy link
Member Author

feross commented Jul 16, 2020

Screen Shot 2020-07-15 at 10 45 10 PM

Looks like it worked: says "Apple checked it for malicious software and none was detected"

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

Successfully merging a pull request may close this issue.

1 participant