Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

79.6. oath-toolkit-2.6.14

One-time passwords from the command line — HOTP and TOTP

2.6.14-1 · LGPL-2.1-or-later AND GPL-3.0-or-later · 0.9 SBU · 513.0 KiB, 51 files · 41_system, 171 of 1047 · ports/core/auth/oath-toolkit

Homepage: https://www.nongnu.org/oath-toolkit/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/auth.txt:

oathtool is all that is kept of oath-toolkit, and pass-otp shells out to it: the PAM module is a second way to log in that nobody asked for, and PSKC is an XML container for provisioning tokens in bulk.

Depends on: nothing a recipe names.

Required by (1): pass-otp.

Sources: oath-toolkit-2.6.14.tar.gz (3.7 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install oath-toolkit'

build.sh:

./configure --prefix=/usr --disable-pskc --disable-pam --disable-static
make
make DESTDIR=$PKG install

Programs: oathtool.

Libraries: liboath.so.

Directories: /usr/include/liboath, /usr/share/gtk-doc/html/liboath, /usr/share/licenses/oath-toolkit.