Results 1 to 3 of 3

Thread: Full Disk Encryption: How to correctly set it up and what would be best practice?

  1. #1
    Join Date
    Jun 2024
    Beans
    4

    Full Disk Encryption: How to correctly set it up and what would be best practice?

    If I interpret [the documentation](https://ubuntu.com/core/docs/full-disk-encryption) correctly, Ubuntu should use FDE by default. However, I'm currently on a live system and can simply access the data of the broken installation on the disk. For a fresh installation I would like to have securely encrypted data, so that it can not be read from live booting systems or some kind of attack during boot. Furthermore I want to separate /home on a different partition in the future, so that future reinstallations are less of a hassle. So, how do I set up an Ubuntu with a separate partitions for /home and the system that are both fully encrypted? Or is this even not advised to begin with, as encrypting /home is generally enough for data privacy?

    As a last question: If I understand correctly, data at rest encryption is only helpful before the system is booted and hence not a protection for the lock-screen. Is that so and how do I maximize security of the lock-screen?

  2. #2
    Join Date
    Apr 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Full Disk Encryption: How to correctly set it up and what would be best practice?

    For non-system partitions/drives I use Veracrypt, which can provide cascading encryption. Combined with a very complex, very long password, this is the most secure encryption. However, this would not work with a separate /home partition, as the OS needs access to this at boot time.
    Never underestimate the stupidity of the human race!

  3. #3
    Join Date
    Jun 2024
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Full Disk Encryption: How to correctly set it up and what would be best practice?

    Perhaps you misread because Ubuntu doesn't FDE by default. You'd need to set that while installing. There's an option to do so, so unless you're installing from an automated script, the encryption setup should be something you select.

    There used to be a encrypt home feature, but it got removed and wasn't very secure as it could be bypassed quite easily by using the root account once logged in. But regardless you can still set it up using these instructions: https://ubuntuhandbook.org/index.php...-ubuntu-24-04/

    The best method of FDE is up for your use case. For personal use I want encryption for data deletion when I recycle the computer and hard drive. For work FDE has two keys, one that rotates when support needs it, and the other the user controls. If you want more secure OS for lock down features, perhaps Ubuntu is not good for your usecase as more specialized distributions are developed for quick lockdown and encryption. I don't want to recommend these as I think it's irresponsible to endorse such solutions.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •