Remove pam and implement totp in rust

This commit is contained in:
Jack Mechem 2026-03-28 23:29:55 -07:00
parent 043ab278f5
commit 256546164f
4 changed files with 850 additions and 36 deletions

View file

@ -8,12 +8,18 @@ axum = "0.8.8"
base64 = "0.22.1"
bcrypt = "0.19.0"
chrono = "0.4.44"
crypt = "0.1.0"
yescrypt = { version = "0.1.0-pre.4", features = ["password-hash"] }
password-hash = { version = "0.6", features = ["phc"] }
jsonwebtoken = { version = "10.3.0", features = ["rust_crypto"] }
libc = "0.2.183"
pam = { version = "0.8.0", features = ["client"] }
pwhash = "1.0.0"
rand = "0.10.0"
rustls = { version = "0.23.37", features = ["ring"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.149"
shadow-rs = "1.7.1"
sysinfo = "0.38.4"
tokio = { version = "1.50.0", features = [
"macros",
@ -21,3 +27,5 @@ tokio = { version = "1.50.0", features = [
"process",
] }
zbus = "5.14.0"
totp-rs = { version = "5.7", features = ["gen_secret", "otpauth"] }
base32 = "0.5.1"