ropg / hyper-pi

Making a usable handheld device using a Raspberry Pi Zero and a HyperPixel 4" capacitive touch screen.
MIT License
60 stars 4 forks source link

full disk encryption of device #1

Open yippyskippy opened 5 years ago

yippyskippy commented 5 years ago

Currently hyper-pi is very good and I get mine to work from these nice instructions :D but I wonder that if user starts using for actual secure messaging and then loses device that is bad. Maybe we could add some instructions for how to do LUKS style full disk encryption of devices? It seems to be not too hard but tricky in some ways. Here are some links of what I find.

This one has a bunch of terminal commands to get it working. As one in comments points out this downside of approach outlined

"You need to manually re-create the initramfs-image after a new kernel is installed. 🙁"

Other documented similar steps

yippyskippy commented 5 years ago

One idea could be use YubiKey or similar device to enter the LUKS decryption passphrase. This approach would make us not require figuring out how to get a keyboard (soft or hardware) for entering a passphrase. There is some documentation on using a yubikey like this