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

Tom tom at boven.xyz
Fri Sep 17 20:04:59 BST 2021


Package: gnome-shell
Version: 3.38.6-1
Severity: normal
X-Debbugs-Cc: tom at boven.xyz

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.



-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=nl_BE:nl
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-shell depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.38.0-2
ii  evolution-data-server                        3.38.3-1
ii  gir1.2-accountsservice-1.0                   0.6.55-3
ii  gir1.2-atspi-2.0                             2.40.3-3
ii  gir1.2-freedesktop                           1.68.0-2
ii  gir1.2-gcr-3                                 3.38.1-2
ii  gir1.2-gdesktopenums-3.0                     3.38.0-2
ii  gir1.2-gdm-1.0                               3.38.2.1-1
ii  gir1.2-geoclue-2.0                           2.5.7-3
ii  gir1.2-glib-2.0                              1.68.0-2
ii  gir1.2-gnomebluetooth-1.0                    3.34.5-4
ii  gir1.2-gnomedesktop-3.0                      3.38.5-3
ii  gir1.2-gstreamer-1.0                         1.18.4-2.1
ii  gir1.2-gtk-3.0                               3.24.30-3
ii  gir1.2-gweather-3.0                          3.36.1-3
ii  gir1.2-ibus-1.0                              1.5.25-2
ii  gir1.2-mutter-7                              3.38.6-2
ii  gir1.2-nm-1.0                                1.30.6-1
ii  gir1.2-nma-1.0                               1.8.32-1
ii  gir1.2-pango-1.0                             1.48.9+ds1-2
ii  gir1.2-polkit-1.0                            0.105-31
ii  gir1.2-rsvg-2.0                              2.50.3+dfsg-1
ii  gir1.2-soup-2.4                              2.74.0-2
ii  gir1.2-upowerglib-1.0                        0.99.13-1
ii  gjs                                          1.68.3-1
ii  gnome-backgrounds                            41.0-1
ii  gnome-settings-daemon                        3.38.2-1
ii  gnome-shell-common                           3.38.6-1
ii  gsettings-desktop-schemas                    3.38.0-2
ii  gstreamer1.0-pipewire                        0.3.34-1
ii  libatk-bridge2.0-0                           2.38.0-1
ii  libatk1.0-0                                  2.36.0-2
ii  libc6                                        2.31-17
ii  libcairo2                                    1.16.0-5
ii  libecal-2.0-1                                3.38.3-1
ii  libedataserver-1.2-25                        3.38.3-1
ii  libgcr-base-3-1                              3.38.1-2
ii  libgdk-pixbuf-2.0-0                          2.42.6+dfsg-2
ii  libgirepository-1.0-1                        1.68.0-2
ii  libgjs0g                                     1.68.3-1
ii  libgles2                                     1.3.2-1
ii  libglib2.0-0                                 2.68.4-1
ii  libglib2.0-bin                               2.68.4-1
ii  libgnome-autoar-0-0                          0.4.0-1
ii  libgnome-desktop-3-19                        3.38.5-3
ii  libgraphene-1.0-0                            1.10.4+dfsg1-1
ii  libgtk-3-0                                   3.24.30-3
ii  libical3                                     3.0.10-1
ii  libjson-glib-1.0-0                           1.6.6-1
ii  libmutter-7-0                                3.38.6-2
ii  libnm0                                       1.30.6-1
ii  libpango-1.0-0                               1.48.9+ds1-2
ii  libpangocairo-1.0-0                          1.48.9+ds1-2
ii  libpolkit-agent-1-0                          0.105-31
ii  libpolkit-gobject-1-0                        0.105-31
ii  libpulse-mainloop-glib0                      14.2-2
ii  libpulse0                                    14.2-2
ii  libsecret-1-0                                0.20.4-2
ii  libsystemd0                                  247.9-1
ii  libwayland-server0                           1.19.0-2
ii  libx11-6                                     2:1.7.2-1
ii  libxfixes3                                   1:5.0.3-2
ii  python3                                      3.9.2-3

