Skip to content

macOS Homebrew binary signing failure #4117

@tlimoncelli

Description

@tlimoncelli

Describe the bug

Disclaimer: I'm no expert on Homebrew or how casks work.

Is this just me or are others not getting a signed binary?

It works on one machine:

$ brew install dnscontrol
==> Fetching downloads for: dnscontrol
✔︎ Bottle Manifest dnscontrol (4.35.0)                                                   Downloaded    7.5KB/  7.5KB
✔︎ Bottle dnscontrol (4.35.0)                                                            Downloaded   16.6MB/ 16.6MB
==> Pouring dnscontrol--4.35.0.arm64_tahoe.bottle.tar.gz
==> Caveats
dnscontrol bash completion depends on the bash-completion package.
==> Summary
🍺  /opt/homebrew/Cellar/dnscontrol/4.35.0: 8 files, 56.8MB
==> Running `brew cleanup dnscontrol`...
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions

$ /opt/homebrew/bin/dnscontrol
NAME:
...

On another, I get the warning that the binary is not signed and offers to put it in the trash:

$ brew install dnscontrol
Warning: Treating dnscontrol as a formula. For the cask, use stackexchange/tap/dnscontrol or specify the `--cask` flag. To silence this message, use the `--formula` flag.
==> Fetching downloads for: dnscontrol
✔︎ Bottle Manifest dnscontrol (4.35.0)                                                                                       Downloaded    7.5KB/  7.5KB
✔︎ Bottle dnscontrol (4.35.0)                                                                                                Downloaded   16.6MB/ 16.6MB
==> Pouring dnscontrol--4.35.0.arm64_tahoe.bottle.tar.gz
==> dnscontrol cask is installed, skipping link.
==> Caveats
dnscontrol bash completion depends on the bash-completion package.
==> Summary
🍺  /opt/homebrew/Cellar/dnscontrol/4.35.0: 8 files, 56.8MB
==> Running `brew cleanup dnscontrol`...
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions

$ which -a dnscontrol
/Users/tlimoncelli/bin/dnscontrol
/opt/homebrew/bin/dnscontrol

$ /opt/homebrew/bin/dnscontrol

I have a feeling I used brew install dnscontrol instead of brew install StackExchange/tap/dnscontrol` a long time ago. Not sure if that has confused things.

Suggestions?

Tom

CC: @cafferata

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions