#994565 gnome-shell: Unlocking LUKS disk with clevis asks for password after unlocked by clevis

Package:
gnome-shell
Source:
gnome-shell
Description:
graphical shell for the GNOME desktop
Submitter:
Tom
Date:
2021-09-17 19:09:03 UTC
Severity:
normal
#994565#5
Date:
2021-09-17 19:04:59 UTC
From:
To:
Dear Maintainer,

For off all, I want to appologise if I'm reporting this on the wrong package.
I'm simply not sure if this is part of gnome or some other package like udisk2.

   * What led up to the situation?
I was experimenting with tang/clevis to auto unlock encrypted USB flash drives.

   * What exactly did you do (or not do) that was effective (or ineffective)?
I have an encrypted USB. I tried to use the gnome interface to format and
encrypt the drive.
This was successfull, but binding it to the tang server was not possible using
the GUI.
Therefor I ran this command on the terminal:
$ clevis luks bind -d /dev/sdc1  tang '{"url":"http://tang.example.org/"}'

   * What was the outcome of this action?
Every time I now insert the USB drive I get a password prompt to unlock the
flash drive (password-a.png).
This disapears after 2-3 seconds but then I'm asked for another password for
the device /dev/mapper/luks-<uuid> (password-b.png).
No matter what I enter in this password box, nothing is accepted.
Simply pressing cancell to close the password prompt makes it disappear.
But it seems this was not needed as I can already see the drive visible and
mounted in nautilus while the password box is visible.

   * What outcome did you expect instead?
I expected the drive to be unlocked and all password prompts to disapear
automatically.