sway/swaylock
Geoff Greer 1312db8b43 Swaylock: Clear password buffer after use.
After a user enters or clears a password, try to overwrite the buffer containing it. That way it's not sitting around in RAM for something else to read later. Also, mlock() the password buffer so that it is never swapped out.

This also replaces the dynamically allocated buffer with a static char[1024]. Any characters past that are discarded until the user hits enter or escape.
2017-12-14 19:53:11 -08:00
..
pam swaylock: Fix swaylock.pam 2016-04-23 19:37:21 +02:00
CMakeLists.txt Make asciidoc (and man pages) optional 2017-07-04 16:02:54 -04:00
main.c Swaylock: Clear password buffer after use. 2017-12-14 19:53:11 -08:00
swaylock.1.txt Document swaylock -f, scratchpad show 2017-10-08 11:09:24 -04:00