This project has been archived by its maintainers, and is no longer receiving any updates.
Django-Cryptolock
Authenticatio using cryptocurrency wallets for Django projects
This package provided a django app containing a set of utilities to make easier to implement the BitId and Monero Cryptolock authentication “protocols”.
Future releases might include other cryptocurrencies but for the being (until we reach some stability) the focus will continue BTC and XMR.
DISCLAIMER: This package is still in an early stage of development. It isn’t meant to be used on any production scenario yet (in other words, only test projects for now).
Documentation
The full documentation is at https://django-cryptolock.readthedocs.io.
Quickstart
Install Django-Cryptolock:
pip install django-cryptolock
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django_cryptolock.apps.DjangoCryptolockConfig',
...
)
Migrate your database:
python manage.py migrate
Add the following settings to your project for the Monero Backend:
AUTHENTICATION_BACKENDS = [
"django_cryptolock.backends.MoneroAddressBackend",
...
]
DJCL_MONERO_NETWORK = "mainnet"
DJCL_MONERO_WALLET_RPC_PROTOCOL = "<http_or_https>"
DJCL_MONERO_WALLET_RPC_HOST = "<wallet_rpc_host>:<port>"
DJCL_MONERO_WALLET_RPC_USER = "<user>"
DJCL_MONERO_WALLET_RPC_PASS = "<password>"
Add Django-Cryptolock’s URL patterns:
from django.conf.urls import url
urlpatterns = [
...
url(r"^auth/", include("django_cryptolock.urls", namespace="django_cryptolock")),
...
]
More detailed information can be found in the documentation.
Credits
Tools used in rendering this package:
History
0.1.0 (2020-03-31)
Add validation for existing addresses on the signup form
Add rudimentary BitId support
Renamed the base auth views to generic names
0.0.2 (2020-01-08)
A default urls.py is provided by the package so can work “out-of-the-box”.
Default location for templates moved to django_cryptolock folder.
Update quickstart guide.
Update instructions to contribute to the project.
Add DJCL namespace to all related settings.
MoneroAddressBackend is now executed when more parameters are added to the authenticate function.
0.0.1 (2019-11-25)
First release on PyPI.
Metadata
Release files for django-cryptolock 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-cryptolock-0.1.0.tar.gz | 12.1 kB | Without provenance | Details for django-cryptolock-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_cryptolock-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for django_cryptolock-0.1.0-py2.py3-none-any.whl |
Total release size: 26.0 kB
Release files / django-cryptolock-0.1.0.tar.gz
| Download URL | django-cryptolock-0.1.0.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc9b88fd31868b2b9010fa11601f56327f9a21a3d7aeeb3cff5679980efd965d
|
|
BLAKE2b-256 checksum How to use checksums |
276e2bed0acfc0dba319483715f2fe3078197909bf0b3863ffeb19db78deb85b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3
|
Release files / django_cryptolock-0.1.0-py2.py3-none-any.whl
| Download URL | django_cryptolock-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
06e2338b24161164d2f930ef9dc7c09ec0f3d5a4cd4ba28385e6ca7c1ccd77f1
|
|
BLAKE2b-256 checksum How to use checksums |
c88652c0415c3e3a920c4619fedf3d928448cbd04513d04ddd518e565abd8945
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3
|
Security for django-cryptolock 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.