Personally I don't use any kind of clipboard manager, but as far as I know if you're messing with clipboard too much, password can be leaked. For example, by being saved to disk by clipboard manager (xfce4-clipman does that). Running scripts on clipboard clearing would be a good idea if you have some custom magic setup that requires additional actions to wipe out password from memory.
This issue can partially solve #926 but actually it's a more generic request rather than just a duplicate issue.
Password successfully deleted from clipboard manager as well as the buffer itself.
Password is stored in clipboard manager and written to disk, usually unencrypted
KeePassXC - Version 2.2.2
Revision: 6d46717
Libraries:
Operating system: Linux
CPU architecture: x86_64
Kernel: linux 4.13.13-1-hardened
Enabled extensions:
I'm not entirely convinced that running third-party scripts to clear the clipboard is a good idea. I'd rather suggest you disable your clipboard manager or use Auto-Type.
Taking all control over clipboard from user isn't a good idea as well. And relying on autotype, which can be logged, isn't much better than just allowing user to choose what to do on clipboard clearing. Furthermore, autotype will never work in isolated environment (for example, Qubes)
Executing external script/commands isn't a good solution neither
This will not be implemented.