Repository navigation
feat(release): sign and notarize releases with a Developer ID - #29
Merged
Merged
Conversation
rbstp
enabled auto-merge (squash)
September 7, 2026 04:38
Releases were ad-hoc signed, which left two marks on everyone who installed one. Gatekeeper refuses a quarantined copy outright, so the cask had to strip the quarantine attribute itself, and every version was a new identity to TCC, so the Accessibility grant died on every upgrade. A Developer ID signature fixes both. The Makefile now prefers that certificate when its private key is in the keychain, keeps the self-signed identity from `make cert` as the fallback for anyone without it, and adds the hardened runtime and a secure timestamp the notary service requires. `make dist` submits the archive, staples the ticket into the app and repacks, so the download carries its own ticket rather than needing the network on first launch. It warns rather than fails when it has to build with an identity the notary service cannot check. The release workflow imports the certificate into a keychain of its own, passes the App Store Connect key straight to `make dist`, and refuses to publish anything without a stapled ticket. The cask keeps its `tccutil reset` for one more release: an upgrade from an ad-hoc build carries a grant whose designated requirement no longer matches, and macOS stays quiet about a permission it already has a record for.
rbstp
force-pushed
the
feat/developer-id-signing
branch
from
September 7, 2026 04:39
6cfb617 to
035b20c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases were ad-hoc signed, which left two marks on everyone who installed one. Gatekeeper refuses
a quarantined copy outright, so the cask had to strip the quarantine attribute itself, and every
version was a new identity to TCC, so the Accessibility grant died on every upgrade.
make bundlenow prefers the Developer ID Application certificate when its private key is in thekeychain, keeps the self-signed identity from
make certas the fallback for anyone without it, andrefuses to sign when it finds neither --
ADHOC=1still overrides that on purpose. A Developer IDbuild gets the hardened runtime and a secure timestamp, which notarization requires.
make distthen submits the archive, staples the ticket into the app and repacks it, so what peopledownload carries its own ticket instead of needing the network on first launch. It warns and carries
on when the build was signed with something the notary service cannot check, rather than failing a
contributor's packaging run.
The release workflow imports the certificate into a keychain of its own, passes the App Store Connect
key straight to
make distfrom five new repository secrets, and refuses to publish an archivewithout a stapled ticket.
The cask is deliberately left alone. It keeps its
tccutil resetfor this release, because anupgrade from an ad-hoc build carries a grant whose designated requirement no longer matches, and
macOS stays quiet about a permission it already has a record for. From the release after this one
the grant carries across versions and that reset can go.