Skip to content

Glossary

AES-NI — the processor instructions that perform AES in hardware. Their presence (the aes flag in /proc/cpuinfo) decides whether encryption throughput is a non-issue on a given machine.

AF stripes (anti-forensic splitting) — the wrapped key in a slot is smeared across thousands of stripes (4000 in this guide's vaults), so overwriting the slot leaves nothing recoverable. Killing a slot really kills it.

Argon2 / Argon2id — the memory-hard key derivation function LUKS2 uses by default: stretching a passphrase costs time and about a hundred megabytes of RAM, which is what makes bulk guessing expensive.

Cipher — the algorithm that encrypts the data segment. The default is AES in XTS mode: aes-xts-plain64.

cryptsetup — the command-line tool that creates and manages LUKS devices: format, open, close, slots, headers, benchmarks.

crypttab — /etc/crypttab, the boot-time list of vaults: name, device by UUID, key source, options.

Data segment — everything in a LUKS device after the header: the encrypted payload, described in the header by its offset and cipher.

Device-mapper (dm-crypt) — the kernel machinery that turns an unlocked master key into a virtual device, /dev/mapper/<name>, encrypting and decrypting as data flows through it.

Digest — the header's checksum of the unwrapped master key (PBKDF2 in the Digests section of a dump). An unlock attempt knows it succeeded when the key it unwrapped reproduces this digest.

Epoch — the header's rewrite counter in LUKS2: it rises with every change to the header, a quiet ledger of operations.

Header — the first 16 MB (LUKS2) or 2 MB (LUKS1) of the device: metadata, keyslot area, cipher settings. The part everything depends on; the part you back up.

Key slot — one numbered place in the header holding a copy of the master key wrapped with one passphrase or key file. LUKS1 has 8 (0–7); LUKS2 has 32 (0–31).

Keyfile — a file whose exact bytes serve as a slot's key: random bytes by preference, permissions by necessity.

Label — a human-readable name stored in a LUKS2 header (cryptsetup config --label), shown by luksDump.

LUKS — Linux Unified Key Setup: the standard on-disk arrangement for Linux disk encryption — header plus encrypted data segment.

LUKS1 / LUKS2 — the two header generations. LUKS2 adds a second header copy, Argon2, 32 slots, labels and tokens; LUKS1 remains fully readable and convertible.

Master key — the random key that actually encrypts the data segment. It never changes across passphrase changes; each slot holds a wrapped copy of it.

Mapping — an open vault's presence in the system: /dev/mapper/<name>, treated by everything above it as an ordinary disk.

PBKDF / PBKDF2 — password-based key derivation: stretching a passphrase by hashing, in PBKDF2's case millions of iterations, tuned so one attempt costs about two seconds. LUKS1's only stretcher; LUKS2 keeps it as an option.

PCR — a Platform Configuration Register in a TPM: a measurement of one piece of boot state. TPM-sealed keys name the PCR values they will release to.

Reencrypt — the one operation that changes the master key, rewriting the whole data segment in the process. Hours long, unforgiving of interruption, and deliberately not taught in this guide.

Sector — the unit the cipher works in: 4096 bytes on modern formats, 512 on older ones, recorded in the header.

Token — a LUKS2 header record pointing at an external key source — a TPM enrolment, for instance. The token says where a key lives; the slot it belongs to still holds the wrapped copy's other half.

TPM — Trusted Platform Module: a security chip that can hold a sealed key and release it only when the machine's measured boot state matches what it was sealed against.

UUID — the header's unique identifier for the device: the name luksUUID reports and crypttab trusts, because device letters wander and UUIDs do not.

XTS — the cipher mode designed for disk sectors: two AES keys used as a pair (the dump's 512-bit key), each sector encrypted independently of its neighbours.