2 releases

new 0.0.2 Apr 16, 2025
0.0.1 Apr 15, 2025

#332 in Authentication

Download history 56/week @ 2025-04-09

56 downloads per month

MIT license

26KB
442 lines

🍳 nonstick

Nonstick lets you use PAM (Pluggable Authentication Modules) from Rust without having to deal with icky unsafe code.

Status

It is currently very incomplete. It only provides functionality for developing your own PAM authentication module (i.e., a backend that PAM calls to authenticate a user or do something similar). At the moment, Linux-PAM is the only supported PAM implementation.

I will make an effort not to break APIs with development, but consider it alpha, pre-1.0 software. While the code itself should be secure and mostly safe, the API may not be completely stable.

Goals include:

  • Bindings for PAM clients.
  • Support for non–Linux-PAM implementations.

Credits

This is a direct fork of Anthony Nowell’s pam-rs/pam-bindings crate. pam-rs was in turn inspired by:

Dependencies

~43KB