matrix-org / matrix-org/complement-crypto

Add test for ensuring keys are available locally prior to backup reset

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
18
Forks
12
Avg merge
2d 12h
Merged PRs (30d)
6

Description

See https://github.com/element-hq/element-android/issues/8814

Test via:
- Alice logs in, sends messages in E2EE rooms to make some keys.
- Alice logs in on a new device. We expect the client to download room keys.
- Alice on the new device _resets key backup_. The client must have downloaded all room keys in the backup by this point, prior to resetting.
- Alice on the new device opens up the E2EE rooms and checks she can decrypt the messages sent.

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

Read the linked Element Android issue 8814 first, then locate the existing Complement crypto test entry point for backup reset and room-key download behavior. Reproduce the Alice/new-device sequence and add coverage showing all backup room keys are local before reset, followed by successful decryption of messages in the E2EE rooms.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security, testing
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.