aboutsummaryrefslogtreecommitdiff
path: root/swaylock/password.c
AgeCommit message (Collapse)Author
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