Bug 1223159

Summary: Unlocking encrypted usb device fails with Plasma desktop automatic doings
Product: [openSUSE] openSUSE Tumbleweed Reporter: Paul Graff <pj.opensuse>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: email, fabian, pj.opensuse, sebastian.kuhne
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Paul Graff 2024-04-19 22:05:17 UTC
Hi the machine has openSUSE:tumbleweed:20240418 with plasma 6.0.4 and QT 6.7.0 installed.

Previously I was able to unlock the LUKS encrypted usb drives partition by clicking on Disks & Devices in system tray and entering the LUKS passphrase. I am no longer able to do so on this machine. When clicking on the usb device I receive the message (you are not authorized to mount this device).
-
When using Dolphin to attempt to access the encrypted usb's volume - the
following error is displayed:

An error occurred while accessing '1.9 GiB Encrypted Drive', the system
responded: An unspecified error has occurred: Object does not exist at
path “/” 
-
# cryptsetup luksOpen /dev/sdb ARBITRARY_NAME
and entering the LUKS partitions passphrase does unlock the volume. 

Gparted recognizes the drive and is able to unencrypt the volume (when the passphrase is entered). 

Then I am able to access the encrypted volume by
using Dolphin after providing the root password. Dolphin has not asked
for root password before when performing this operation.
-
It seems as if something with how Plasma 6 uses luksOpen has broken.

Do you know what is going on here?
Comment 1 hui 2024-04-20 05:00:47 UTC
*** Bug 1223163 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Kuhne 2024-04-20 05:14:44 UTC
I can confirm all descriptions (Dolphin, Gparted, cryptsetup). The same behavior happens 1:1 on my system.

My system:
Operating System: openSUSE Tumbleweed 20240418
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.6-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × AMD A8-7650K Radeon R7, 10 Compute Cores 4C+6G
Memory: 14.6 GiB of RAM
Graphics Processor: llvmpipe
Comment 3 Fabian Vogt 2024-04-20 10:00:21 UTC
Dupe.

*** This bug has been marked as a duplicate of bug 1222980 ***