cross-posted from: https://lemmy.ca/post/20291268
I recently acquired a Raspberry Pi 5, but I’ve been having a lot of difficulty in getting LUKS encryption to work. Has anyone had any luck?
Also, I am using an NVMe drive, so Raspbian is really the only OS that works well. NetBSD can see the disk, too, but I found it annoying to use; and FreeBSD ended up breaking itself. I have not yet tried Armbian.
Partial Solution
Since cryptsetup is not going to be at all usable in the initramfs shell any time soon, I’ve decided instead to just encrypt my /home folder with ecryptfs. The Debian Wiki has an article on how to do this.
https://wiki.debian.org/TransparentEncryptionForHomeFolder