Improve password hash handling #14

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

1 Commits

Author SHA1 Message Date
Simon Beck f05e41c9aa Improve password hash handling
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
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