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

App for django bitId authentication

Project Description

A django app for bitId authentication.

WARNING: The bitId specification is a work in progress and it will probably change.

Installation

In your setting.py file, add the backend to AUTHENTICATION_BACKENDS.

djbitid.backends.BitIdBackend

You can implement your own login passing bitid_uri, callback_uri, signature and address to the backend or use the provided templates and forms.

Views, Templates and Forms

To use the provided templates and forms add djbitid to installed apps.

Then add to your urls

url(r'^bitid/', include('djbid.urls'))

The provided templates extend ‘base.html’

Dependencies

  • pybitid
  • south: provides migrations
  • pytz: for timezone aware date comparisons

NOTE: The PyBitID project, as this project, is very early stage. Currently it has to be installed manually from:

https://github.com/LaurentMT/pybitid

Settings

Optional settings are:

BITID_USE_TESTNET

Use bitcoin testnet. Defaults to False

BITID_CHALLENGE_EXPIRATION_DELAY

Challenge expiration time in seconds. Defaults to 600 seconds.

Release History

Release History

This version
History Node

0.1.1

History Node

0.1

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
django-bitid-0.1.1.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Oct 28, 2014

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