From b0e047cf1dcbdfa539c942c723a788037ae6f8d4 Mon Sep 17 00:00:00 2001 From: Evgeniy Antonyuk Date: Tue, 10 Jan 2023 10:33:35 +0300 Subject: [PATCH] Generated JWT secret is too small for HMAC SHA256 (#179) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 693b297..9c23c79 100644 --- a/README.md +++ b/README.md @@ -355,7 +355,7 @@ Follow [these steps](#installing-mysql) to install MySQL server. JWT secret defines the secret key to validate the JSON Web Token in the request to the **ONLYOFFICE Document Server**. You can specify it yourself or easily get it using the command: ``` -JWT_SECRET=$(cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 12); +JWT_SECRET=$(cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 32); ``` **STEP 4**: Install ONLYOFFICE Document Server.