Versions of packages gnome-shell recommends:
ii  bolt                  0.9.1-1
ii  chrome-gnome-shell    10.1-5
ii  gdm3                  3.38.2.1-1
ii  gkbd-capplet          3.26.1-1+b1
ii  gnome-control-center  1:3.38.4-1
ii  gnome-menus           3.36.0-1
ii  gnome-user-docs       40.4-1
ii  ibus                  1.5.25-2
ii  iio-sensor-proxy      3.0-2
ii  switcheroo-control    2.4-3
ii  unzip                 6.0-26

Versions of packages gnome-shell suggests:
ii  gir1.2-telepathyglib-0.12   0.24.1-3
ii  gir1.2-telepathylogger-0.2  0.8.2-4

Versions of packages gnome-session depends on:
ii  gnome-session-bin      40.1.1-1
ii  gnome-session-common   40.1.1-1
ii  gnome-settings-daemon  3.38.2-1

Versions of packages gnome-session suggests:
ii  desktop-base   11.0.3
ii  gnome-keyring  40.0-2

Versions of packages gnome-settings-daemon depends on:
ii  gnome-settings-daemon-common  3.38.2-1
ii  gsettings-desktop-schemas     3.38.0-2
ii  libasound2                    1.2.5.1-1
ii  libc6                         2.31-17
ii  libcairo2                     1.16.0-5
ii  libcanberra-gtk3-0            0.30-7+b1
ii  libcanberra0                  0.30-7+b1
ii  libcolord2                    1.4.5-3
ii  libcups2                      2.3.3op2-7
ii  libfontconfig1                2.13.1-4.2
ii  libgcr-base-3-1               3.38.1-2
ii  libgdk-pixbuf-2.0-0           2.42.6+dfsg-2
ii  libgeoclue-2-0                2.5.7-3
ii  libgeocode-glib0              3.26.2-2
ii  libglib2.0-0                  2.68.4-1
ii  libgnome-desktop-3-19         3.38.5-3
ii  libgtk-3-0                    3.24.30-3
ii  libgudev-1.0-0                237-2
ii  libgweather-3-16              3.36.1-3
ii  liblcms2-2                    2.12~rc1-2
ii  libmm-glib0                   1.14.12-0.2
ii  libnm0                        1.30.6-1
ii  libnotify4                    0.7.9-3
ii  libnspr4                      2:4.32-1
ii  libnss3                       2:3.70-1
ii  libpam-systemd [logind]       247.9-1
ii  libpango-1.0-0                1.48.9+ds1-2
ii  libpangocairo-1.0-0           1.48.9+ds1-2
ii  libpolkit-gobject-1-0         0.105-31
ii  libpulse-mainloop-glib0       14.2-2
ii  libpulse0                     14.2-2
ii  libupower-glib3               0.99.13-1
ii  libwacom2                     1.11-1
ii  libwayland-client0            1.19.0-2
ii  libx11-6                      2:1.7.2-1
ii  libxext6                      2:1.3.3-1.1
ii  libxi6                        2:1.7.10-1

Versions of packages gnome-settings-daemon recommends:
ii  iio-sensor-proxy   3.0-2
ii  pulseaudio         14.2-2
ii  x11-xserver-utils  7.7+8

Versions of packages gnome-settings-daemon suggests:
pn  usbguard  <none>

Versions of packages libgjs0g depends on:
ii  libc6                  2.31-17
ii  libcairo-gobject2      1.16.0-5
ii  libcairo2              1.16.0-5
ii  libffi7                3.3-6
ii  libgcc-s1              11.2.0-4
ii  libgirepository-1.0-1  1.68.0-2
ii  libglib2.0-0           2.68.4-1
ii  libmozjs-78-0          78.13.0-1
ii  libreadline8           8.1-2
ii  libstdc++6             11.2.0-4
ii  libx11-6               2:1.7.2-1

Versions of packages gnome-shell is related to:
ii  libegl-mesa0 [libegl-vendor]    20.3.5-1
ii  libgl1-mesa-dri                 20.3.5-1
ii  libglx-mesa0 [libglx-vendor]    20.3.5-1
ii  libglx-nvidia0 [libglx-vendor]  470.57.02-2
ii  nvidia-egl-icd [libegl-vendor]  470.57.02-2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: password-a.png
Type: image/png
Size: 19774 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20210917/d5cc16e7/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: password-b.png
Type: image/png
Size: 21932 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20210917/d5cc16e7/attachment-0003.png>


More information about the pkg-gnome-maintainers mailing list