aboutsummaryrefslogtreecommitdiff
path: root/swaylock/password.c
AgeCommit message (Collapse)AuthorLines
2018-04-24Improved key handling in swaylockMattias Eriksson-1/+29
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-24/+20
- 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-1/+2
2018-04-04Move extra roundtrip into password.cDrew DeVault-0/+1
2018-04-04Actually let's not do that TODODrew DeVault-1/+0
2018-04-04R E N D E R I N GDrew DeVault-4/+16
2018-04-04Verify passwordsDrew DeVault-1/+57
2018-04-04Add password buffer, refactor rendering/surfacesDrew DeVault-0/+57