1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 13:52:19 +00:00

Add python command to generate bcrypt for basic auth backend

This commit is contained in:
Alexandre Iooss 2020-10-11 22:38:39 +02:00
parent a0e520e128
commit 863fbdfc45
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -18,6 +18,8 @@ auth:
#backend: basic #backend: basic
# Basic backend configuration # Basic backend configuration
# To generate bcrypt hashed password from Python, use:
# python3 -c 'import bcrypt; print(bcrypt.hashpw(b"PASSWORD", bcrypt.gensalt(rounds=15)).decode("ascii"))'
# #
#basic: #basic:
# credentials: # credentials: