From 863fbdfc45eea9b3dd119a4b56353bdcacb27cf3 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 11 Oct 2020 22:38:39 +0200 Subject: [PATCH] Add python command to generate bcrypt for basic auth backend --- docs/ghostream.example.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/ghostream.example.yml b/docs/ghostream.example.yml index c5c8f20..d28a95d 100644 --- a/docs/ghostream.example.yml +++ b/docs/ghostream.example.yml @@ -18,6 +18,8 @@ auth: #backend: basic # 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: # credentials: