# oath-toolkit mit Homebrew, apk, MacPorts, Nix, pacman, zypper, apt, dnf installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für oath-toolkit in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:oath-toolkit
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install oath-toolkit
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install oath-toolkit
```

  Evidenz: MacPorts ports tree: security/oath-toolkit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add oath-toolkit
```

  Evidenz: Alpine Linux edge package indexes: oath-toolkit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#oath-toolkit
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/oa/oath-toolkit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S oath-toolkit
```

  Evidenz: Arch Linux sync databases: oath-toolkit from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install oath-toolkit
```

  Evidenz: openSUSE Tumbleweed package metadata: oath-toolkit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install liboath-dev
```

  Evidenz: Debian stable package indexes: liboath-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install liboath
```

  Evidenz: Fedora Rawhide package metadata: liboath from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:oath-toolkit
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/oath-toolkit>
- **Version:** 2.6.14
- **Quellzusammenfassung:** Tools for one-time password authentication systems
- **Homepage:** <https://oath-toolkit.codeberg.page/>
- **Upstream-Dokumentation:** <https://oath-toolkit.codeberg.page/>
- **Lizenz:** GPL-3.0-or-later AND LGPL-2.1-or-later
- **Quellarchiv:** <https://download.savannah.nongnu.org/releases/oath-toolkit/oath-toolkit-2.6.14.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-27T14:40:16-04:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- oathtool (cli)
- pskctool (cli)
- oathtool (Alias)
- pskctool (Alias)

## Abhängigkeiten

- libxml2
- libxmlsec1
- openssl@3

## Build-Abhängigkeiten

- pkgconf

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.6.14
- Manager aktualisiert: 2026-06-27
- lokale Daten: OK
- Upstream-Repository: https://oath-toolkit.codeberg.page/
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 2005: RFC 4226 defined the HOTP algorithm.
- 2010: RFC 6030 defined PSKC for symmetric key container data.
- 2011: RFC 6238 defined TOTP.
- 2011-01-20: Simon Josefsson published an introduction to OATH Toolkit.
- 2015-05-19: OATH Toolkit 2.6.0 added TOTP support with HMAC-SHA256 and HMAC-SHA512 APIs.
- 2016-08-27: OATH Toolkit 2.6.2 noted that version-controlled source moved to GitLab.
- 2024-10-03: OATH Toolkit 2.6.12 addressed CVE-2024-47191 in pam_oath/liboath.
- 2025-07-29: OATH Toolkit 2.6.13 moved Git hosting to Codeberg.

### Related projects

- OATH Toolkit is directly tied to the OATH HOTP/TOTP standards, Unix PAM, libxmlsec for PSKC-related functionality, and downstream distro packages such as Debian's oathtool/liboath-dev packages.

### Quellen

- <https://blog.josefsson.org/2011/01/20/introducing-the-oath-toolkit/>
- <https://codeberg.org/api/v1/repos/oath-toolkit/oath-toolkit>
- <https://codeberg.org/oath-toolkit/oath-toolkit>
- <https://datatracker.ietf.org/doc/html/rfc4226>
- <https://datatracker.ietf.org/doc/html/rfc6030>
- <https://datatracker.ietf.org/doc/html/rfc6238>
- <https://formulae.brew.sh/formula/oath-toolkit>
- <https://lists.gnu.org/archive/html/oath-toolkit-help/2011-05/msg00053.html>
- <https://oath-toolkit.codeberg.page/>
- <https://oath-toolkit.codeberg.page/CVE-2024-47191.html>
- <https://oath-toolkit.codeberg.page/NEWS.html>
- <https://oath-toolkit.codeberg.page/man-oathtool.html>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals


## 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.


## Credential files

- Unix: /etc/users.oath
## Details aus der Quelldatenbank

- **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:** head, stable

## Andere Paketmanager-Einträge

