PAM interface using ctypes
Project description
Pamela: yet another Python wrapper for PAM
There seems to be a glut of Python wrappers for PAM that have since been abandoned. This repo merges two separate efforts:
- gnosek/python-pam
- adds wrappers for a few more calls, e.g. opening sessions
- raises PamError on failure instead of returning False, with informative error messages
- simplepam
- adds Python 3 support
- resets credentials after authentication, apparently for kerberos users
Why?
Both projects appear to be abandoned, with no response to issues or pull requests in at least a year, and I need it for JupyterHub.
Use it
Install:
pip install pamela
Test:
python -m pamela -a `whoami`
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pamela-1.2.0.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for pamela-1.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27e543f1059bab1d7bc35b322d97705b4653869d1a06fe867d8c2b5206ed9d28 |
|
MD5 | 9769f5b216933109c5c8e80b75d00092 |
|
BLAKE2b-256 | ec141c52a2a3ca612d77550fef0404a496f080bfd600cf4c7c6a2a8ab4be2dc6 |