I have a single text file I want to encrypt. I can easily do so with any common software. But then, I want to be able to click on it, provide a password, and be able to read, edit, and close it. All from the GUI, which should be KDE-compatible, and possibly the editor should be Kate. Ideally, this should be available in a single KRunner call. Alternative CLI approach are OK but should be contained in a single command/function/alias.
A possibility could be to create an encrypted folder. Then mount the folder only at access-time and unmount immediately after the closure of the text editor, all in a single CLI command. It looks a bit hackish to me tho, and I'd prefer to do the call from KRunner only.
To summarize, following the ArchWiki a bit:
- I want to protect a single file in case my PC gets stolen. Of course professional data miners will get to it eventually, I accept that.
- The file should be accessible (read/write access) with a passphrase on-the-fly (on-demand)
- GUI methods are preferred but CLI methods are OK too, as long as they can be called with a .desktop file (to be accessed via KRunner)
- I don't have a preferred encryption method, as long as it's decently fast, secure and open-source.
- Structure and filenames of the encrypted folder (if this is the only way) can be transparent, as long as the content is inaccessible.
- Any encryption method is accepted, as long as it does not take minutes to verify a key, for example