Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Spend a missing account's login on a real hash
The fixed SHA-512 stand-in matched only the documented setup, so a site hashing with yescrypt, other rounds or bcrypt answered for missing and real names in different times, and on OpenBSD it failed at once.
-rw-r--r--custom/extensions/auth-file.lua29
-rw-r--r--custom/extensions/auth-inline.lua23
-rw-r--r--tests/extensions/harness.lua17
-rw-r--r--tests/extensions/test-auth.lua87
4 files changed, 99 insertions, 57 deletions