-
Notifications
You must be signed in to change notification settings - Fork 10.5k
docs: calendso encryption key of length 24 #23045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Bandhan Majumder <bandhanmajumder16@gmail.com>
@bandhan-majumder is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThis PR updates CALENDSO_ENCRYPTION_KEY generation instructions from openssl rand -base64 32 to openssl rand -base64 24 in three places: .env.example, README.md, and deploy/install.sh. No application code is modified. The NEXTAUTH_SECRET generation remains unchanged. The install script’s control flow is otherwise unchanged. Estimated code review effort🎯 2 (Simple) | ⏱️ ~6 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changes
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (08/12/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (08/12/25)1 label was added to this PR based on Keith Williams's automation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
.env.example
(1 hunks)README.md
(1 hunks)deploy/install.sh
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: Detect changes
- GitHub Check: Detect changes
🔇 Additional comments (1)
README.md (1)
149-152
: Clarify CALENDSO_ENCRYPTION_KEY length in README.mdTo eliminate ambiguity around key size, append a parenthetical indicating that
-base64 24
produces 32 characters.
- File: README.md
- Lines: 149–152
- Change:
- - Use `openssl rand -base64 24` to generate a key and add it under `CALENDSO_ENCRYPTION_KEY` in the `.env` file. + - Use `openssl rand -base64 24` (32 characters) to generate a key and add it under `CALENDSO_ENCRYPTION_KEY` in the `.env` file.
There are some flakey tests making noise in the flow. If the unit test fails first time, second time without any changes it works. |
hey @volnei , can you please take a look !? |
hey @keithwillcode, can you please review it since this documentation bug is causing issue to couple of developers? |
hi @volnei, @anikdhabal can you approve this PR? |
@Devanshusharma2005 @kart1ka |
What does this PR do?
Currently our docs shows users to generate base64 encoded string of length 32 which fails when we use
latin1
format. It becomes 44 in length and as 1 char is exactly 1 byte, it exceeds 32 bytes limit and throws error. We already have mentioned the correct length in some places (more below).Already exists in :
gitpod
official docs
Update to :
.env.example,
readme
install.sh
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist