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

101. The crypto shelf, 41_system

Cryptographic libraries, PKCS#11, smartcards and TPM

The ports of this shelf that 41_system installs, in build order.

Version
libtasn1 4.21.0 Portable C library that encodes and decodes DER/BER data following an ASN.1 schema
p11-kit 0.26.5 Provides a way to load and enumerate PKCS #11 (a Cryptographic Token Interface Standard) modules
nettle 4.0 Low-level cryptographic library
libtpms 0.10.2 A software TPM 1.2 and 2.0 as a library — the TPM inside swtpm
tpm2-tss 4.2.0 The TPM2 software stack — what talks to the chip that can hold a disk key
gnutls 3.8.13 Libraries and userspace tools which provide a secure layer over a reliable transport layer
libgpg-error 1.61 Library that defines common error values for all GnuPG components
libgcrypt 1.12.4 A general purpose crypto library based on the code used in GnuPG
tpm2-tools 5.8 The tpm2_* commands — seal a LUKS key to the chip and unseal it at boot
libcbor 0.14.0 CBOR parser — libfido2's wire format for talking to a security key
pcsc-lite 2.5.2 PC/SC smart card middleware — the pcscd daemon and libpcsclite
libfido2 1.17.0 FIDO2/U2F over USB and NFC — what an ed25519-sk SSH key talks to
ccid 1.8.4 USB CCID and ICCD smart card reader driver for pcsc-lite
opensc 0.27.1 The PKCS#11 module for PIV, CAC, OpenPGP and national eID smart cards, and the tools to manage them
libassuan 3.0.2 Inter process communication library used by some of the other GnuPG related packages
libksba 1.8.1 Library for X.509 certificates and CMS (Cryptographic Message Syntax)
npth 1.8 Portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (multithreading) inside event-driven applications
nspr 4.40 Netscape Portable Runtime — the platform layer under NSS
nss 3.130 Mozilla Network Security Services — TLS, PKCS #11 and certificate libraries
swtpm 0.10.2 A software TPM for virtual machines — qemu's -tpmdev emulator backend
mbedtls 3.6.7 Mbed TLS: a small TLS and cryptography library, the 3.6 long-term line
libsodium 1.0.22 Cryptography library with NaCl's API, portable
argon2 20190702 Argon2 password hashing library and command-line tool
botan 3.13.0 C++ cryptography and TLS library, version 3