Encrypt a disk on FreeBSD or Linux using the device serial as identifier for a random generated key.
- Keys are stored in
/root/encryption/$hostname/$serial
- Encryption Algorithm AES-XTS 256
# Encrypt sda and ask for confirmation
./encryption sda
# Don't ask for confirmation
./encrypt-disk.sh ada0 -f
Hi there! I'm new to Linux. Is there a way to automatically decrypt LUKS volume containing the root partition (excluding boot and tmp partitions) at boot time using the device serial id and "obfuscate" the process for non-technical users?
Thanks a lot!