Results 1 to 6 of 6

Thread: Ubuntu 20.10 Beta: Encrypted Swap?

  1. #1
    Join Date
    Mar 2016
    Beans
    20

    Ubuntu 20.10 Beta: Encrypted Swap?

    I'm testing Ubuntu 20.10 Beta with ZFS encryption (encrypted from the installer). Does the swap area get encrypted too? How do I check if swap is encrypted (or not)?

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Ubuntu 20.10 Beta: Encrypted Swap?

    I have not tested ZFS yet, but I suggest that you check if it works well also with ZFS with a swap file in the root partition (instead of a swap partition). Swap file is the default since a few years when using the standard ext4 file system.

    If it works well, the swap will be protected by the encryption of the root file system.

  3. #3
    Join Date
    Sep 2014
    Location
    United States
    Beans
    362
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Ubuntu 20.10 Beta: Encrypted Swap?

    You can check with this terminal command.

    Code:
    sudo blkid | grep swap
    Return will look something like this.

    Code:
    /dev/mapper/cryptswap1: UUID="95f3d64d-6c46-411f-92f7-867e92991fd0" TYPE="swap"
    I'm the Sisyphus in security engineering.

    Read about 14.04 ESM and Puppet inside of Docker Containers.

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Ubuntu 20.10 Beta: Encrypted Swap?

    @ EuclideanCoffee,

    Thanks, this shows how it works with disk encryption. Not like in an unencrypted system

  5. #5
    Join Date
    Mar 2016
    Beans
    20

    Re: Ubuntu 20.10 Beta: Encrypted Swap?

    Quote Originally Posted by EuclideanCoffee View Post
    You can check with this terminal command.

    Code:
    sudo blkid | grep swap
    Return will look something like this.

    Code:
    /dev/mapper/cryptswap1: UUID="95f3d64d-6c46-411f-92f7-867e92991fd0" TYPE="swap"
    I'm seeing output similar to that, yes. I'm assuming that means encrypted swap within ZFS?

  6. #6
    Join Date
    Sep 2014
    Location
    United States
    Beans
    362
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Ubuntu 20.10 Beta: Encrypted Swap?

    Yes, I believe it's working. ZFS is compatible with LUKS anyhow.
    I'm the Sisyphus in security engineering.

    Read about 14.04 ESM and Puppet inside of Docker Containers.

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
  •