Skip to main content

A Kerberos context manager

Project description


krbcontext provides a Kerberos context that you can put code inside, which requires a valid ticket in credential cache.


Usage and API can be found from


Welcome contributions, whatever idea, issue report, or a patch. Before making a pull request, please make sure your code passes checks. Run


Report an Issue

If you have any issues, please report one.


#krbcontext on


0.8 (2017-09-05)

  • Fix SPEC (Chenxiong Qi)
  • Use __future__.absolute_import (Chenxiong Qi)
  • Fix and enhance maintanence scripts (Chenxiong Qi)

0.7 (2017-08-30)

  • Remove unused meta info (Chenxiong Qi)
  • Fix init_with_keytab and tests (Chenxiong Qi)
  • Add script for publishing packages (Chenxiong Qi)
  • Refine make release script (Chenxiong Qi)

0.6 (2017-08-27)

  • Fix reading package info (Chenxiong Qi)

0.5 (2017-08-27)

  • Add script for making release (Chenxiong Qi)
  • Add distcheck to Makefile (Chenxiong Qi)
  • Refine doc settings (Chenxiong Qi)
  • Easy to set project info (Chenxiong Qi)
  • Bump version to 4.0 in doc (Chenxiong Qi)

0.4 (2017-08-26)

  • Migrate to python-gssapi
  • Compatible with Python 3

0.3.3 (2014-03-12)

  • Change README.txt to README.rst
  • Fix: logic error of KRB5CCNAME maintenance during initialization
  • Fix testcase of getting default credential cache

0.3.2 (2013-06-15)


0.3.1 (2013-01-18)

  • Thread-safe credentials cache initialization

0.3.0 (2013-01-10)

  • Lazy initialization of credential cache.
  • Refactor all code
  • Rewrite all unittest
  • Improve SPEC
  • Improve configuration of Python package distribution
  • Update documentation

0.2.1 (2012-08-02)

  • Remove dependency to setuptools
  • Rewrite SPEC file for packaging RPM in Fedora and RHEL
  • Using VERSION.txt to share the version between and SPEC file

0.2 (2012-03-19)

  • Add change log to project
  • Providing RPM distribution package

0.1 (2012-03-19)

  • Upload to PyPI
  • Add more information to after initialized import to github

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
krbcontext-0.8.tar.gz (31.2 kB) Copy SHA256 hash SHA256 Source None Sep 5, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page