sentriz / cliphist

wayland clipboard manager with support for multimedia
GNU General Public License v3.0
719 stars 22 forks source link

Implement secret clipboard entry conventions #80

Closed 42Willow closed 7 months ago

42Willow commented 9 months ago

https://github.com/keepassxreboot/keepassxc/issues/10233#issuecomment-1913151267

Code snippet from keepassxc

    mime->setData("x-kde-passwordManagerHint", QByteArrayLiteral("secret"));
42Willow commented 9 months ago

May be related to #58 or may be only an issue with my setup

sentriz commented 9 months ago

I think you would need some option for wl-paste --watch to achieve this. something like "if x-kde-xxx is available as a mime option then don't do anything"

this is still a bit of a hack think

@bugaevc has also mentioned ideally we could have Wayland extensions to that keepass could set a "clipboard state" metadata that wl-paste would be able to ignore sensitive stuff. or pass the metadata in to cliphist so that it can ignore it

bugaevc commented 9 months ago

Related: https://github.com/bugaevc/wl-clipboard/issues/177

sentriz commented 7 months ago

closing re #93