1wilkens / pam-sys

Rust FFI bindings to the Linux Pluggable Authentication Modules (PAM)
https://docs.rs/pam-sys/
Apache License 2.0
18 stars 21 forks source link

Wrap pam_get_authtok #9

Closed blm768 closed 5 years ago

blm768 commented 5 years ago

This change includes a wrapper for pam_get_authtok, which is useful for writing authentication modules.

1wilkens commented 5 years ago

First of all, thanks for this contribution!

I am currently experimenting with moving pam-sys completely to bindgen and only support the raw c-based API in this crate while moving the currently wrapped functions to pam. This PR should then be directed to this repository. Sorry for the inconvenience and I will let you know once this has happened.

blm768 commented 5 years ago

No problem. I'm all for automation when it comes to library bindings. I was just casually playing around with PAM, so I'm not in any rush either. I guess I'll close this for now and open a new version once bindgen is set up.