Automic VaultAutomic Vault

brew

Install trezor-agent with Homebrew, Nix

Hardware SSH/GPG agent for Trezor and Ledger. Version 0.13.0 via Homebrew; verified 2026-05-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install trezor-agent

local Homebrew formula metadata

overview

Package summary

Hardware SSH/GPG agent for Trezor and Ledger

Commands and aliases

  • age-plugin-trezor
  • trezor-agent
  • trezor-gpg
  • trezor-gpg-agent
  • trezor-signify
  • trezor_agent.py

history

Project history and usage

trezor-agent is a hardware-backed SSH, GPG, and age agent that grew out of early Trezor firmware support for using a hardware wallet as an identity and signing device. In package-manager culture it sits in the security-tools niche: a small CLI package that lets developers keep authentication and signing keys on a hardware device while still using familiar Unix tools.

Project history

Trezor firmware 1.3.4, announced in September 2015, credited Roman Zeyde's work and introduced NIST P-256 support so a Trezor could be used for SSH login. The official instructions in that announcement installed `trezor_agent`, generated a public key with `trezor-agent`, and used the result in `authorized_keys`.

Firmware 1.3.6 extended the same idea beyond SSH by adding GPG key generation for signing email or documents and by pointing users to Trezor Agent for the user-space tooling. The repository later generalized the model into a shared `libagent` plus device-specific agents for Trezor, Blockstream Jade, and OnlyKey.

Adoption history

The project was adopted by users who wanted hardware-backed developer identity without changing their normal SSH, Git, GPG, or password-store workflows. Its README lists signing email, Git commits, and software packages, managing passwords with `pass` or `passage`, and authenticating web tunnels and file transfers as representative uses.

Package-manager availability through Homebrew and Nix made it installable in the same way as other command-line security tools, which mattered because trezor-agent is usually used from shells, SSH subprocesses, Git commands, GPG, and systemd user units rather than as a standalone application.

How it is used

For SSH, users derive a public key from an identity string, add that public key to remote access controls, and run commands or shells with `SSH_AUTH_SOCK` pointed at the agent. The official SSH guide also documents Git and Mercurial repository access, Git commit signing through SSH signatures, and optional systemd socket activation.

For GPG, users initialize a dedicated `GNUPGHOME` such as `~/.gnupg/trezor`, then continue using normal GPG-aware software while the agent asks the hardware device to sign or decrypt. The GPG guide covers commit and tag signing, password-store integration, file signing/decryption, and email use.

Why package nerds care

trezor-agent is interesting to package nerds because it turns a cryptocurrency hardware wallet into a Unix authentication primitive. It bridges hardware-wallet APIs into the ecosystem of `ssh-agent`, GnuPG, Git signing, `pass`, systemd user sockets, and age plugins.

The package is also a good example of Homebrew packaging for a tool whose value is not a daemon or GUI, but a collection of small executables that plug into existing developer workflows: `trezor-agent`, `trezor-gpg`, `trezor-gpg-agent`, `trezor-signify`, and `age-plugin-trezor`.

Timeline

  • 2015: Trezor firmware 1.3.4 announcement documents SSH login with `trezor-agent`.
  • 2016: Trezor firmware 1.3.6 announcement adds GPG signing support and references Trezor Agent.
  • 2022: Official SSH guide documents Git commit signing with SSH signatures.
  • 2026: GitHub repository lists `libagent/0.16.1` as the latest release on March 1, 2026.

Related projects

  • Related components include `libagent`, `jade_agent`, `onlykey-agent`, GnuPG, OpenSSH, age, pass, and Trezor firmware features for SSH/GPG operations.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for trezor-agent. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 6 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.ssh/agent.conf~/.gnupg/trezor

executables

Installed executables

CommandKindExposureNote
age-plugin-trezorcliglobal executable
trezor-agentcliglobal executable
trezor-gpgcliglobal executable
trezor-gpg-agentcliglobal executable
trezor-signifycliglobal executable
trezor_agent.pycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.13.0
manager updated2026-05-15
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/romanz/trezor-agent

install metadata

Package metadata

Package keybrew:trezor-agent
Version0.13.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/trezor-agent
Homepagehttps://github.com/romanz/trezor-agent
Repositoryhttps://github.com/romanz/trezor-agent
Upstream docshttps://github.com/romanz/trezor-agent#readme
LicenseLGPL-3.0-only
Source archivehttps://files.pythonhosted.org/packages/d9/b1/e533c417259dc112a067226d4c95cb772d7c090b696a61a065e1e41429d6/trezor_agent-0.13.0.tar.gz
Last updated2026-05-15T11:13:55Z
Pulseupdated
Dependenciescertifi, cryptography, hidapi, libsodium, libusb, python@3.14
Build dependenciespkgconf, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametrezor-agent
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

trezor-agent

nix profile install nixpkgs#trezor-agent
  • normalized package name match
  • Matched by: Trezor Agent
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: trezor-agent from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment