1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-19 18:31:16 +00:00

Add generate_secrepts.py

This commit is contained in:
Mo 2022-05-17 12:44:17 +02:00
parent d95a1c4e48
commit 30365a1bf3

View file

@ -0,0 +1,4 @@
import secrets
print(f"SECRET_KEY={secrets.SystemRandom().getrandbits(128)}")
print(f"SECURITY_PASSWORD_SALT={secrets.token_hex()}")