This release is a pre-release and may not be stable for production use.
Django Honeywords
=================
Django implementation of the `Honeywords Project`_ by Ari Juels and Ronald L. Rivest.
.. _Honeywords Project: http://people.csail.mit.edu/rivest/honeywords/
Generates a list of honeywords along with the actual user password on user registration. If the wrong compromised honeyword is used to login, the user account will be automatically deactivated.
Written for Django 2.2 on Python 3.6
Honeychecker Quick Link
-----------------------
`Honeychecker`__
__ honeychecker.py_
Quick Start
-----------
#) Install Django Honeywords::
pip install django-honeywords
#) Add ``honeywords`` to ``INSTALLED_APPS`` in ``settings.py``::
INSTALLED_APPS = [
...
'honeywords',
]
#) Add ``honeywords.hashers.HoneywordHasher`` to top of ``PASSWORD_HASHERS`` in ``settings.py`` (or add ``PASSWORD_HASHERS`` if missing)::
PASSWORD_HASHERS = [
'honeywords.hashers.HoneywordHasher',
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
'django.contrib.auth.hashers.Argon2PasswordHasher',
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
]
#) Add ``honeywords.backends.HoneywordsBackend`` to the top of ``AUTHENTICATION_BACKENDS`` in ``settings.py`` (or add ``AUTHENTICATION_BACKENDS`` if missing)::
AUTHENTICATION_BACKENDS = [
'honeywords.backends.HoneywordsBackend',
'django.contrib.auth.backends.ModelBackend',
]
#) Add ``HONEYCHECKER_URI = http(s)://<url/ip>:<port>`` into ``settings.py``::
HONEYCHECKER_URI = 'http://192.168.56.101:55555'
#) Create Honeywords table::
./manage.py makemigrations honeywords
./manage.py migrate
#) Download `honeychecker.py`_ to the Honeychecker server::
wget -c https://raw.githubusercontent.com/ooknosi/django_honeywords/master/src/honeywords/honeychecker.py
.. _honeychecker.py: https://raw.githubusercontent.com/ooknosi/django_honeywords/master/src/honeywords/honeychecker.py
#) Edit the ``IP``, ``PORT`` and ``DATABASE`` settings in ``honeychecker.py``::
### Settings
IP = '192.168.56.101'
PORT = 55555
DATABASE = 'honeychecker_db.sqlite3'
###
#) Run ``honeychecker.py`` on the Honeychecker server::
python honeychecker.py
Documentation
-------------
TODO
Metadata
Release files for django-honeywords 0.1.0b2
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 | |
|---|---|---|---|---|
| django-honeywords-0.1.0b2.tar.gz | 15.5 kB | Without provenance | Details |
Release files / django-honeywords-0.1.0b2.tar.gz
| Download URL | django-honeywords-0.1.0b2.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2c48f73d89b24d27c1182b30742f776540476e4363c3eaf52c2d2fc20f7aeb8
|
|
BLAKE2b-256 checksum How to use checksums |
a3254f357e91636a99760cb94a4dc121d8bffb0ccc5a8ff32e967b509672bc73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for django-honeywords 0.1.0b2
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.