cloudflare / cloudflare/cloudflared

💡 sign macOS release binaries

Open
#1,725 0 comments 0 reactions 0 assignees View on GitHub
Priority: Normal Type: Feature Request
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the feature you'd like**
The `cloudflared` binaries available for macOS via Homebrew / GitHub Releases are currently distributed without code signing.

```sh
codesign -dvv /opt/homebrew/bin/cloudflared

Executable=/opt/homebrew/Cellar/cloudflared/2026.7.3/bin/cloudflared
Identifier=a.out
Format=Mach-O thin (arm64)
CodeDirectory v=20400 size=296926 flags=0x20002(adhoc,linker-signed) hashes=9276+0 location=embedded
Signature=adhoc
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements=none
```

Wondering if this has been explored as an option for making `cloudflared` a trusted binary on macOS?

**Additional context**
To reduce risks posed by the execution of untrusted binaries, enterprises environments are beginning to enforce aggressive binary authorisation policies that restrict the execution of unsigned code. Having `cloudflared` signed with a Developer ID certificate would allow folks to maintain these policies without disrupting engineers' workflows.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how cloudflared binaries are built and distributed through GitHub Releases and Homebrew; the issue does not name specific files or tests. Determine what release-process changes would be needed to sign macOS binaries with a Developer ID certificate. Done means the distributed macOS binaries carry a verifiable signature.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, macos
Domain
release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.