- Debian apt - liboath-dev - 2.6.12-1: normalized package name match | Debian stable package indexes: liboath-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the OATH Toolkit Liboath library | https://www.nongnu.org/oath-toolkit/
- Debian apt - liboath0t64 - 2.6.12-1: normalized package name match | Debian stable package indexes: liboath0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OATH Toolkit Liboath library | https://www.nongnu.org/oath-toolkit/
- Debian apt - libpam-oath - 2.6.12-1: normalized package name match | Debian stable package indexes: libpam-oath from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OATH Toolkit libpam_oath PAM module | https://www.nongnu.org/oath-toolkit/
- Debian apt - libpskc-dev - 2.6.12-1: normalized package name match | Debian stable package indexes: libpskc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the OATH Toolkit Libpskc library | https://www.nongnu.org/oath-toolkit/
- Debian apt - libpskc0t64 - 2.6.12-1: normalized package name match | Debian stable package indexes: libpskc0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OATH Toolkit Libpskc library | https://www.nongnu.org/oath-toolkit/
- Debian apt - oathtool - 2.6.12-1: normalized package name match | Debian stable package indexes: oathtool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OATH Toolkit oathtool command line tool | https://www.nongnu.org/oath-toolkit/
- Debian apt - pskctool - 2.6.12-1: normalized package name match | Debian stable package indexes: pskctool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OATH Toolkit pskctool command line tool | https://www.nongnu.org/oath-toolkit/
- Nix - oath-toolkit: normalized package name match | nixpkgs package indexes: pkgs/by-name/oa/oath-toolkit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liboath-dev - 2.6.11-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: liboath-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Development files for the OATH Toolkit Liboath library | https://www.nongnu.org/oath-toolkit/
- Ubuntu apt - liboath0t64 - 2.6.11-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: liboath0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | OATH Toolkit Liboath library | https://www.nongnu.org/oath-toolkit/
- Ubuntu apt - libpam-oath - 2.6.11-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpam-oath from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OATH Toolkit libpam_oath PAM module | https://www.nongnu.org/oath-toolkit/
- Ubuntu apt - libpskc-dev - 2.6.11-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpskc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Development files for the OATH Toolkit Libpskc library | https://www.nongnu.org/oath-toolkit/
- Ubuntu apt - libpskc0t64 - 2.6.11-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libpskc0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | OATH Toolkit Libpskc library | https://www.nongnu.org/oath-toolkit/
- Ubuntu apt - oathtool - 2.6.11-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: oathtool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OATH Toolkit oathtool command line tool | https://www.nongnu.org/oath-toolkit/
- Ubuntu apt - pskctool - 2.6.11-2.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: pskctool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OATH Toolkit pskctool command line tool | https://www.nongnu.org/oath-toolkit/
- apk - oath-toolkit - 2.6.14-r1: normalized package name match | Alpine Linux edge package indexes: oath-toolkit from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OATH Toolkit One-time password components | https://nongnu.org/oath-toolkit/


## Verwandte Links

- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/de/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://pkg.so/de/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/de/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [libxml2](https://pkg.so/de/brew/libxml2/) - Runtime dependency declared by Homebrew.
- [libxmlsec1](https://pkg.so/de/brew/libxmlsec1/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/de/brew/pkgconf/) - Build dependency declared by Homebrew.
- [linux-pam](https://pkg.so/de/brew/linux-pam/) - Shares pkgdb curated category or tags: authentication, cli, pam, security.
- [totp-cli](https://pkg.so/de/brew/totp-cli/) - Shares pkgdb curated category or tags: authentication, cli, otp, security, totp.
- [krb5](https://pkg.so/de/brew/krb5/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [cyrus-sasl](https://pkg.so/de/brew/cyrus-sasl/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [oauth2_proxy](https://pkg.so/de/brew/oauth2-proxy/) - Shares pkgdb curated category or tags: authentication, cli, security.
- [google-authenticator-libpam](https://pkg.so/de/brew/google-authenticator-libpam/) - Shares pkgdb curated category or tags: authentication, cli, pam, security, totp.
- [libyubikey](https://pkg.so/de/brew/libyubikey/) - Shares pkgdb curated category or tags: authentication, cli, otp, security.
- [cotp](https://pkg.so/de/brew/cotp/) - Shares pkgdb curated category or tags: authentication, cli, hotp, security, totp.
- [duo_unix](https://pkg.so/de/brew/duo-unix/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, openssl, openssl-3, pam.
- [pam-u2f](https://pkg.so/de/brew/pam-u2f/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, openssl, openssl-3, pam.

## Combined YAML source

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


## Quellen

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