aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorSimon Beck <simon.beck@earthnet.ch>2022-02-08 17:59:59 +0100
committerSimon Beck <simon.beck@earthnet.ch>2022-02-10 20:51:01 +0100
commitf05e41c9aad83f3d45aff620a739a116c32b4c47 (patch)
tree13c8de24260478e90419292ffd6c3035d1f95ee6 /go.mod
parentdbd900371466edfdc7bb7f09080c6698e4f8e647 (diff)
downloadbottin-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.mod2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index a7ce11d..410153e 100644
--- a/go.mod
+++ b/go.mod
@@ -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
)