Improve password hash handling #14

Merged
lx merged 1 commit from Kidswiss/bottin:change/password_hashing into main 2022-02-14 11:10:15 +00:00

1 commit

Author SHA1 Message Date
Simon Beck
f05e41c9aa Improve password hash handling
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
This adds support for more hash algorithms. Also a stored password will
be updated to SSHA512 upon a successful bind. It will also automatically
hash a cleartext password if the `userpassword` field is modified with
a cleartext one.

Hashes supported:
* SSHA
* SSHA256
* SSHA512
2022-02-10 20:51:01 +01:00