-
Notifications
You must be signed in to change notification settings - Fork 79
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
Sign the entire macos app bundle #727
Comments
Because the apple developer docs are notoriously hard to search and the links often get broken, I am including a screenshot for posterity of the relevant info from https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html#//apple_ref/doc/uid/TP40005929-CH4-SW19: |
I know we talked about this briefly on the phone, but I thought I'd mention the couple things I was thinking about that might be additional things to think about:
|
https://github.com/pyinstaller/pyinstaller/wiki/Recipe-OSX-Code-Signing-Qt This example is for Qt, but the problem is the same - all our problematic directories contain periods in the name, and so are expected to be in bundle format. |
As of #697, we're correctly signing the mac binary DMG with the correct type of Apple-issued certificate 🎉 This is important for security because it ensures that the entire DMG (not just the app bundle in the DMG) is what we expect it to be. So security-wise I think we're fine. It also (I'm pretty sure) prevents any Gatekeeper warnings when the user opens the DMG.
The next step in our Apple security journey will be to sign the app bundle itself. This is one of the things needed in order to prevent Gatekeeper warnings when opening the app. The command to do so is
This recursively signs everything in the bundle from the most-deeply-nested up to the top. It complains about the following directories:
If you delete all these, it works! This is a good sign that our app bundle structure is not severely wrong. So we just need to remove or reorganize these folders somehow.
The text was updated successfully, but these errors were encountered: