# 使用 Homebrew, apt, pacman 安装 hopenpgp-tools

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

## 安装

```sh
sudo av install brew:hopenpgp-tools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hopenpgp-tools
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install hopenpgp-tools
```

  证据: Debian stable package indexes: hopenpgp-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S hopenpgp-tools
```

  证据: Arch Linux sync databases: hopenpgp-tools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:hopenpgp-tools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/hopenpgp-tools>
- **版本:** 0.25.2
- **来源摘要:** Command-line tools for OpenPGP-related operations
- **主页:** <https://hackage.haskell.org/package/hopenpgp-tools>
- **上游文档:** <https://hackage.haskell.org/package/hopenpgp-tools>
- **许可证:** AGPL-3.0-or-later
- **源码归档:** <https://hackage.haskell.org/package/hopenpgp-tools-0.25.2/hopenpgp-tools-0.25.2.tar.gz>
- **最后更新:** 2026-07-31T10:00:44Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- hkt (cli)
- hokey (cli)
- hop (cli)
- hot (cli)
- hkt (别名)
- hokey (别名)
- hop (别名)
- hot (别名)

## 依赖

- gmp
- nettle

## 构建依赖

- cabal-install
- ghc
- pkgconf

## macOS 提供的库

- libffi

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.25.2
- 管理器更新时间: 2026-07-31
- 本地数据: OK
- 上游仓库: https://hackage.haskell.org/package/hopenpgp-tools
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

hopenpgp-tools is a set of Haskell command-line utilities built on hOpenPGP for OpenPGP-related operations. The package exposes focused executables such as `hot`, `hokey`, `hkt`, and later `hop`, making it a toolbox for inspecting, transforming, and working with OpenPGP data rather than a full mail client or keyring manager.

### 项目历史

Hackage records the package as authored and maintained by Clint Adams, with copyright beginning in 2012 and the first Hackage upload, version 0.0, on 2013-08-25. Early package metadata described the same core purpose: hOpenPGP-based command-line tools for OpenPGP-related operations.

The first Hackage package exposed three executables: `hkt`, `hokey`, and `hot`. By version 0.23.11, the Cabal file lists four executables: `hot`, `hokey`, `hkt`, and `hop`. The package remained tied to the hOpenPGP library while updating dependencies such as `crypton`, `optparse-applicative`, `prettyprinter`, and `yaml`.

The upstream repository lives on Debian Salsa under Clint Adams' namespace. Salsa metadata records the project creation on 2017-12-31, which lines up with the package's migration from the earlier `floss.scru.org` homepage shown in older Hackage RSS entries to Salsa-hosted source metadata shown in later package records.

### 采用历史

hopenpgp-tools has a stronger distribution footprint than its niche size suggests. It appears in Homebrew, Debian, Ubuntu-derived repositories, Arch Linux, and Hackage. Debian's package tracker lists it as source package `haskell-hopenpgp-tools`, maintained by the Debian Haskell Group with Clint Adams as uploader.

Hackage's release RSS shows a long sequence of uploads from 2013 through 2025, including a dense early series in 2013-2014 and continued maintenance across later GHC and dependency changes. Debian and Arch packaging make the tools available outside the Haskell-only ecosystem.

### 使用方式

The utilities are for command-line OpenPGP work. Debian's package page describes `hot`, `hokey`, and `hkt` as works in progress that provide some OpenPGP-related functionality, while the Cabal file shows executable-specific modules for ASCII armor parsing, HKP/keyserver functionality, key utilities, graph-related key analysis, and OpenPGP packet handling.

`hokey` depends on HTTP client libraries and HKP-related modules, indicating keyserver-oriented operations. `hot` and `hkt` share parser/lexer and ASCII armor support, while `hop` combines armor, parser, TK utilities, cryptographic primitives, and vector/time/container dependencies. For package users, the important point is the split: install one package and get several small OpenPGP CLI tools.

### 为什么软件包爱好者会关心

This is a package-nerd package because it sits at the intersection of cryptography, Haskell packaging, and distro packaging. It is not a glossy end-user OpenPGP app; it is a collection of small executables whose value is highest for people debugging, inspecting, or automating OpenPGP data flows.

The package also illustrates how Haskell command-line tools propagate: Hackage is the language-origin registry, Salsa carries Debian-friendly source control, Debian/Ubuntu expose binary packages to Unix users, Arch packages it in a rolling distro, and Homebrew makes it reachable from macOS. That multi-registry path is exactly the kind of long-lived packaging trail enrichment should preserve.

### 时间线

- 2012: Cabal metadata records copyright beginning with Clint Adams.
- 2013: Version 0.0 is uploaded to Hackage with executables `hkt`, `hokey`, and `hot`.
- 2014: Rapid Hackage release series continues through versions 0.1 to 0.14.
- 2017: Salsa project for `hopenpgp-tools` is created under Clint Adams' namespace.
- 2019: Hackage records version 0.23 with homepage metadata pointing at Salsa-hosted hOpenPGP resources.
- 2021: Version 0.23.6 appears in both Hackage and Debian-era package pools.
- 2025: Version 0.23.11 is uploaded to Hackage and appears in Debian source package metadata.

### Related projects

- hOpenPGP is the Haskell OpenPGP library dependency and conceptual base.
- OpenPGP is the protocol and data format family the tools operate on.
- Debian Haskell Group packaging is related through the Debian source package `haskell-hopenpgp-tools`.
- Arch Linux and Homebrew packages are related distribution surfaces for users outside Hackage.

### 来源

- Arch package page: additional distro adoption and upstream URL.
- Cabal file: executable names, module/dependency split, license, source repository, and copyright years.
- Debian package pages and tracker: distro package name, maintainers, version, description, source package, and VCS packaging metadata.
- Hackage package page and RSS: package purpose, versions, upload dates, author, maintainer, homepage changes, dependencies, and executable list.
- Salsa GitLab API/page: official repository and project creation metadata.


## 安全说明

没有找到 hopenpgp-tools 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** hopenpgp-tools
- **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:** head, stable

## 其他软件包管理器记录

- Debian apt - hopenpgp-tools - 0.23.11-1: normalized package name match | Debian stable package indexes: hopenpgp-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | hOpenPGP-based command-line tools | https://salsa.debian.org/clint/hOpenPGP-tools
- Ubuntu apt - hopenpgp-tools - 0.23.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: hopenpgp-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | hOpenPGP-based command-line tools | https://salsa.debian.org/clint/hOpenPGP-tools
- pacman - hopenpgp-tools - 0.23.11-111: normalized package name match | Arch Linux sync databases: hopenpgp-tools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | hOpenPGP-based command-line tools | https://salsa.debian.org/clint/hopenpgp-tools


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Package ecosystem packages](https://pkg.so/zh-hans/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [nettle](https://pkg.so/zh-hans/brew/nettle/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cabal-install](https://pkg.so/zh-hans/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://pkg.so/zh-hans/brew/ghc/) - Build dependency declared by Homebrew.
- [gnupg@1.4](https://pkg.so/zh-hans/brew/gnupg-1-4/) - Shares pkgdb curated category or tags: cli, cryptography, key-management, openpgp, security.
- [gnupg](https://pkg.so/zh-hans/brew/gnupg/) - Shares pkgdb curated category or tags: cli, key-management, openpgp, security.
- [gpgme](https://pkg.so/zh-hans/brew/gpgme/) - Shares pkgdb curated category or tags: cli, cryptography, openpgp, security.
- [pgpdump](https://pkg.so/zh-hans/brew/pgpdump/) - Shares pkgdb curated category or tags: cli, cryptography, openpgp, security.
- [softhsm](https://pkg.so/zh-hans/brew/softhsm/) - Shares pkgdb curated category or tags: cli, cryptography, key-management, security.
- [gpg-tui](https://pkg.so/zh-hans/brew/gpg-tui/) - Shares pkgdb curated category or tags: cli, key-management, openpgp, security.
- [gpa](https://pkg.so/zh-hans/brew/gpa/) - Shares pkgdb curated category or tags: cli, key-management, openpgp, security.
- [sequoia-sqv](https://pkg.so/zh-hans/brew/sequoia-sqv/) - Shares pkgdb curated category or tags: cli, cryptography, openpgp, security.

## Combined YAML source

View the package source record on GitHub. [combined/hopenpgp-tools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hopenpgp-tools.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
