This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python implementation of mod_auth_tkt cookies

Project Description

# 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:

Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
auth_tkt-0.2.0.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Jan 3, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting