Skip to main content

Python implementation of mod_auth_tkt cookies

Project description

# mod_auth_tkt cookie implementation

[![Build Status](https://travis-ci.org/yola/auth_tkt.png)](https://travis-ci.org/yola/auth_tkt)

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

[mod_auth_tkt]: http://www.openfusion.com.au/labs/mod_auth_tkt/

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

Project details


Download files

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

Source Distribution

auth_tkt-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file auth_tkt-0.1.0.tar.gz.

File metadata

  • Download URL: auth_tkt-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for auth_tkt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 41361cb8986f16ec42e2067130d23f16c6169264b4b321b8252d6f3c2a2f4719
MD5 d4a5ea003ac43001c966c6b703b1e224
BLAKE2b-256 3a2c2954412e3450eb6869e9d959df507e3892444ab769b3c97b56e0e6c62ff9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page