Skip to content

Dequarantine the brew cask binary on install#67

Merged
tamnd merged 1 commit into
mainfrom
cask-dequarantine
Jul 7, 2026
Merged

Dequarantine the brew cask binary on install#67
tamnd merged 1 commit into
mainfrom
cask-dequarantine

Conversation

@tamnd

@tamnd tamnd commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Same fix that landed on shirabe. Homebrew quarantines cask artifacts and Gatekeeper kills quarantined binaries that are only ad-hoc signed, which cross-compiled Go binaries are, so a fresh brew install of kage dies with exit 137 on first run.

This adds the postflight xattr hook to the cask config so the next release generates a cask that strips the attribute at install time. The live cask in the tap gets the same hook patched in directly.

Homebrew quarantines cask artifacts and Gatekeeper SIGKILLs quarantined
binaries that are only ad-hoc signed, which cross-compiled Go binaries
are. shirabe hit this first: brew install worked but the binary died
with exit 137 until the attribute was stripped by hand. Add the same
postflight xattr hook here so casks from the next release run first
try.
@tamnd tamnd merged commit 7483efd into main Jul 7, 2026
9 checks passed
@tamnd tamnd deleted the cask-dequarantine branch July 7, 2026 01:40
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