Skip to content

Fix: first DMG pass signed before the certificate existed - #10

Open
MasterYoav wants to merge 1 commit into
masterfrom
dmg-sign-only-when-imported
Open

MasterYoav wants to merge 1 commit into
masterfrom
dmg-sign-only-when-imported

Conversation

@MasterYoav

Copy link
Copy Markdown
Owner

The first signed release failed at Create DMG with no identity found — my bug from #5. CI runs create-dmg.sh before the certificate is imported (to produce an unsigned DMG when there are no secrets) and again from sign-mac-app.sh afterwards. Signing keyed on MACOS_SIGNING_IDENTITY being set broke the first pass.

Now it signs only when security find-identity actually finds the identity. Verified both paths locally: a named-but-absent identity builds unsigned; the real one signs the uninstaller (TeamIdentifier N6883L5366).

🤖 Generated with Claude Code

CI builds the DMG twice — unsigned first, then again after the import step.
Keyed on the identity's name alone, the first pass failed the release with
"no identity found". It now signs only when the identity is in a keychain.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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