aboutsummaryrefslogtreecommitdiff
path: root/swaylock/password.c
AgeCommit message (Collapse)Author
2018-10-14swaylock: fix clear_password_bufferespkk
2018-09-28Add support for building swaylock without PAMDrew DeVault
This involves setuid'ing swaylock, which then forks and drops perms on the parent process. The child process remains root and listens on a pipe for requests to validate passwords against /etc/shadow.
2018-07-10Implement swaylock customization flagsBrian Ashworth
2018-07-09Update for swaywm/wlroots#1126emersion
2018-07-07swaylock: fix the displaying of "verified"Dominique Martinet
Displaying verified after damaging state needs more than one roundtrip, so keep looping until surfaces are not dirty anymore
2018-06-08swaylock: implement ^U to clear bufferDominique Martinet
The whole state->xcb.modifiers thing didn't work at all (always 0) The xkb doc says "[xkb_state_serialize_mods] should not be used in regular clients; please use the xkb_state_mod_*_is_active API instead" so here it is
2018-05-27swaylock: implement a proper render loopemersion
2018-04-24Improved key handling in swaylockMattias Eriksson
Make escape clear buffer Add indicator states for ctrl,shift,super et al Add CapsLock indicator
2018-04-12swaylock: Securely zero-out password.Geoff Greer
- Replace char* with static array. Any chars > 1024 will be discarded. - mlock() password buffer so it can't be written to swap. - Clear password buffer after auth succeeds or fails. This is basically the same treatment I gave the 0.15 branch in https://github.com/swaywm/sway/pull/1519
2018-04-04Address review feedback from @emersionDrew DeVault
2018-04-04Move extra roundtrip into password.cDrew DeVault
2018-04-04Actually let's not do that TODODrew DeVault
2018-04-04R E N D E R I N GDrew DeVault
2018-04-04Verify passwordsDrew DeVault
2018-04-04Add password buffer, refactor rendering/surfacesDrew DeVault