Skip to content

feat: End-to-End Message Encryption (E2EE) via Web Crypto API#583

Open
knoxiboy wants to merge 2 commits into
UTKARSHH20:mainfrom
knoxiboy:feat/issue-567-e2ee-web-crypto
Open

feat: End-to-End Message Encryption (E2EE) via Web Crypto API#583
knoxiboy wants to merge 2 commits into
UTKARSHH20:mainfrom
knoxiboy:feat/issue-567-e2ee-web-crypto

Conversation

@knoxiboy

Copy link
Copy Markdown

Closes #567

Changes

  • Implement E2EE using the Web Crypto API (AES-GCM + ECDH key exchange)
  • Encrypt messages before sending, decrypt on receive
  • Store keys securely in memory (never sent to server)

Type of Change

  • New feature (security enhancement)

Fixes #567

@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@knoxiboy, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 44 minutes and 1 second. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e277468b-fe98-46d2-a4a8-80229a589a49

📥 Commits

Reviewing files that changed from the base of the PR and between b6ebd50 and 4a7ced5.

📒 Files selected for processing (9)
  • backend/src/controllers/auth.controller.js
  • backend/src/controllers/message.controller.js
  • backend/src/models/message.model.js
  • backend/src/models/user.model.js
  • backend/src/routes/auth.route.js
  • frontend/components/chat/ChatWindow.jsx
  • frontend/lib/crypto.js
  • frontend/src/App.jsx
  • frontend/src/store/useChatStore.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task] End-to-End Message Encryption (E2EE) via Web Crypto API

1 participant