Automic VaultAutomic Vault

brew

使用 Homebrew 安装 gotpm

查看 gotpm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gotpm

local Homebrew formula metadata

概览

软件包摘要

CLI for using TPM 2.0

命令和别名

  • gotpm

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gotpmcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.4.9
管理器更新时间2026-06-05
本地数据OK
上游当前
检测到的最新版本v0.4.9

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:gotpm
版本0.4.9
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gotpm
主页https://github.com/google/go-tpm-tools
仓库https://github.com/google/go-tpm-tools
上游文档https://github.com/google/go-tpm-tools#readme
许可证Apache-2.0
源码归档https://github.com/google/go-tpm-tools/archive/refs/tags/v0.4.9.tar.gz
最后更新2026-06-05T11:31:16Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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