[Bug 1964788] [NEW] ZFS pool gets encrypted even when encryption is deselected again

Hannes Hegewald 1964788 at bugs.launchpad.net
Mon Mar 14 14:48:27 UTC 2022


Public bug reported:

Issue: As soon as security keys for an encrypted ZFS setup are entered,
the system will get encrypted, even if this is not desired anymore and
has been deselected in the installation process prior to proceeding with
the installation.

Desired behavior: I expect that I can decide against encrypting my
system, even when I have entered and not submitted security keys
beforehand.

What happened: During the installation process, I first decided to go
for an encrypted ZFS partition layout. Thus, I chose 'Advanced
features', checked, 'Erase disk and use ZFS', as well as 'Encrypt the
new Ubuntu installation for security', and clicked OK. I then clicked
'Continue' and entered two matching security keys. I did not opted for a
recovery.

At this very point I changed my mind about encrypting the file system. I
just clicked 'Back' without clearing my previously entered security
keys. In 'Advanced features' I deselected the 'Encryption' checkbox and
clicked 'Continue'. I was then asked to confirm the partition layout,
which I did.

The rest of the installation went normal. As a surprise to me, I was
asked for the security key I had previously entered. The system then
boots normal.


Installation media: jammy-desktop-amd64.iso, downloaded March 11. Tested in VirtualBox and QEMU.

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: encryption zfs

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1964788

Title:
  ZFS pool gets encrypted even when encryption is deselected again

Status in ubiquity package in Ubuntu:
  New

Bug description:
  Issue: As soon as security keys for an encrypted ZFS setup are
  entered, the system will get encrypted, even if this is not desired
  anymore and has been deselected in the installation process prior to
  proceeding with the installation.

  Desired behavior: I expect that I can decide against encrypting my
  system, even when I have entered and not submitted security keys
  beforehand.

  What happened: During the installation process, I first decided to go
  for an encrypted ZFS partition layout. Thus, I chose 'Advanced
  features', checked, 'Erase disk and use ZFS', as well as 'Encrypt the
  new Ubuntu installation for security', and clicked OK. I then clicked
  'Continue' and entered two matching security keys. I did not opted for
  a recovery.

  At this very point I changed my mind about encrypting the file system.
  I just clicked 'Back' without clearing my previously entered security
  keys. In 'Advanced features' I deselected the 'Encryption' checkbox
  and clicked 'Continue'. I was then asked to confirm the partition
  layout, which I did.

  The rest of the installation went normal. As a surprise to me, I was
  asked for the security key I had previously entered. The system then
  boots normal.

  
  Installation media: jammy-desktop-amd64.iso, downloaded March 11. Tested in VirtualBox and QEMU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1964788/+subscriptions




More information about the foundations-bugs mailing list