macOS
brew install gotpmlocal Homebrew formula metadata
brew
CLI for using TPM 2.0. Version 0.4.9 via Homebrew; verified 2026-06-05.
install
brew install gotpmlocal Homebrew formula metadata
overview
CLI for using TPM 2.0
history
gotpm is the command-line companion in Google's go-tpm-tools repository, a TPM 2.0 support module built to sit above google/go-tpm. The repository packages higher-level client, server, protobuf, simulator, and CLI pieces for Go programs that need TPM signing, attestation, PCR reads, sealing, event-log handling, or related workflows.
go-tpm-tools dates to Google's 2018 TPM 2.0 work and explicitly narrows its scope to TPM 2.0 rather than TPM 1.2. The README frames the library as a complement to Go-TPM: Go-TPM supplies lower-level TPM access, while go-tpm-tools adds simplified APIs and workflows around attestation, signing, import, event logs, and server-side verification. gotpm is exposed from the same repository as the user-facing CLI for exercising TPM operations without writing Go code.
The package-manager footprint is modest compared with broader security scanners, but the Homebrew formula and the repository's documented `go install github.com/google/go-tpm-tools/cmd/gotpm@latest` path made gotpm available to developers who wanted a Go-native TPM utility. Adoption is tied to hardware-backed security, confidential-computing, and attestation users rather than general-purpose shell workflows.
gotpm is installed either with `go install` from the repository or by building the `cmd/gotpm` directory from a clone. The README directs users to `gotpm --help` and per-command help, while the surrounding packages document TPM 2.0 operations such as signing, attestation, PCR reads, sealing and unsealing, NV data reads, and TCG event-log handling.
For package maintainers, gotpm is a small but useful example of a hardware-facing Go CLI where distribution quality depends on CGO/OpenSSL simulator edges, Go toolchain support, and whether the host actually has TPM 2.0 access. It also sits in the package ecosystem around google/go-tpm, which matters for people tracking Go security tooling and reproducible attestation utilities.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gotpm | cli | global executable |
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.
https://github.com/google/go-tpm-tools
install metadata
| Package key | brew:gotpm |
|---|---|
| Version | 0.4.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gotpm |
| Homepage | https://github.com/google/go-tpm-tools |
| Repository | https://github.com/google/go-tpm-tools |
| Upstream docs | https://github.com/google/go-tpm-tools#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/google/go-tpm-tools/archive/refs/tags/v0.4.9.tar.gz |
| Last updated | 2026-06-05T11:31:16Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gotpm |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.