diff options
| author | Dennis Kobert <dennis@kobert.dev> | 2026-03-11 14:15:45 +0100 |
|---|---|---|
| committer | Dennis Kobert <dennis@kobert.dev> | 2026-03-11 14:16:07 +0100 |
| commit | a9a74679fbec07cf158f2295513e3d4c4adc2666 (patch) | |
| tree | 5dcac28283ef53c2869bdedb9badff0896900bb6 /src-repo/Cargo.toml | |
| parent | 116bd5a46adc7e9caa27f58b19cafe68d3e085f0 (diff) | |
The pam-bindings crate has a critical bug where pam_try! returns
PAM_SUCCESS on error in release builds (anowell/pam-rs#16), causing
authentication to always succeed. This replaces it with nonstick
and a custom pam_client module with raw PAM FFI for thread-safe
conversation forwarding.
Diffstat (limited to 'src-repo/Cargo.toml')
| -rw-r--r-- | src-repo/Cargo.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src-repo/Cargo.toml b/src-repo/Cargo.toml new file mode 100644 index 0000000..9c79c58 --- /dev/null +++ b/src-repo/Cargo.toml @@ -0,0 +1,14 @@ +[package] +name = "pam-any" +version = "0.2.0" +edition = "2021" + +[lib] +crate-type = ["cdylib"] + +[dependencies] +nonstick = "0.0.7" +serde = { version = "1", features = ["derive"] } +serde_json = "1" +termios = "0.3.3" +libc = "0.2" |
