Skip to content

ci: zip darwin binaries before notarizing (apple rejects bare mach-o) - #45

Merged
uberware merged 1 commit into
mainfrom
ci/notarize-zip
Jun 25, 2026
Merged

ci: zip darwin binaries before notarizing (apple rejects bare mach-o)#45
uberware merged 1 commit into
mainfrom
ci/notarize-zip

Conversation

@uberware

Copy link
Copy Markdown
Owner

Dry-run #3: goreleaser fully succeeded (cross-compile, macOS signing, cosign, SBOMs, multi-arch Docker, GitHub release), then Notarize failed:

Error: do not know how to notarize dist/sqi-server_darwin_amd64_v1/sqi-server

Apple's notary service only accepts containers (.zip/.dmg/.pkg/.app), not bare Mach-O executables. Each signed binary is now zipped (zip -j) before rcodesign notary-submit. Stapling isn't possible for a bare binary/zip, but the submission registers the code-signature hash with Apple so Gatekeeper accepts the extracted binary via its online check (what the runbook's spctl verification relies on).

Re-validated by re-running the dry-run after merge.

🤖 Generated with Claude Code

@uberware
uberware merged commit be964c1 into main Jun 25, 2026
18 checks passed
@uberware
uberware deleted the ci/notarize-zip branch June 25, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant