Skip to main content

django-bitid

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 files for django-bitid 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-bitid 0.1.1
File Size Uploaded
django-bitid-0.1.1.tar.gz 5.6 kB Details

Release files / django-bitid-0.1.1.tar.gz

Download URL django-bitid-0.1.1.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8289d74385fb6e9d185b1de0e29f7dd0dbd038eb07456f662decb97cdc2cb066
BLAKE2b-256 checksum
How to use checksums
2168840f5c9ed518ed2ad0b18efb00c5a8cc3f93bafd4c9c77163262fec0faf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page