benruijl / sflock

Simple X display locker, with basic user feedback. Based on slock.
MIT License
50 stars 21 forks source link

Don't advertise length of password upon entering #21

Open kannes opened 7 years ago

kannes commented 7 years ago

sflock displays my username in huge letters and when I enter my password, it displays a star symbol for each character. This lets people from many meters away shouldersurf to get my username (ok) and the length of my password (not ok).

Please add an option to not display each keypress and maybe even make it the default. The normal linux login on the terminal hides passwords as well as does eg cryptsetup.

kannes commented 7 years ago

Ah, looking through the source I realise I can use " ". Previously I had tried "" which never made it lock for some reason.

Leaving this open as I would suggest this being the default setting.