An object-oriented interface to GSSAPI for Python
There is a newer project which has superseded this one, https://github.com/pythongssapi/python-gssapi. Please use that package if suitable for your needs, as this project is unlikely to be developed further.
Python-GSSAPI is a Python binding to the Generic Security Service Application Program Interface (GSSAPI). The GSSAPI provides a uniform interface to security services which applications can use without having to worry about implementation details of the underlying mechanisms. The most commonly used mechanism is Kerberos v5, and this package provides an easy way to use Kerberos authentication and security from Python code.
The goals for this package are to provide a GSSAPI wrapper which is:
- Pythonic and object-oriented.
- Compatible with Python 2 and 3 on both CPython and PyPy.
- Covering the full range of features in the GSSAPI.
This package is implemented using CFFI for compatibility with PyPy, and is also compatible and tested with Python 3.
This package also covers the full scope of the GSSAPI’s features including delegating credentials, selection of different mechanisms, different name types, MICs, channel bindings and anonymous authentication.
In contrast with some other Kerberos or GSSAPI packages, which require the user to do manual memory management and permit memory leaks, memory associated with objects in this package is freed automatically when the objects are garbage-collected by Python.
Documentation is available at http://pythonhosted.org/python-gssapi.
Source code and Issue Tracking
Source code is hosted on Github and issues with the package can be filed on the Github project.