Conversation
Binaries are now signed with the Developer ID Application certificate and notarized with Apple before archiving, from the existing Linux runner (no macOS runner needed). The Homebrew cask drops its de-quarantine preflight hack — Gatekeeper passes the notarized binary on its own. A preflight step fails the release if the signing secrets are absent from the release environment, so a misconfiguration cannot silently publish unsigned binaries; secrets are exposed to the goreleaser step only. Credential setup, rotation, and leak response are documented in .github/SIGNING.md.
…list The job now holds code-signing keys, so audit-only egress monitoring is no longer enough — block mode limits a compromised dependency or action to the listed endpoints (GitHub, Go module proxy/toolchain, Apple notary API and its S3 upload buckets, GitHub Sigstore for attestations). The list is reconstructed from what each step is known to contact; the audit reports from v0.5.x releases can confirm it before the first signed release. A blocked legitimate endpoint shows up by name in the harden-runner report and should be added deliberately.
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.
What
notarizeblock (quill) — runs on the existingubuntu-latestrunner, before archiving, so tarballs/checksums/attestations all cover the signed Mach-O.wait: truemeans a rejected notarization fails the release before anything is published.blockmode on the release job (wasaudit) with an explicit allowlist, since the job now holds signing keys. Shai-hulud-style exfil from a compromised dep/action is limited to the listed endpoints..github/SIGNING.md— credential setup, rotation, and leak-response runbook.Before the next release (manual, see .github/SIGNING.md)
.p12(Keychain Access); store the password.p8gh secret setthe fiveMACOS_*secrets into thereleaseenvironmentMerging before the secrets exist is safe — the preflight step just fails any tagged release until they're in place.
Caveats
--timeoutraised to 60m.