-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API to allow writing PAM modules #4
Comments
Yeah I started with the client API because that was bit that I needed but I definitely plan to add support for modules. |
Hi just passing by and saw this issue. Maybe you can merge effort with @tozny for this (https://github.com/tozny/rust-pam)? |
Other options for support include anonwell/pam-rs and rcatolino/pam_sm_rust. |
Sorry for not responding earlier. I took a look at tozny/pam but figured it was unmaintained at the time. The other two options look promising and go into a direction I had also considered (using a macro to export module functions). I want to add at least some basic support before 1.0 so this is definitely a priority. Once I have time, I'll contact the authors and see if we can work on adding module support to this library. |
Of the two, I have decided to integrate with Edit: After more work with both, I would request a more comfortised final api; both feel like transliterations of the C ABI, and it would be nice to have something more ergonomic. Happy to assist therein. |
Having the ability to authenticate against PAM is one thing. However you should also be able to implement your own pam modules using this API. Would be nice to have support for that.
The text was updated successfully, but these errors were encountered: