Skip to content

chore: move Apple Developer ID signing identity to GitHub secret #99

Closed

Description

@jflowers

Summary

.github/workflows/release.yml line 95 hardcodes the Apple Developer ID certificate label as a literal string:

--sign "Developer ID Application: John Flowers (PGFWLVZX55)"

While this is a public certificate label (not a private key or credential), the same file uses ${{ secrets.MACOS_SIGN_IDENTITY }} for the signing identity in other steps. Using a secret reference consistently is defense-in-depth and avoids coupling the workflow to a specific developer identity.

Fix

Replace the hardcoded string at line 95 with ${{ secrets.MACOS_SIGN_IDENTITY }}, matching the pattern already used elsewhere in the same file. Ensure the MACOS_SIGN_IDENTITY secret is set to Developer ID Application: John Flowers (PGFWLVZX55) (or the current certificate label).

Location

  • .github/workflows/release.yml:95

Activity

  1. jsvob commented on Jun 4, 2026

    @jsvob

    Output from unbound-force:

    Looked at this during a review pass. The code change is a one-liner but it has two hard dependencies that make it owner-only work:

    1. Sequencing: release.yml is also touched by chore: add CI preflight gate to release workflow #100. This fix needs to land on top of that, so it can only be done cleanly after chore: add CI preflight gate to release workflow #100 merges.
    2. Secret provisioning: the MACOS_SIGN_IDENTITY secret needs to be set in repo Settings → Actions secrets before the next release. That's a repo admin step that has to accompany the code change.

    Both gates are in your court, @jflowers. The fix itself is trivial once #100 is merged.

  2. moved this from Backlog to Ready 🚀 in Unbound Force Planningon Aug 31, 2026
  3. added this to the release v0.18.0 milestone on Sep 2, 2026
  4. added
    bug
    on Sep 21, 2026
  5. yvonnedevlinrh commented on Sep 21, 2026

    @yvonnedevlinrh
    Contributor

    The panel confirmed that the hardcoded Apple Developer ID signing identity is inconsistent with the release workflow's existing secret-based configuration and makes future identity rotation unnecessarily coupled to source.

    With #100 now merged, the recommended remediation is to replace the literal signing identity with ${{ secrets.MACOS_SIGN_IDENTITY }} after a repository administrator has provisioned that secret. The change should preserve the existing unsigned-release fallback when signing secrets are unavailable and follow the repository's required spec-first workflow for CI changes.

    This triage was performed by the Divisor review panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions