This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

This is a generic and reusable python implementation of Mozilla Persona Identity Provider.

This module is used on our production servers and authenticates users against our internal Active Directory controller.

See also BrowserID specification for more details.

Installation

Either:

$ git clone https://github.com/dpaw2/persona-idp
$ cd persona-idp
$ python setup.py install

or:

$ pip install persona-idp

Usage

Please, modify at least the secret and rsa_key (unless you want to have serious security issues):

$ cat wsgi.py
from persona_idp.idp import PersonaIDP

application = PersonaIDP(rsa_key='/etc/apache2/certs/private.pem',
                         secret='my123secret',
                         provision_template='/tmp/provision.txt')

and:

$ gunicorn --workers=2 wsgi:application

or:

$ echo 'WSGIScriptAlias /persona /var/www/persona/wsgi.py' >> \
>   /etc/apache2/conf.d/persona.conf

Examples

See the examples/ folder.

Tests

$ python setup.py test

Help

Join the dpaw mailing list, or read the archives, at
http://groups.google.com/group/dpaw

Issues

Use our github issue tracker, at
https://github.com/dpaw2/persona-idp/issues

Contribute

$ git clone https://github.com/dpaw2/persona-idp
$ python setup.py develop
We prefer patches submitted via pull requests, at
https://github.com/dpaw2/persona-idp/pulls

Acknowledgements

This work is based on previous work of @djc and his persona-totp.

Release History

Release History

0.9

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
persona_idp-0.9.tar.gz (15.0 kB) Copy SHA256 Checksum SHA256 Source Feb 21, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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