Skip to content

Stateless web app to distribute account-tied private keys to MegaAntiCheat clients using Steam OpenID

License

Notifications You must be signed in to change notification settings

MegaAntiCheat/key-distributor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

key-distributor

Stateless web app written in Flask to distribute account-tied private keys to MegaAntiCheat clients using Steam OpenID.
work in progress

Getting Started

This uses Python 3.11, but most previous versions past 3.6 should work fine.

Create venv and activate it:
python -m venv venv-311/
.\venv-311\Scripts\activate (on Windows cmd.exe or PowerShell)
source venv-311/bin/activate (on Bash)

Install dependencies:
python -m pip install -r requirements.txt

Set environment variables (in .env in project root), set by default in prod workflow:

FLASK_ENV : production or development
KD_HOST KD_PORT
KD_DEBUG

& database stuff (use your own PostgreSQL server):
PG_HOST
PG_PORT
PG_USER
PG_PASS
PG_DB : Database name (tentatively, "mac-kd")

Make a table according to db/schema.sql before running.

Run the app:
python src/app.py

Access it from http://KD_HOST:KD_PORT/login

About

Stateless web app to distribute account-tied private keys to MegaAntiCheat clients using Steam OpenID

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published