| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-03-18 | Define _POSIX_C_SOURCE globally | Simon Ser | |
| Other Sway projects have switched to this approach. | |||
| 2024-03-05 | Read password hash before fork | Sertonix | |
| This ensures that the parent properly errors only if the password cannot be read. | |||
| 2024-01-16 | Check setgid too after dropping root | Sertonix | |
| 2022-09-26 | shadow: make the result of crypt() const | Simon Ser | |
| This should not be free'd. | |||
| 2022-06-15 | Use mlock for password buffer | Robin Ebert | |
| 2019-01-27 | Merge pull request #36 from c-edw/feature/ShadowBackendSleep | Drew DeVault | |
| Sleep on incorrect password with shadow backend. | |||
| 2019-01-27 | Sleep on incorrect password with shadow backend. | Connor E | |
| 2019-01-23 | Include stdlib.h in shadow.c | John Axel Eriksson | |
| 2019-01-18 | Make setuid error clearer. | Connor E | |
| 2019-01-17 | Move PAM into a child process | emersion | |
| 2019-01-17 | shadow: fix return in initialize_pw_backend | emersion | |
| 2019-01-16 | Make sure we can't restore root after setuid | emersion | |
| 2019-01-15 | Fix swaylock.h include directive | John Axel Eriksson | |
| 2019-01-14 | Implement logging and remove wlroots dependency | Brian Ashworth | |
| This implements a simpler version of the wlroots logger for swaylock. With this logger, the dependency on wlroots can be dropped. This also adds a debug flag and disables debugging output by default | |||
| 2018-11-25 | Replace _XOPEN_SOURCE with _POSIX_C_SOURCE | emersion | |
| And make sure we don't define both in the same source file. | |||
| 2018-10-06 | Fix swaylock w/shadow on glibc, improve security | Drew DeVault | |
| Today I learned that GNU flaunts the POSIX standard in yet another creative way. Additionally, this adds some security improvements, namely: - Zeroing out password buffers in the privileged child process - setuid/setgid after reading /etc/shadow | |||
| 2018-09-28 | Add support for building swaylock without PAM | Drew 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. | |||
