docs: fix CALENDSO_ENCRYPTION_KEY generation command (#26658)
The AES256 encryption used for 2FA requires exactly 32 bytes. The previous command `openssl rand -base64 32` generates a 44-character base64 string (32 bytes encoded in base64), which is too long. Changed to `openssl rand -base64 24` which generates exactly 32 characters (24 bytes encoded in base64 = 32 characters). This was causing 2FA setup failures with "Something went wrong" errors and RangeError: Invalid key length in self-hosted Docker installations. Fixes #22365 Co-authored-by: simiondolha <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ CRON_ENABLE_APP_SYNC=false
|
||||
|
||||
# Application Key for symmetric encryption and decryption
|
||||
# must be 32 bytes for AES256 encryption algorithm
|
||||
# You can use: `openssl rand -base64 24` to generate one
|
||||
# You can use: `openssl rand -base64 24` to generate a 32-character key
|
||||
CALENDSO_ENCRYPTION_KEY=
|
||||
|
||||
# Intercom Config
|
||||
|
||||
Reference in new issue
Block a user