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

101.23. argon2-20190702

Argon2 password hashing library and command-line tool

20190702-1 · CC0-1.0 OR Apache-2.0 · 0.1 SBU · 146.2 KiB, 7 files · 41_system, 331 of 1047 · ports/core/crypto/argon2

Homepage: https://github.com/P-H-C/phc-winner-argon2

Depends on: nothing a recipe names.

Required by (3): fzssh, jupyterlab, keepassxc.

Sources: argon2-20190702.tar.gz (1.4 MiB). Every step kpkg takes applies to this port.

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

build.sh:

export LDFLAGS="$LDFLAGS -Wl,--strip-debug"
make OPTTARGET=x86-64 ARGON2_VERSION=$version LIBRARY_REL=lib
make OPTTARGET=x86-64 ARGON2_VERSION=$version LIBRARY_REL=lib PREFIX=/usr DESTDIR=$PKG install
rm -f "$PKG/usr/lib/libargon2.a"
install -Dm644 man/argon2.1 "$PKG/usr/share/man/man1/argon2.1"

Programs: argon2.

Libraries: libargon2.so.

Directories: /usr/share/licenses/argon2.