diff options
author | Simon Beck <simon.beck@earthnet.ch> | 2022-02-08 17:59:59 +0100 |
---|---|---|
committer | Simon Beck <simon.beck@earthnet.ch> | 2022-02-10 20:51:01 +0100 |
commit | f05e41c9aad83f3d45aff620a739a116c32b4c47 (patch) | |
tree | 13c8de24260478e90419292ffd6c3035d1f95ee6 /go.mod | |
parent | dbd900371466edfdc7bb7f09080c6698e4f8e647 (diff) | |
download | bottin-f05e41c9aad83f3d45aff620a739a116c32b4c47.tar.gz bottin-f05e41c9aad83f3d45aff620a739a116c32b4c47.zip |
Improve password hash handling
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
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,9 +3,9 @@ module bottin go 1.13 require ( - github.com/go-ldap/ldap/v3 v3.3.0 github.com/google/uuid v1.1.1 github.com/hashicorp/consul/api v1.3.0 + github.com/jsimonetti/pwscheme v0.0.0-20220125093853-4d9895f5db73 github.com/sirupsen/logrus v1.4.2 golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9 // indirect ) |