From fe59f9bedf8c74c7f1a7c8e682de6dd13888636d Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Sun, 22 Mar 2020 00:44:08 +0100 Subject: [PATCH] Improve command line help (#1465) Make jwt-secret explicit about 32 characters minimum. --- src/PostgREST/Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PostgREST/Config.hs b/src/PostgREST/Config.hs index da006bcd0..0326a64a6 100644 --- a/src/PostgREST/Config.hs +++ b/src/PostgREST/Config.hs @@ -275,7 +275,7 @@ readOptions = do | |## choose a secret, JSON Web Key (or set) to enable JWT auth |## (use "@filename" to load from separate file) - |# jwt-secret = "foo" + |# jwt-secret = "secret_with_at_least_32_characters" |# secret-is-base64 = false |# jwt-aud = "your_audience_claim" |