macOS
brew install onlykey-agentlocal Homebrew formula metadata
安装
brew install onlykey-agentlocal Homebrew formula metadata
nix profile install nixpkgs#onlykey-agentnixpkgs 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 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.
安全态势
没有找到 onlykey-agent 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.ssh/config~/.gnupg/onlykey可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
onlykey-agent | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
onlykey-gpg | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
onlykey-gpg-agent | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
onlykey_agent.py | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:onlykey-agent |
|---|---|
| 版本 | 1.1.15 |
| 软件包管理器 | Homebrew |
| 主页 | https://docs.crp.to/onlykey-agent.html |
| 最后更新 | 2026-05-14T10:23:53Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
onlykey-agent
nix profile install nixpkgs#onlykey-agent来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.