# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:oath-toolkit
- **Paketmanager:** Homebrew
- **Version:** 2.6.14
- **Quellzusammenfassung:** Tools for one-time password authentication systems
- **Homepage:** <https://oath-toolkit.codeberg.page/>
- **Zuletzt aktualisiert:** 2026-06-27T14:40:16-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- oathtool (Alias)
- pskctool (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2.6.14
## 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
## 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/


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