matrix-org / matrix-org/matrix-js-sdk
E2ee working example for 6.1.0
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
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
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