Bug 458934 - Dolphin should cryptsetup-close ejected LUKS volumes
Summary: Dolphin should cryptsetup-close ejected LUKS volumes
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-09 17:09 UTC by giorgio.gallo
Modified: 2023-12-04 20:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giorgio.gallo 2022-09-09 17:09:34 UTC
SUMMARY

Clicking a LUKS-encrypted device's eject icon in dolphin does nothing and, specifically, does not cryptsetup-close the device as one could expect.

STEPS TO REPRODUCE

1. Make a LUKS-encrypted USB stick
2. Plug it in and open it via Dolphin (this will ask the for the password)
3. Click the eject icon
4. Click on the device again

OBSERVED RESULT

It doesn't ask for the password again (and seems to do nothing at all)

EXPECTED RESULT

It should ask for the password again

SOFTWARE/OS VERSIONS

Dolphin 22.04.1 on Fedora f36

ADDITIONAL INFORMATION

n/a
Comment 1 Unknown 2023-12-04 20:10:14 UTC
Indeed, clicking on the removable device (see also Bug 402690) does nothing, whereas clicking on the unmounted partition instantly remounts it without prompt of any kind. That makes no sense.

The pain gets real when you have an external USB enclosure with a couple of LUKS-encrypted disks: not only is there no easy way to lock these, but "safely removing" one of the disks may power off both at once. Granted, the latter doesn't seem to be an issue specific to KDE, but GNOME Disks at least has the courtesy to warn me of the impending blackout.