Hacker News new | ask | show | jobs
by pabs3 279 days ago
How does it detect passwords? Usually those are just plain-text when copied.

https://hluk.github.io/CopyQ/

Either way, I think it is better to not copy passwords to the clipboard or the selection, but store and transfer them via password-manager/browser/etc APIs.

1 comments

With KDE on Wayland, there is a clipboard hint MIME type `x-kde-passwordManagerHint` for passwords that clipboard managers can choose to drop.
Not too much support out there, but at least some important things do:

https://codesearch.debian.net/search?q=x-kde-passwordManager...

At least in my experience, it works with the password and clipboard managers I use, and even some command-line utilities like wl-clipboard.

Wish it was a protocol-level setting, though, instead of something KDE specific and honored at the application level.