Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Django implementation of the Honeywords Project by Ari Juels and Ronald L. Rivest.

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

Quick Start

  1. Install Django Honeywords:

    pip install django-honeywords
  2. Add honeywords to INSTALLED_APPS in settings.py:

    INSTALLED_APPS = [
        ...
        'honeywords',
    ]
  3. Create Honeywords table:

    ./manage.py makemigrations honeywords
    ./manage.py migrate
  4. Add HONEYCHECKER_URI = http(s)://<url/ip>:<port> into settings.py:

    HONEYCHECKER_URI = 'http://192.168.56.101:55555'
  5. 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',
       ]
  6. Download honeychecker.py to the Honeychecker server.

  7. Edit the IP, PORT and DATABASE settings in honeychecker.py:

    ### Settings
    IP = '192.168.56.101'
    PORT = 55555
    DATABASE = 'honeychecker_db.sqlite3'
    ###
  8. Run honeychecker.py on the Honeychecker server:

    python honeychecker.py

Documentation

TODO

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-honeywords-0.1.0b1.tar.gz (15.7 kB view details)

Uploaded Source

File details

Details for the file django-honeywords-0.1.0b1.tar.gz.

File metadata

  • Download URL: django-honeywords-0.1.0b1.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-honeywords-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 f331c3983f002ac7a9c3c6cd03b4a363cb031d8edbe7a1e51e80380af8816024
MD5 7478381e6e5fbb0968a1d1551e40015e
BLAKE2b-256 5907cfc67b1e927cb09f929a100c39c492e22f54ac8e4835689031a16c44e5a7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0b1 This release

1 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