matrix-org / matrix-org/complement-crypto
Add target for Hydrogen
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 18
- Forks
- 12
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
Hydrogen [handles its own crypto](https://github.com/element-hq/hydrogen-web/blob/62332fe6a162e0ec3c6816556337728b8ba1fbcf/src/matrix/e2ee/olm/Encryption.ts) using libolm. It does not use vodozemac, let alone rust-sdk-crypto crates.
As a result, we lack confidence it doesn't have bugs which can cause UTDs. We should add a new `h` target which will drive Hydrogen, similar to how we have `j` for js-sdk and `r` for rust SDK FFI.
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 reading the existing `j` target for js-sdk and `r` target for rust SDK FFI, then inspect Hydrogen's `src/matrix/e2ee/olm/Encryption.ts` to understand its libolm-driven crypto path. Add the `h` target so it drives Hydrogen and validates behavior relevant to UTDs, matching the confidence provided by the existing targets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, typescript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100