LUKS & dm-crypt Encryption
Full-disk and partition encryption with dm-crypt and LUKS2, key management, TPM2 unlocking, and Kubernetes encrypted volumes.
Overview
dm-crypt is the Linux kernel's transparent block device encryption layer, built on the Device Mapper framework. LUKS (Linux Unified Key Setup) is the metadata format layered on top that manages key slots, algorithm parameters, and header backup.
Key concepts
- Key slot
- Argon2id
- dm-crypt
- NBDE (Network Bound Disk Encryption)
Interview questions
- How do you set up full-disk encryption on a Linux data disk, and how would you enable automatic unlocking on reboot for a server?
Sign up free to read the full topic
More Linux topics
Start free on Cariara · Coding problems · System design studio