A small security shield to protect small web applications.
Go to file
2019-09-26 18:29:39 -04:00
static lighthouse score 2019-09-26 14:39:48 -04:00
templates added /delete_key 2019-09-26 18:29:39 -04:00
.gitignore initial commit 2019-09-14 18:36:23 -04:00
auth.py sixth commit 2019-09-24 19:34:20 -04:00
buckler_flask.py add buckler_flask.py 2019-09-25 19:47:20 -04:00
buckler.py added /delete_key 2019-09-26 18:29:39 -04:00
buckler.sql implement /set_session 2019-09-25 19:46:57 -04:00
config.py.template fourth commit 2019-09-19 20:49:40 -04:00
README.md sixth commit 2019-09-24 19:34:20 -04:00
tools.py user_perms not hard coded 2019-09-26 13:33:06 -04:00

Buckler

A security shield for protecting a number of small web applications.

Requirements

Python 3.7+
PostgreSQL 11.5+
Python packages: wheel gunicorn aiohttp aiohttp_jinja2 asyncpg passlib argon2_cffi uvloop fido2

Install

$ psql
postgres=# CREATE DATABASE "buckler";
postgres=# CREATE USER "buckler" WITH PASSWORD 'password';
postgres=# ALTER ROLE "buckler" SET client_encoding TO 'utf8';
postgres=# ALTER ROLE "buckler" SET default_transaction_isolation TO 'read committed';
postgres=# ALTER ROLE "buckler" SET timezone TO 'UTC';
postgres=# GRANT ALL PRIVILEGES ON DATABASE "buckler" TO "buckler";
postgres=# \q
  1. Get on the floor
  2. Walk the dinosaur

Usage

gunicorn buckler:app --bind localhost:5400 --worker-class aiohttp.GunicornWebWorker