Public bug reported:

[ Impact ]

1. Ensure that udisks2 supports unlocking TCRYPT devices:
   sudo touch /etc/udisks2/tcrypt.conf && sudo systemctl restart udisks2

2. Ensure that auto-mounting is enabled:
   dconf write /org/gnome/desktop/media-handling/automount true

3. Attach a VeraCrypt file container:
   udisksctl loop-setup --file veracrypt-container.hc

4. GNOME Shell opens the unlock dialog. Enter an incorrect password and try to 
unlock.
5. The unlock dialog just closes.

Coming from https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7631


[ Test case ]


1. Create a VeraCrypt volume in a file
   DISK=/tmp/veracrypt.img
   dd if=/dev/zero of="$DISK" bs=1M count=10
   DEV=$(sudo losetup --find --show "$DISK")
   sudo zuluCrypt-cli -c -t vcrypt -p test -d "$DEV"
   sudo losetup --detach "$DEV"

2. Ensure that udisks2 supports unlocking TCRYPT devices:
   sudo touch /etc/udisks2/tcrypt.conf && sudo systemctl restart udisks2

3. Ensure that auto-mounting is enabled:
   dconf write /org/gnome/desktop/media-handling/automount true

4. Attach the VeraCrypt file container:
   udisksctl loop-setup --file "$DISK"

5. GNOME Shell opens the unlock dialog. Enter an incorrect password and
try to unlock.

[ Regression potential ]

Password is not asked again when trying to unlock other kind of
encrypted devices.

** Affects: gnome-shell (Ubuntu)
     Importance: Medium
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: Fix Released

** Affects: gnome-shell (Ubuntu Noble)
     Importance: Medium
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: In Progress

** Also affects: gnome-shell (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: gnome-shell (Ubuntu Noble)
   Importance: Undecided => Medium

** Changed in: gnome-shell (Ubuntu Noble)
       Status: New => In Progress

** Changed in: gnome-shell (Ubuntu Noble)
     Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0)

** Changed in: gnome-shell (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2084281

Title:
  Unlock dialog for VeraCrypt volumes closes without error message when
  wrong password entered

Status in gnome-shell package in Ubuntu:
  Fix Released
Status in gnome-shell source package in Noble:
  In Progress

Bug description:
  [ Impact ]

  1. Ensure that udisks2 supports unlocking TCRYPT devices:
     sudo touch /etc/udisks2/tcrypt.conf && sudo systemctl restart udisks2

  2. Ensure that auto-mounting is enabled:
     dconf write /org/gnome/desktop/media-handling/automount true

  3. Attach a VeraCrypt file container:
     udisksctl loop-setup --file veracrypt-container.hc

  4. GNOME Shell opens the unlock dialog. Enter an incorrect password and try 
to unlock.
  5. The unlock dialog just closes.

  Coming from https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7631

  
  [ Test case ]

  
  1. Create a VeraCrypt volume in a file
     DISK=/tmp/veracrypt.img
     dd if=/dev/zero of="$DISK" bs=1M count=10
     DEV=$(sudo losetup --find --show "$DISK")
     sudo zuluCrypt-cli -c -t vcrypt -p test -d "$DEV"
     sudo losetup --detach "$DEV"

  2. Ensure that udisks2 supports unlocking TCRYPT devices:
     sudo touch /etc/udisks2/tcrypt.conf && sudo systemctl restart udisks2

  3. Ensure that auto-mounting is enabled:
     dconf write /org/gnome/desktop/media-handling/automount true

  4. Attach the VeraCrypt file container:
     udisksctl loop-setup --file "$DISK"

  5. GNOME Shell opens the unlock dialog. Enter an incorrect password
  and try to unlock.

  [ Regression potential ]

  Password is not asked again when trying to unlock other kind of
  encrypted devices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2084281/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to