presentations/encryptyourshit/slides/04-dmcrypt.md

21 lines
496 B
Markdown
Raw Permalink Normal View History

2024-11-21 01:40:24 -05:00
### LUKS+dmcrypt
- Available since Linux 2.6
- Transparently decrypts encrypted block devices
- Used by many companies
- Supported by many distros
- Minimal performance impact on modern hardware
```bash
# Partial CLI encrypted root example
cryptsetup luksFormat -s 256 /dev/sda2
cryptsetup open /dev/sda2 newroot
mkfs.ext4 /dev/mapper/newroot
mount /dev/mapper/newroot /mnt
# Continue with typical steps...
```
[comment]: # (!!!) <!--------------------------------------------------------->