[Lock Screen / Login] Add "reveal password button"
ClosedPublic

Authored by broulik on Dec 7 2016, 11:51 AM.

Details

Summary

Allows to show the password on click, similar to how it's done in most other password fields throughout the workspace.

Test Plan

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 8841.Dec 7 2016, 11:51 AM
broulik retitled this revision from to [Lock Screen / Login] Add "reveal password button".
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added reviewers: Plasma, Plasma: Design.
broulik set the repository for this revision to R120 Plasma Workspace.
Restricted Application added a project: Plasma. · View Herald TranscriptDec 7 2016, 11:51 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg added a subscriber: romangg.Dec 7 2016, 7:34 PM

On one hand: Yea, why not.

On the other imagine the following situation: Two people sit in front of the PC, and one of them wants to login to the PC. After entering his password, he accidently hits the "show password" icon (since it's pretty near to the "Unlock"-Button. His password has been compromised in this moment and he needs to change it now. In a company setting it could get really ugly, if only an admin is able to. Or if the user is not able to (my mum). Login passwords are in general more undisclosed than for example Wlan passwords (which every second guy coming over for lunch would get from me ... I know it's bad).

graesslin accepted this revision.Dec 7 2016, 7:52 PM
graesslin added a reviewer: graesslin.
graesslin added a subscriber: graesslin.

+1 from KScreenlocker maintainer. If you also want VDG input, please wait :-)

This revision is now accepted and ready to land.Dec 7 2016, 7:52 PM
cfeck added a subscriber: cfeck.Dec 7 2016, 7:53 PM

Using that argument, we would have to remove the 'reveal password' option from KPasswordDialog, too.

One thing we perhaps should do is add a kiosk restriction to globally disable this button everywhere.

+1 for the patch (I don't think the icon is close enough to the login button to be problematic)

Also +1 for disabling "show password" buttons in general via Kiosk

This revision was automatically updated to reflect the committed changes.