Skip to content

Limits

What LUKS cannot do, collected in one place and stated in the same sentences the rest of the guide used in passing. Chapter 1 drew the threat model; this chapter is its fine print.

The lost passphrase is final

If every slot is unreachable — all passphrases forgotten, all key files lost, no TPM enrolled or the TPM gone — the data is unrecoverable. Not difficult, not expensive: unrecoverable, because the master key exists only inside those slots' wrapped copies and modern cryptography has no side door. There is no support line, no vendor reset, no forensic miracle; chapter 8 demonstrated the header-shaped version and the logic is identical. The mitigations are boring and total: a spare slot (recipe 2), a current header backup (chapter 8), passphrases you will still know in five years.

An open vault is an open book

While a vault is open, LUKS has done its job and stepped aside: the data is readable by the system, its users and its malware, in the clear. Screen locks, file permissions and your own habits guard an open vault; the cipher does not. The same applies in weaker form to a suspended machine: sleep keeps the key in memory, and a stolen sleeping laptop is closer to "on" than to "off" in chapter 1's terms. Power state is a security property; choose it like one.

Confidentiality is not integrity

LUKS promises that strangers cannot read the data. It does not promise to notice if they change it: flip bits in the ciphertext and the vault will faithfully decrypt them into flipped bits of plaintext, and only the filesystem's own checksums (if any) will complain. Detecting tampering is a different tool's work (dm-integrity, or a checksumming filesystem above the vault), and a changed early boot path — the so-called evil-maid territory — is likewise outside the cipher's sight; secure boot and chapter 10's PCR measurements are the partial answers that exist.

The header is a single point of failure — twice over

Chapter 8's lesson, both directions: destroy the header and the data dies with it; keep the header (or a backup) and an attacker has a permanent, offline target for your passphrase, at whatever speed their hardware and your Argon2 settings negotiate. Backups reduce the first risk and increase the second; the guide's advice (guard the backup like a key) is the equilibrium, not a cure.

What leaks despite the cipher

  • Existence and shape. A LUKS device announces itself: version, slots occupied, timestamps of a sort. There is no deniability mode.
  • Unused space, if you allow TRIM. With discard passed through, the device reveals which blocks are free — a map of where data isn't, which is information about where it is (chapter 9).
  • Copies elsewhere, as chapter 1 said: backups, syncs, exports unencrypted by you in a hurry. Encryption is per-device; habits are global.

Performance and platform edges

  • On hardware without AES acceleration, throughput can fall to the point where the cipher is the bottleneck (chapter 11); the benchmark is the honest way to know before a format, not after.
  • Argon2's memory hunger is a feature that occasionally bites the owner: the lab's crowded machine warned, on routine slot operations, that a keyslot operation could fail as it requires more than available memory. On small machines, unlock can be slow or, in constrained rescue environments, need the cheaper derivation chosen on purpose.
  • LUKS is Linux-only. A vault is a brick to Windows and macOS; sharing encrypted media across platforms is VeraCrypt's home ground (chapter 14).
  • LUKS1, still opening disks decades old in spirit, has no second header, no Argon2 and eight slots; chapter 12's conversion is its retirement plan.

The one-sentence version

LUKS makes a powered-off Linux disk unreadable to everyone who does not hold one of its keys — and within that sentence, every word is load bearing, including powered-off, including one of its keys.