techbloc Reset password

boyska 61509f6010 redirect based on login status 2 年之前
contrib 2283d3867f generate-password can be an external program 2 年之前
static 61509f6010 redirect based on login status 2 年之前
README.md 2cfa671338 readme 2 年之前
tresetter.py e070a96fb6 use a kdf 2 年之前

README.md

tResetter

tResetter is a simple program that allows people to change their password.

Why

From a sysadmin perspective, it's main advantage is that it's not bound to a specific data model: you will write the glue to actually verify/change the password.

From a user perspective, it's main advantage is that it will not let the user choose passwords: it will generate and propose password to the user.

Howto

apt install python3-fastapi python3-pydantic python3-redis
env VALIDATE_LOGIN_EXE=/bin/echo CHANGE_PASSWORD_EXE=/bin/echo uvicorn  tresetter:app