Skip to content

Scheduling infrastructure for absolutely everyone.

docs: fix CALENDSO_ENCRYPTION_KEY generation command (#26658)

simiondolha573756eaa213
diff --git a/.env.example b/.env.example
index ab656ae549e..019cfef8d6e 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 24` to generate one
+# You can use: `openssl rand -base64 24` to generate a 32-character key
CALENDSO_ENCRYPTION_KEY=
# Intercom Config
diff --git a/agents/knowledge-base.md b/agents/knowledge-base.md
index 6b0cb7f5921..f3a630f852d 100644
--- a/agents/knowledge-base.md
+++ b/agents/knowledge-base.md
@@ -13,7 +13,8 @@ Development
- Install dependencies: `yarn`
- Set up environment:
- Copy `.env.example` to `.env`
- - Generate keys with `openssl rand -base64 32` for both `NEXTAUTH_SECRET` and `CALENDSO_ENCRYPTION_KEY`
+ - Generate NEXTAUTH_SECRET with `openssl rand -base64 32`
+ - Generate CALENDSO_ENCRYPTION_KEY with `openssl rand -base64 24` (must be 32 characters for AES256)
- Configure Postgres database URL in `.env`
- Set DATABASE_DIRECT_URL to the same value as DATABASE_URL