| 1 |
Metadata-Version: 2.1 |
| 2 |
Name: pamela |
| 3 |
Version: 1.0.0 |
| 4 |
Summary: PAM interface using ctypes |
| 5 |
Home-page: https://github.com/minrk/pamela |
| 6 |
Author: Min RK |
| 7 |
Author-email: [email protected] |
| 8 |
License: MIT |
| 9 |
Description: # Pamela: yet another Python wrapper for PAM |
| 10 |
|
| 11 |
There seems to be a glut of Python wrappers for PAM that have since been abandoned. |
| 12 |
This repo merges two separate efforts: |
| 13 |
|
| 14 |
- [gnosek/python-pam](https://github.com/gnosek/python-pam) |
| 15 |
- adds wrappers for a few more calls, e.g. opening sessions |
| 16 |
- raises PamError on failure instead of returning False, with informative error messages |
| 17 |
- [simplepam](https://github.com/leonnnn/python3-simplepam) |
| 18 |
- adds Python 3 support |
| 19 |
- resets credentials after authentication, apparently for kerberos users |
| 20 |
|
| 21 |
## Why? |
| 22 |
|
| 23 |
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](https://github.com/jupyter/jupyterhub). |
| 24 |
|
| 25 |
## Use it |
| 26 |
|
| 27 |
Install: |
| 28 |
|
| 29 |
pip install pamela |
| 30 |
|
| 31 |
Test: |
| 32 |
|
| 33 |
python -m pamela -a `whoami` |
| 34 |
|
| 35 |
Keywords: pam,authentication |
| 36 |
Platform: UNKNOWN |
| 37 |
Classifier: Development Status :: 4 - Beta |
| 38 |
Classifier: Intended Audience :: Developers |
| 39 |
Classifier: License :: OSI Approved :: MIT License |
| 40 |
Classifier: Operating System :: POSIX :: Linux |
| 41 |
Classifier: Operating System :: MacOS :: MacOS X |
| 42 |
Classifier: Programming Language :: Python |
| 43 |
Classifier: Topic :: Software Development :: Libraries :: Python Modules |
| 44 |
Classifier: Topic :: System :: Systems Administration :: Authentication/Directory |
| 45 |
Description-Content-Type: text/markdown |