pkg.soopen package index

brew / 排名 5662

使用 Homebrew, Nix 安装 onlykey-agent

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install onlykey-agent

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#onlykey-agent

nixpkgs package indexes · pkgs/by-name/on/onlykey-agent/package.nix · 来源: api.github.com

概览

软件包摘要

Middleware that lets you use OnlyKey as a hardware SSH/GPG device

命令和别名

  • onlykey-agent
  • onlykey-gpg
  • onlykey-gpg-agent
  • onlykey_agent.py

历史

项目历史与用法

onlykey-agent is middleware that lets an OnlyKey hardware token act as an SSH and GPG agent. It bridges standard developer/admin workflows such as SSH login, Git over SSH, GPG signing, and password-store decryption to keys generated or stored on the hardware device.

项目历史

The project is maintained by CryptoTrust/trustcrypto and described upstream as an SSH agent for OnlyKey. PyPI's release history starts with 0.0.2 on March 11, 2018, reaches 1.0.0 on November 14, 2019, and lists 1.1.15 on July 21, 2023.

OnlyKey's documentation positions the agent as a way to keep SSH and OpenPGP private keys off the computer while still using ordinary SSH and GnuPG workflows. The agent uses OnlyKey button presses or challenge codes to authorize signing and decrypt operations.

采用历史

onlykey-agent is available from PyPI and Homebrew, and Homebrew's formula exposes its native dependencies on GnuPG, hidapi, libusb, libsodium, and Python. Its audience is narrower than general FIDO/U2F tooling because it specifically serves OnlyKey users who want SSH-agent and gpg-agent style integration.

使用方式

For SSH, users generate or expose a public key with onlykey-agent, add it to authorized_keys or a Git hosting account, and run commands inside an agent-backed shell or command wrapper. For GPG, users initialize a dedicated GNUPGHOME such as ~/.gnupg/onlykey and use onlykey-gpg for signing, encryption, and Git commit/tag signing.

The documentation distinguishes derived keys from stored keys. Derived keys are generated from identity@host-style inputs, while stored keys use key material loaded into OnlyKey slots, including ECC and RSA slots for SSH/GPG operations.

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

The package is interesting because it turns a hardware-security product into normal Unix developer plumbing. The package exposes multiple executables, slots into SSH_AUTH_SOCK and GNUPGHOME conventions, and depends on USB/HID and cryptographic libraries rather than inventing a separate workflow.

时间线

  • 2018-03-11: PyPI lists onlykey-agent 0.0.2.
  • 2019-11-14: PyPI lists onlykey-agent 1.0.0.
  • 2021-08-27: CryptoTrust published guidance for using OnlyKey with OpenPGP and SSH workflows.
  • 2023-07-21: PyPI lists onlykey-agent 1.1.15.

Related projects

  • Related projects and technologies include OnlyKey firmware and desktop software, OpenSSH, GnuPG, pass, gopass, hidapi, libusb, and hardware-backed SSH/GPG agents.

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.ssh/config~/.gnupg/onlykey

可执行文件

已安装的可执行文件

命令类型暴露范围备注
onlykey-agentcli全局可执行文件
onlykey-gpgcli全局可执行文件
onlykey-gpg-agentcli全局可执行文件
onlykey_agent.pycli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-08-04
管理器版本1.1.15
管理器更新时间2026-05-14
本地数据OK
上游not checked
检测到的最新版本未检测到

https://docs.crp.to/onlykey-agent.html

安装元数据

软件包元数据

软件包键brew:onlykey-agent
版本1.1.15
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/onlykey-agent
主页https://docs.crp.to/onlykey-agent.html
上游文档https://docs.crp.to/onlykey-agent.html
许可证LGPL-3.0-only
源码归档https://files.pythonhosted.org/packages/68/80/e89b6c3680bedb1e14e99f0539ac805bddc7d8dd87c58805c64484966b7c/onlykey-agent-1.1.15.tar.gz
最后更新2026-05-14T10:23:53Z
Pulseupdated
依赖certifi, cryptography, gnupg, hidapi, libsodium, libusb, python@3.14
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameonlykey-agent
Version Scheme0
Revision13
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

onlykey-agent

nix profile install nixpkgs#onlykey-agent
  • normalized package name match
  • 匹配方式:Onlykey Agent
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/on/onlykey-agent/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

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