mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
Implements #29 password badlist and quality checking. This checks all new passwords are at least length 10, pass zxcvbn and are not container in a badlist. The current badlist is a preprocessed content of rockyou from seclists, but later wwe'll update this to the top 10million badlist which when processed is about 70k entries..
33 lines
645 B
TOML
33 lines
645 B
TOML
[package]
|
|
name = "kanidm_tools"
|
|
version = "0.1.0"
|
|
authors = ["William Brown <william@blackhats.net.au>"]
|
|
edition = "2018"
|
|
default-run = "kanidm"
|
|
|
|
[[bin]]
|
|
name = "kanidm"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "kanidm_ssh_authorizedkeys"
|
|
path = "src/ssh_authorizedkeys.rs"
|
|
|
|
[[bin]]
|
|
name = "kanidm_badlist_preprocess"
|
|
path = "src/badlist_preprocess.rs"
|
|
|
|
[dependencies]
|
|
kanidm_client = { path = "../kanidm_client" }
|
|
kanidm_proto = { path = "../kanidm_proto" }
|
|
rpassword = "0.4"
|
|
structopt = { version = "0.2", default-features = false }
|
|
log = "0.4"
|
|
env_logger = "0.6"
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
shellexpand = "1.0"
|
|
rayon = "1.2"
|
|
|
|
zxcvbn = "2.0"
|