Go to file
Geoff Greer d8f0fb1378 swaylock: Securely zero-out password.
- 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-12 17:49:21 -07:00
pam swaylock: Fix swaylock.pam 2016-04-23 19:37:21 +02:00
main.c swaylock: Securely zero-out password. 2018-04-12 17:49:21 -07:00
meson.build Add password buffer, refactor rendering/surfaces 2018-04-04 18:47:48 -04:00
password.c swaylock: Securely zero-out password. 2018-04-12 17:49:21 -07:00
render.c Address review feedback from @emersion 2018-04-04 18:52:44 -04:00
seat.c exit() needs stdlib.h 2018-04-04 18:47:49 -04:00
swaylock.1.txt Document swaylock -f, scratchpad show 2017-10-08 11:09:24 -04:00