RocketChat / RocketChat/Rocket.Chat.ReactNative

bug: failed decryption of some e2ee messages

Open
#6,917 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Describe the Bug

Mobile app fails to decrypt some end-to-end encrypted messages despite correct login and password entry; issue persists after logout/reinstall, while web client works perfectly.

Steps to Reproduce
  1. Login in the mobile android app
  2. Enter your E2E password
  3. Try to view encrypted messages
Expected Behavior

To be able to see every encrypted messages in the group chat history - which is possible on the browser

Actual Behavior

some messages are not encrypted

Rocket.Chat Server Version

7.12.0

Rocket.Chat App Version

4.68.2 chat.rocket.android

Device Name

Pixel 9 Pro XL

OS Version

Android 16

Additional Context
  • I have spaces in my e2ee password - is this an issue?
  • at beginning e2ee encryption worked without issues in the app

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in the Android app using Rocket.Chat Server 7.12.0, app 4.68.2, Android 16, and an E2E password containing spaces; compare the affected message history with the working browser client. Done means the app decrypts every encrypted group-chat message and the behavior of spaces in the password is understood.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native, typescript
Domain
mobile-dev, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.