Bug 447214

Summary: When deleting a file in an encrypted vault, the file is moved to the trash folder outside the vault, becoming unencrypted
Product: [Applications] dolphin Reporter: Nikos Chantziaras <realnc>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major CC: 7485697, ben, kfm-devel, tagwerk19
Priority: NOR    
Version: 21.12.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***