matrix-org / matrix-org/complement-crypto
Add test for ensuring keys are available locally prior to backup reset
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
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
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