matrix-org / matrix-org/matrix-js-sdk

E2ee working example for 6.1.0

Open
#1,381 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.2k
Forks
704
Avg merge
1d 20h
Merged PRs (30d)
40

Description

I am going crazy trying to make matrix-js-sdk deal with encrypted rooms messages. I tried a lot of implementations and look at riot client tests. The matrix recorder ( https://github.com/vector-im/riot-web/issues/4782#issuecomment-354667209 )works for me. But if i try to follow the same strategy with recent versions (6.1.0) and olm (3.1.4) it doesn't work and cannot decrypt the messages...could you provide a simple example to be able to add e2ee?

I examined and tried other solutions of "e2ee is not working" Issues: rpc, rivescript, basic-bot... but all of they are using old versions of sdk also...

Thanks!

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 comparing the matrix recorder and Riot client tests mentioned in the issue with matrix-js-sdk 6.1.0 and Olm 3.1.4. The goal is a simple, working E2EE example that can decrypt encrypted-room messages with these versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation, security
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.