D12373: Klipper: Remove first history item on clipboard clear
Robert Hoffmann
noreply at phabricator.kde.org
Fri Apr 20 09:42:23 UTC 2018
hoffmannrobert created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
hoffmannrobert requested review of this revision.
REVISION SUMMARY
Password manager tools like Keepassx offer an option to clear
the clipboard/selection after some time, e.g. 10 seconds,
after the password was copied to the clipboard. This works fine,
but unfortunately the password isn't removed from Klipper's
history. This is a great security risk, which may make the use
of password managers impossible.
This patch offers an option to remove the top history item if
Klipper::checkClipData was called, but actually there isn't any
data. This is the case, if QClipboard::clear was called (by
Keepassx), which does setMimeData(0, mode).
REPOSITORY
R120 Plasma Workspace
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D12373
AFFECTED FILES
klipper/generalconfig.ui
klipper/klipper.cpp
klipper/klipper.h
klipper/klipper.kcfg
To: hoffmannrobert
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180420/1940ffcc/attachment-0001.html>
More information about the Plasma-devel
mailing list