Skip to content

Commit 43d81f8

Browse files
bandhan-majumdervolneikeithwillcode
authored andcommitted
docs: calendso encryption key of length 24 (calcom#23045)
* docs: calendso encryption key of length 24 Signed-off-by: Bandhan Majumder <bandhanmajumder16@gmail.com> * Update .env.example --------- Signed-off-by: Bandhan Majumder <bandhanmajumder16@gmail.com> Co-authored-by: Volnei Munhoz <volnei.munhoz@gmail.com> Co-authored-by: Keith Williams <keithwillcode@gmail.com>
1 parent 6ba76cc commit 43d81f8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ CRON_ENABLE_APP_SYNC=false
9494

9595
# Application Key for symmetric encryption and decryption
9696
# must be 32 bytes for AES256 encryption algorithm
97-
# You can use: `openssl rand -base64 32` to generate one
97+
# You can use: `openssl rand -base64 24` to generate one
9898
CALENDSO_ENCRYPTION_KEY=
9999

100100
# Intercom Config

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Here is what you need to be able to run Cal.com.
148148

149149
- Duplicate `.env.example` to `.env`
150150
- Use `openssl rand -base64 32` to generate a key and add it under `NEXTAUTH_SECRET` in the `.env` file.
151-
- Use `openssl rand -base64 32` to generate a key and add it under `CALENDSO_ENCRYPTION_KEY` in the `.env` file.
151+
- Use `openssl rand -base64 24` to generate a key and add it under `CALENDSO_ENCRYPTION_KEY` in the `.env` file.
152152

153153
5. Setup Node
154154
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:

deploy/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -xeuf -o pipefail
44
cp .env.example .env
55

66
sed -i 's|NEXTAUTH_SECRET=.*|NEXTAUTH_SECRET='"$(openssl rand -base64 32)"'|g' .env
7-
sed -i 's|CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY='"$(openssl rand -base64 32)"'|g' .env
7+
sed -i 's|CALENDSO_ENCRYPTION_KEY=.*|CALENDSO_ENCRYPTION_KEY='"$(openssl rand -base64 24)"'|g' .env
88
yarn
99

1010
./deploy/codespaces/install.sh

0 commit comments

Comments
 (0)