Automic VaultAutomic Vault

brew

Install gotpm with Homebrew

CLI for using TPM 2.0. Version 0.4.9 via Homebrew; verified 2026-06-05.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gotpm

local Homebrew formula metadata

overview

Package summary

CLI for using TPM 2.0

Commands and aliases

  • gotpm

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2018: Google copyright and repository metadata place go-tpm-tools in Google's TPM 2.0 support work.
  • 2020: v0.2.1 release notes described signer improvements.
  • 2021: v0.3.0 release notes emphasized attestation generation and verification.
  • 2021: v0.3.0 prereleases previewed the larger attestation-oriented update series.

Related projects

  • google/go-tpm provides the lower-level TPM library that go-tpm-tools complements.
  • Microsoft's TPM 2.0 simulator is used through the go-tpm-tools simulator bindings.
  • Trusted Computing Group TPM 2.0 specifications define the hardware/security domain that the tool targets.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 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.

executables

Installed executables

CommandKindExposureNote
gotpmcliglobal 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.4.9
manager updated2026-06-05
local dataok
upstreamcurrent
latest detectedv0.4.9

https://github.com/google/go-tpm-tools

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gotpm
Version0.4.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gotpm
Homepagehttps://github.com/google/go-tpm-tools
Repositoryhttps://github.com/google/go-tpm-tools
Upstream docshttps://github.com/google/go-tpm-tools#readme
LicenseApache-2.0
Source archivehttps://github.com/google/go-tpm-tools/archive/refs/tags/v0.4.9.tar.gz
Last updated2026-06-05T11:31:16Z
Pulseupdated
Build dependenciesgo
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 Namegotpm
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

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 package history
  • package relationship graph
  • package version freshness
  • package-page enrichment