macOS
brew install oath-toolkitlocal Homebrew formula metadata
sudo port install oath-toolkitMacPorts ports tree · security/oath-toolkit/Portfile · 来源: api.github.com
安装
brew install oath-toolkitlocal Homebrew formula metadata
sudo port install oath-toolkitMacPorts ports tree · security/oath-toolkit/Portfile · 来源: api.github.com
sudo apk add oath-toolkitAlpine Linux edge package indexes · oath-toolkit · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#oath-toolkitnixpkgs package indexes · pkgs/by-name/oa/oath-toolkit/package.nix · 来源: api.github.com
sudo pacman -S oath-toolkitArch Linux sync databases · oath-toolkit · 来源: geo.mirror.pkgbuild.com
sudo zypper install oath-toolkitopenSUSE Tumbleweed package metadata · oath-toolkit · 来源: download.opensuse.org
sudo apt install liboath-devDebian stable package indexes · liboath-dev · 来源: deb.debian.org
sudo dnf install liboathFedora Rawhide package metadata · liboath · 来源: dl.fedoraproject.org
概览
Tools for one-time password authentication systems
历史
OATH Toolkit is a long-running free software implementation of one-time password infrastructure. It provides shared C libraries, the oathtool and pskctool command-line tools, and a pam_oath module for integrating HOTP/TOTP authentication into Unix login stacks.
Simon Josefsson introduced the OATH Toolkit publicly in January 2011 as software for OATH one-time password authentication, including oathtool and pam_oath. A May 2011 release announcement for version 1.10.0 points to the Nongnu project page, man pages, PAM documentation, API reference, signed release tarballs, and the Savannah project home.
The toolkit tracks the standards ecosystem around one-time passwords: HOTP from RFC 4226, TOTP from RFC 6238, and PSKC from RFC 6030. Later releases added support for HMAC-SHA256 and HMAC-SHA512 TOTP generation and validation APIs in version 2.6.0, and the project moved version-controlled source hosting to GitLab in version 2.6.2 before moving public Git hosting to Codeberg in version 2.6.13.
OATH Toolkit spread through Unix package ecosystems because it solved a boring but durable operations problem: generating and validating standard OTP values and adding PAM-based OTP checks to existing systems. The input package record lists apk, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE package names, reflecting broad distribution rather than a single application community.
Developers use liboath when embedding HOTP/TOTP validation in C applications, operators use oathtool for token generation and testing, pskctool handles Portable Symmetric Key Container data, and administrators use pam_oath to require OTP values during PAM authentication. A common deployment stores token records in a usersfile such as /etc/users.oath.
The package is a classic security-toolchain package: small command-line utilities, a C library ABI, a PAM module, man pages, signed source releases, and long-term distro packaging. It also shows how standards-based authentication plumbing ages: compatibility fixes, crypto algorithm additions, build-system maintenance, and security advisories matter as much as new features.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
Credential-bearing paths to review before unattended agent runs.
/etc/users.oath可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
oathtool | cli | 全局可执行文件 | |
pskctool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://oath-toolkit.codeberg.page/
安装元数据
| 软件包键 | brew:oath-toolkit |
|---|---|
| 版本 | 2.6.14 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/oath-toolkit |
| 主页 | https://oath-toolkit.codeberg.page/ |
| 仓库 | https://codeberg.org/oath-toolkit/oath-toolkit |
| 上游文档 | https://oath-toolkit.codeberg.page/docs.html |
| 许可证 | GPL-3.0-or-later AND LGPL-2.1-or-later |
| 源码归档 | https://download.savannah.nongnu.org/releases/oath-toolkit/oath-toolkit-2.6.14.tar.gz |
| 最后更新 | 2026-06-27T14:40:16-04:00 |
| Pulse | updated |
| 依赖 | libxml2, libxmlsec1, openssl@3 |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oath-toolkit |
| Version Scheme | 0 |
| Revision | 3 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
liboath-dev 2.6.12-1
Development files for the OATH Toolkit Liboath library
https://www.nongnu.org/oath-toolkit/
sudo apt install liboath-devliboath0t64 2.6.12-1
OATH Toolkit Liboath library
https://www.nongnu.org/oath-toolkit/
sudo apt install liboath0t64libpam-oath 2.6.12-1
OATH Toolkit libpam_oath PAM module
https://www.nongnu.org/oath-toolkit/
sudo apt install libpam-oathlibpskc-dev 2.6.12-1
Development files for the OATH Toolkit Libpskc library
https://www.nongnu.org/oath-toolkit/
sudo apt install libpskc-devlibpskc0t64 2.6.12-1
OATH Toolkit Libpskc library
https://www.nongnu.org/oath-toolkit/
sudo apt install libpskc0t64oathtool 2.6.12-1
OATH Toolkit oathtool command line tool
https://www.nongnu.org/oath-toolkit/
sudo apt install oathtoolpskctool 2.6.12-1
OATH Toolkit pskctool command line tool
https://www.nongnu.org/oath-toolkit/
sudo apt install pskctooloath-toolkit
nix profile install nixpkgs#oath-toolkitliboath-dev 2.6.11-2.1build3
Development files for the OATH Toolkit Liboath library
https://www.nongnu.org/oath-toolkit/
sudo apt install liboath-devliboath0t64 2.6.11-2.1build3
OATH Toolkit Liboath library
https://www.nongnu.org/oath-toolkit/
sudo apt install liboath0t64libpam-oath 2.6.11-2.1build3
OATH Toolkit libpam_oath PAM module
https://www.nongnu.org/oath-toolkit/
sudo apt install libpam-oathlibpskc-dev 2.6.11-2.1build3
Development files for the OATH Toolkit Libpskc library
https://www.nongnu.org/oath-toolkit/
sudo apt install libpskc-devlibpskc0t64 2.6.11-2.1build3
OATH Toolkit Libpskc library
https://www.nongnu.org/oath-toolkit/
sudo apt install libpskc0t64oathtool 2.6.11-2.1build3
OATH Toolkit oathtool command line tool
https://www.nongnu.org/oath-toolkit/
sudo apt install oathtoolpskctool 2.6.11-2.1build3
OATH Toolkit pskctool command line tool
https://www.nongnu.org/oath-toolkit/
sudo apt install pskctooloath-toolkit 2.6.14-r1
OATH Toolkit One-time password components
https://nongnu.org/oath-toolkit/
sudo apk add oath-toolkit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.