-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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 Mac OS Installer packages #9139
Comments
Relates #9139 This commit clarifies Mac OS Installer packages are unsigned due to additional work to obtain an Apple Developer ID Installer-signing identity.
This comment was marked as spam.
This comment was marked as spam.
As I was reading https://lokal.so/blog/guide-to-sign-and-notarize-your-go-app-for-outside-mac-app-store-distribution I noticed that they notarize the installer There's also some |
This comment has been minimized.
This comment has been minimized.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
As part of this work, the GitHub CLI website should be updated, directing users to download the Mac universal binary |
https://developer.apple.com/news/?id=saqachfa
|
This comment has been minimized.
This comment has been minimized.
This comment was marked as spam.
This comment was marked as spam.
Stapling is worthwhile, it attaches the notarization receipt to the package so that it's available even during offline validation. There's no need to notarize a package's contents separately, it can all be done in one pass (see here). You can authenticate to the notarization service either using an API key or an app-specific password. You can create an app-specific password through the Apple ID settings page for the account used to submit the notarization (docs). Here's an example using an app-specific password: productsign \
--sign "$DEVELOPER_ID_INSTALLER_CERTIFICATE" \
unsigned.pkg \
stapled.pkg
xcrun notarytool submit \
--wait \
--apple-id $APPLE_ID \
--team-id $TEAM_ID \
--password $APP_SPECIFIC_PASSWORD \
stapled.pkg
xcrun stapler staple stapled.pkg |
Describe the feature or problem you’d like to solve
Mac OS Installer package support added in #7554 should sign
.pkg
with an appropriate Developer ID Installer-signing identity.sign_macos
logic withinscript/sign
script/pkgmacos
Additional context
The existing GitHub CLI deployment workflow only has access to Developer ID Application certificate, which cannot be reused in for Installer packages.
The text was updated successfully, but these errors were encountered: