Skip to content

The Neighbours

LUKS is one answer to "my disk should not be readable" — the Linux-shaped one. Here is the rest of the street, characterised honestly; none of these were run by the lab, and the two with guides in this series are pointed to by name, as the series criteria require.

VeraCrypt — the cross-platform cousin

VeraCrypt is the closest relative: a whole-disk and container-file encryptor descended from TrueCrypt, running on Windows, macOS and Linux. Its natural unit is often the container — a file that mounts as a virtual disk — where LUKS starts from whole devices and partitions (though this guide's vault files show the overlap). VeraCrypt is the answer when the same encrypted volume must open on three operating systems, or when you need its deniability features, which LUKS deliberately does not offer (chapter 1). LUKS is the answer when the machine is Linux, the boot integration matters, and being the distribution's own, audited-in-the-open default is worth more than portability. Neither is a failed version of the other; they optimise for different lives.

BitLocker and FileVault — the landlords

Windows' BitLocker and macOS' FileVault solve the same problem inside their own platforms: full-disk encryption, TPM-sealed by default, managed by the operating system, recovery keys escrowed to a Microsoft or Apple account if you let them. They are good tools on their home turf, and chapter 10's TPM discussion is essentially LUKS growing their conveniences. The mortal's summary: use the landlord's encryption on the landlord's platform, LUKS on Linux, and be aware that the escrow question — who else can unlock this disk? — has a corporate answer there and a personal one here.

ZFS native encryption — the filesystem does it

ZFS (which has its own guide in this series) can encrypt datasets inside a pool: encryption below the filesystem's own features, so snapshots and replication streams can stay encrypted end to end, and one pool can mix encrypted and clear datasets with different keys. LUKS encrypts beneath the filesystem, whole devices at a time, and every filesystem inherits the protection without knowing. The choice is granularity and ZFS-awareness against universality and simplicity; stacking them (LUKS under ZFS) is possible, occasionally sensible, and usually a sign to write down why before proceeding.

age and file encryptors — the other end of the telescope

age (its own guide in this series) encrypts files: named things, for named recipients, that travel by email and backup and cloud sync as encrypted objects. It solves the problem LUKS cannot touch — the document that must stay secret while it moves. The tools are complements, not rivals: LUKS guards the disk the files sleep on; age guards the files when they leave home. The same goes, at other scales, for encrypted backup tools (restic, Borg), which encrypt what they store wherever they store it: they are chapter 1's "copies that live elsewhere", answering for themselves.