KeepassXC should clean KDE Plasma clipboard (Klipper) 10 seconds after user copies a password
KeepassXC does not clean KDE Plasma clipboard (Klipper) 10 seconds after user copies a password, so if you open Klipper you can read past copied passwords
It usually works for me. But generally, there isn't anything we can do. If a clipboard manager decides not to delete its contents, we can't force it to. Clipboard managers and password managers have always been a dangerous combination and probably always will be.
@phoerious note that auto delete has always been a working feature on the old Keepassx + KDE Plasma
No, it's a Klipper problem. I know it used to work for me too, but I just tested it with both KeePassXC and the old (Qt4) KeePassX and the behavior is the same. Klipper seems to have received a new option "Prevent empty clipboard" which prevents KeePasssX(C) completely from emptying the clipboard. If you turn that option off, we can clear the clipboard, but the password still stays within Klipper. I would suggest you open a bug report a http://bugs.kde.org.
@phoerious https://bugs.kde.org/show_bug.cgi?id=381229 wall against wall
We can't do anything about it. I disagree with the comment on bko, though. Yes, erasing the clipboard does not guarantee anything, but that doesn't mean that Klipper necessarily needs to maintain its full history anyway.
Instead of emptying the clipboard you could overwrite it with something that isn't the password, or is that not a good idea?
Wouldn't change anything. The new value would just be added to the list and the old one would remain. That's just how Klipper works.
Klipper seems to have received a new option "Prevent empty clipboard" which prevents KeePasssX(C) completely from emptying the clipboard
Could you please provide source of this? I want to contact KDE developers again
Just FYI: I'm using the current Plasma on Arch Linux and have "prevent empty clipboard" disabled in klipper.
There, KeePassXC 2.3.1 doesn't clean the clipboard while the old KeePassX 0.4.4 does.
Ping @phoerious, what about this? https://github.com/keepassx/keepassx/pull/211
This still continue to be an issue in Plasma 5.15.2 on Ubuntu 18.10 with KeePassXC 2.3.4 even with Prevent empty clipboard option disabled in Klipper...
Edit: Looks like the change was merged into 2.4.0 and is not available for 2.3.x
Still an issue in 2.4.3 with plasma.
Depends on what plasma version you are running. The API to do this was introduced in a relatively recent version.
5.16.4, I'm on manjaro.
@trialism we need a lot more context and information regarding your issue. Open a new issue with all of the information requested in the issue template.
@droidmonkey I played with klipper settings, disabled the ones relevant to history saving and now it works. It's probably an issue with klipper so I'm not sure if I should create a new issue here.
Ok it could be
Most helpful comment
Ping @phoerious, what about this? https://github.com/keepassx/keepassx/pull/211