| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | slock: password hash from enstate, else setuid | tv | 6 hours | 1 | -0/+41 |
| The hash no longer goes into the store. With enstate, it can come from the slot secrets/slock.hashed-password: then slock runs as its user, with that hash. Without a hash, the credential falls back to "none" and slock runs setuid root, reading /etc/shadow. A validator for text/x-crypt-hash checks the hash the way slock uses it, with crypt. The slot is optional, so enstate leaves out a hash the validator objects to, and slock runs setuid instead of locking with a hash no password matches. | |||||
