Skip to content

Sign and notarize the macOS ToolHive CLI (thv) binary #5862

Description

@r3motecontrol

The macOS thv binary ships ad-hoc signed, so it carries no Developer ID signature (and therefore no Team ID to allowlist). In enterprise and managed macOS environments, this can make deployment difficult. Organizations that enforce binary allowlisting (for example, with Santa) typically trust binaries by their code-signing identity, so an ad-hoc signed binary like thv can't be allowlisted by Team ID.

The remaining options: approving each release by CDHash (which changes with every build) or allowing execution from a user-writable install path are generally less scalable and more operationally fragile. As a result, thv may be blocked in managed environments.

Would you be open to shipping a Developer ID signed (and ideally notarized) macOS thv binary? ToolHive Studio already appears to be signed with Developer ID Application: Stacklok, Inc, so extending the same approach to the CLI would make deployment much easier in enterprise-managed macOS environments.

codesign -dv --verbose=4 /opt/homebrew/bin/thv 2>&1 | grep -E 'Signature|TeamIdentifier'                                                         
Signature=adhoc
TeamIdentifier=not set

Activity

  1. added
    needs-triage
    on Jul 17, 2026
  2. added
    cli
    and removed
    needs-triage
    on Jul 30, 2026
  3. eleftherias commented on Jul 30, 2026

    @eleftherias
    Member

    That makes sense @r3motecontrol, we'll plan to get the signing prioritised. In the meantime, if you're using the ToolHive Studio that ships with a version of the thv CLI that is already signed.

  4. self-assigned this
    on Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cli

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions