# 使用 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
- **版本:** 0.25.2
- **来源摘要:** Command-line tools for OpenPGP-related operations
- **主页:** <https://hackage.haskell.org/package/hopenpgp-tools>
- **最后更新:** 2026-07-31T10:00:44Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.25.2
## 项目历史与用法

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
