Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python implementation of mod_auth_tkt cookies
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
auth_tkt
tests
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
MANIFEST.in
README.md
requirements.txt
setup.py

README.md

mod_auth_tkt cookie implementation

Build Status

Modules

auth_tkt.ticket is a Python re-implementation of the mod_auth_tkt cookie. Cookies can be created with AuthTkt and verified with verify.

auth_tkt.encrypted's EncryptedAuthTkt is a wrapper around AuthTkt that stores an encrypted JSON payload in the mod_auth_tkt cookie's user-data section.

Helpers

There is a get_ticket_data function in auth_tkt.helepers, that decrypts and verifies a cookie.

Testing

Install development requirements:

pip install -r requirements.txt

Tests can then be run by doing:

nosetests
Something went wrong with that request. Please try again.