Generated JWT secret is too small for HMAC SHA256 (#179)

This commit is contained in:
Evgeniy Antonyuk 2023-01-10 10:33:35 +03:00 committed by GitHub
parent ac1164fa4f
commit b0e047cf1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.