From 9d9a85ddd94b0b2ad53720ff3a030111c734e67e Mon Sep 17 00:00:00 2001 From: Bandhan Majumder <133476557+bandhan-majumder@users.noreply.github.com> Date: Sun, 11 Jan 2026 03:10:23 +0530 Subject: [PATCH] docs: calendso encryption key of length 24 (#23045) * docs: calendso encryption key of length 24 Signed-off-by: Bandhan Majumder * Update .env.example --------- Signed-off-by: Bandhan Majumder Co-authored-by: Volnei Munhoz Co-authored-by: Keith Williams --- .env.example | 2 +- README.md | 2 +- deploy/install.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 72dc1ea40a..c14b676e35 100644 --- a/.env.example +++ b/.env.example @@ -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 32` to generate one +# You can use: `openssl rand -base64 24` to generate one CALENDSO_ENCRYPTION_KEY= # Intercom Config diff --git a/README.md b/README.md index addd2d8cc5..abfd746bbe 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ Here is what you need to be able to run Cal.com. - Duplicate `.env.example` to `.env` - Use `openssl rand -base64 32` to generate a key and add it under `NEXTAUTH_SECRET` in the `.env` file. - - Use `openssl rand -base64 32` to generate a key and add it under `CALENDSO_ENCRYPTION_KEY` in the `.env` file. + - Use `openssl rand -base64 24` to generate a key and add it under `CALENDSO_ENCRYPTION_KEY` in the `.env` file. 5. Setup Node If your Node version does not meet the project's requirements as instructed by the docs, "nvm" (Node Version Manager) allows using Node at the version required by the project: diff --git a/deploy/install.sh b/deploy/install.sh index 47a786ca1e..a3e285233e 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -4,7 +4,7 @@ set -xeuf -o pipefail cp .env.example .env sed -i 's|NEXTAUTH_SECRET=.*|NEXTAUTH_SECRET='"$(openssl rand -base64 32)"'|g' .env -sed -i 's|CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY='"$(openssl rand -base64 32)"'|g' .env +sed -i 's|CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY='"$(openssl rand -base64 24)"'|g' .env yarn ./deploy/codespaces/install.sh \ No newline at end of file