RocketChat / RocketChat/Rocket.Chat
Export encrypted chat - data still encrypted
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
As I decided to migrate to Matrix, I wanted to export all my messages from RC. Some channels are encrypted, and when I used export messages option - the output HTML file is encrypted. This is not what I expect from export chat functionality.
Steps to reproduce:


Expected behavior:
Exported chat is decrypted.
Actual behavior:

Server Setup Information:
- Version of Rocket.Chat Server: 5.4.3
- Operating System: Debian Unstable
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: Yes
- NodeJS Version: v14.19.3
- MongoDB Version: 5.0.5 / wiredTiger (oplog Enabled)
Client Setup Information
- Desktop App or Browser Version: Firefox Nightly 112.0a1 (2023-03-10) (64 bit)
- Operating System: Windows 11
Additional context
N/A
Relevant logs:
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified in the issue. Start by tracing the message-export flow for encrypted channels and compare its output with the expected decrypted HTML. Done means exported encrypted chats are readable rather than remaining encrypted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100