Repository navigation
Notarize releases so a download opens without a warning - #20
Merged
Merged
Conversation
Gatekeeper refused to open the v0.1.0 DMG after download because it was signed with an Apple Development certificate. An unsigned image mounts and shows the installer window; the app inside keeps its signature. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A notarized, stapled DMG opens after download without a Gatekeeper warning, so the installer drops the Open Anyway hint. The app is signed with the hardened runtime notarization needs. Publishing refuses anything but Developer ID. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
progremir
force-pushed
the
claude/unsigned-dmg
branch
from
October 25, 2026 20:56
8b1e19c to
b71e4c0
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The v0.1.0 DMG would not open after download. Gatekeeper said it could not verify the image was free of malware, because the DMG was signed with an Apple Development certificate.
What changed
release.shsigns the app and the DMG with Developer ID by default (Developer ID Application: Emir Amanbekov (ZZ2G9658MN)). It then notarizes the DMG with thehyperpointnotarytool keychain profile, staples it and checks it withspctl.--publishrefuses anything but a Developer ID build, so an un-notarized DMG cannot reach a release again.build-app.shsigns with the hardened runtime, which notarization requires.SIGN_TIMESTAMP=1adds the secure timestamp. Hyperpoint needs no entitlements under it: it only spawns/usr/bin/hidutiland usesSMAppService.Before the next release
xcrun notarytool store-credentials hyperpoint --apple-id <apple-id> --team-id ZZ2G9658MNwith an app-specific password.Verification
openrefused the Apple Development-signed DMG (-128). The unsigned one mounted and showed the installer window.release.shstops before building.--publishwith an Apple Development identity is refused.flags=0x10000(runtime)on the app and an unsigned DMG. The CI ad-hoc path still builds.🤖 Generated with Claude Code