Bug 447214 - When deleting a file in an encrypted vault, the file is moved to the trash folder outside the vault, becoming unencrypted
Summary: When deleting a file in an encrypted vault, the file is moved to the trash fo...
Status: RESOLVED DUPLICATE of bug 386104
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.12.0
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-19 03:39 UTC by Nikos Chantziaras
Modified: 2023-03-24 09:49 UTC (History)
4 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 Nikos Chantziaras 2021-12-19 03:39:09 UTC
SUMMARY
***
When opening an encrypted vault in Dolphin and deleting files in it, the files are moved outside the vault and thus are exposed unencrypted. They end up in ~/.local/share/Trash.

I believe this is a serious security issue, which is why I marked this bug with a severity of "major."
***


STEPS TO REPRODUCE
1. Open a vault.
2. Create a new text file in the fault.
3. Select the new file in Dolphin and press the Del key on the keyboard.

OBSERVED RESULT
The file gets moved to "~/.local/share/Trash", which is unencrypted.

EXPECTED RESULT
The file should be moved to the trash folder on the root directory of the vault.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.8
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.10.87-gentoo (64-bit)
Graphics Platform: X11
Comment 1 ocalhoun 2022-02-15 11:32:12 UTC
Duplicate of #386104?
https://bugs.kde.org/show_bug.cgi?id=386104

Can confirm, though. Came searching for this issue specifically because I unexpectedly found files from my encrypted vault unencrypted in my trash folder.
Comment 2 Ben Bonacci 2023-03-24 09:49:36 UTC

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