Periodic Login
Check-in to sites requiring periodic logins.
Uses Django admin for CRUD and a management command to visit sites.
Install
-
Use pipenv to install dependencies and manage the virtual environment
pipenv install pipenv shell -
Create
secrets.pyin the same directory withsettings.pyand populate the constantsSECRET_KEYandFIELD_ENCRYPTION_KEY.FIELD_ENCRYPTION_KEYshould be a 32-bit url-safe base64-encoded bytestrings. Here's how to generate it:import base64 import os base64.urlsafe_b64encode(os.urandom(32)) -
Create superuser
./manage.py createsuperuser
Run
-
Populate sites
-
Run django server
-
Add sites credentials with django admin
-
-
Run command to visit sites
Security
Password fields are stored encrypted in the database, but they are not encrypted in memory. Whoever has access to the Django shell can view the stored passwords.