| Summary: | Klipper security risks | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | medin <med.medin.2014> |
| Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | major | CC: | kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.21.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
medin
2021-05-31 11:40:22 UTC
This is configurable. There is a mechanism by which sensitive data can be marked as not being something to save in klipper which is used by keepassxc and others. This is done by adding an additional mimetype tag when the selection is saved to the clipboard. Anything else is out of scope. (In reply to David Edmundson from comment #1) > This is configurable. I opened Klipper config dialog and couldn't find any option to do it, where can I find it ? What I want is to avoid Klipper from saving some sensitive info copied from an application (based on JavaFX) which needs heavy copy/paste actions to work. "save clipboard contents on exit" If that doesn't work, please do let me know. (In reply to David Edmundson from comment #3) > "save clipboard contents on exit" > > If that doesn't work, please do let me know. That option just clears the whole Klipper data after logging out. What I meant is if there's any way to exclude copied texts within a specific app from being saved or shown in Klipper like how KeePassXC does it ? Only through the mechanism keepassxc uses. Klipper has no other way to determine the source of clipboard data. (In reply to David Edmundson from comment #5) > Only through the mechanism keepassxc uses. > Klipper has no other way to determine the source of clipboard data. It's technically possible, on Mate I did it with CopyQ to avoid saving my copied data from specific apps like Writer, Eclipse... The problem with Plasma desktop is that Klipper cannot be disabled because it causes a loss of data when the origin app from which the data is copied is closed. You don't have to totally disable Klipper; just make it behave like the crude clipboards of other platforms by reducing the history size to 1. Then the password in the history will get cleared when another thing is copied. I agree with David that you should tell the apps in question to mark sensitive clipboard data as such so everything works automatically. > you should tell the apps in question to mark
> sensitive clipboard data as such so everything works automatically.
It would be cool to have and option to exclude copied text from specific apps.
It wouldn't help for everything though. For example I manage my passwords with a browser-addon-based system, so telling Klipper to exclude everything from Firefox would make no sense. Ultimately the solution is for apps to behave correctly, not for us to let the user work around broken apps in a zillion different ways. :) |