RocketChat / RocketChat/Rocket.Chat

Export encrypted chat - data still encrypted

Open
#28,369 0 comments 0 reactions 0 assignees View on GitHub

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:

obraz
obraz

Expected behavior:

Exported chat is decrypted.

Actual behavior:

obraz

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.