[kde] [Bug 500548] New: Mounting a LUKS encrypted device via GUI ignores keyfile defined in crypttab.

boernsen bugzilla_noreply at kde.org
Fri Feb 21 20:07:34 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=500548

            Bug ID: 500548
           Summary: Mounting a LUKS encrypted device via GUI ignores
                    keyfile defined in crypttab.
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: xusmv15r at anonaddy.me
  Target Milestone: ---

Mounting a LUKS encrypted device via GUI always shows password prompt despite
keyfile definition in crypttab.

Possible duplicate of https://bugs.kde.org/show_bug.cgi?id=412851
It's a different platform though and I though I should give more description.

STEPS TO REPRODUCE
1. Encrypt USB device with cryptsetup and add a keyfile to it
2. Add entry for device with keyfile in /etc/crypttab
3. Try to mount the device with cryptdisks_start / mount via terminal, then
umount / cryptdisks_stop.
4. Try to mount the device via GUI (either via KDE dolphin or via task bar
"Disks & Devices").

OBSERVED RESULT
Mounting via cryptdisks_start works without password prompt due to keyfile in
crypttab.
Mounting via GUI shows password prompt, thus doesn't respect the keyfile
defined in crypttab.

EXPECTED RESULT
Mounting via GUI uses keyfile defined in crypttab and omits the password prompt
in that case.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 24.04
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1


ADDITIONAL INFORMATION
https://askubuntu.com/questions/1541875/how-to-unmount-an-encrypted-usb-via-gui-using-a-keyfile

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list