Bug 424741 - Add secure delete to Dolphin/Plasma_Desktop
Summary: Add secure delete to Dolphin/Plasma_Desktop
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.04.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-28 10:31 UTC by medin
Modified: 2020-07-28 13:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2020-07-28 10:31:38 UTC
I use two machines where I installed dual boot Windows and Manjaro, I have exclusive access to Manjaro session but others can access Windows, the problem is that one NTFS partition (non system) is shared by the two systems as storage place for keeping data due to fear of sudden crash of any OS, and sometimes I delete some of my private files (docx, pdfs, jpegs) without using shred command (which always needs opening terminal and typing a command), this create some insecure feeling that others can recover them from Windows sessions and spy on the content without me knowing.

What I like is if it's possible to add a really high secure delete (like Gutmann or DoD) to dolphin right click contextual menu, this way everyone can delete private files without requiring to keep typing shred commands on terminal. It would also be cool to have this option for Plasma Desktop.

I tried searching service plugins for Dolphin and found one called "KDE-Services" which has not been updated since 2017-12-27, in fact I don't like to use third parties plugins provided by non authentic KDE developers, because they are always not well tested and not updated to comply with latest API changes in Dolphin or system.
Comment 1 Julian Steinmann 2020-07-28 13:16:34 UTC
This is a rather niche feature request, and given that the context menu is already rather full with options by default, I would propose the following option instead: https://stackoverflow.com/questions/59374606/how-to-add-shred-to-kde-context-menu-for-safe-delete-file-folder. Given that this solution does not require any code, there is no additional attack vector through the shred action.
Comment 2 medin 2020-07-28 13:37:13 UTC
(In reply to Julian Schraner from comment #1)
> This is a rather niche feature request, and given that the context menu is
> already rather full with options by default, I would propose the following
> option instead:
> https://stackoverflow.com/questions/59374606/how-to-add-shred-to-kde-context-
> menu-for-safe-delete-file-folder. Given that this solution does not require
> any code, there is no additional attack vector through the shred action.

Cannot this be officially added to Dolphin services plugins and disabled by default, so user has choice to enabled it and have big menu or not ?
like what we have with Git, SVN an Root_actions services plugins ?
Comment 3 Christoph Feck 2020-07-28 13:56:15 UTC
Context menu extension are shared via GHNS. I haven't checked if such an extension is already there. If not, feel free to add it.

I would suggest to not lauch the shred commands directly, but use a kdialog asking for confirmation first. You can launch bash scripts in Exec= line.

Additionally, I would suggest to not name the action "Safe(ly) Remove", because it is misleading. You savely remove an USB stick to not destroy its files.