[greeter] Clear clipboard on show

Authored by graesslin on Feb 17 2017, 3:20 PM.

Description

[greeter] Clear clipboard on show

Summary:
As we have a feature to show the password it would be possible for an
unauthorized user to get access to the clipboard.

To prevent this, the clipboard gets cleared when we have the window
shown. This is late enough on Wayland to be able to clear the clipboard.

BUG: 376526
FIXED-IN: 5.10

Test Plan:
On Wayland, paste is no longer possible. X11 is untested,
there klipper might restore clipboard content.

Reviewers: Plasma

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D4650

Details

Committed
graesslinFeb 17 2017, 3:23 PM
Differential Revision
D4650: [greeter] Clear clipboard on show
Parents
R133:b85b9ed36de1: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown