matrix-org / matrix-org/matrix-rust-sdk
History sharing: Clean up key bundle data when we've used it, or after we think we don't need it
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.3k
- Forks
- 500
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 106
Description
- Add a DELETE API to the media store (the uploader is recorded, and it's auth'd, so this seems feasible)
- Allow media uploads to say "don't cache this" on media
- Allow the invitee to send a receipt to the inviter when they have finished with the key bundle
- Inviter deletes the media when we receive the receipt
Alternatively: MSC4425
Part of https://github.com/element-hq/element-meta/issues/2829
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 reviewing the four proposed cleanup steps in this issue and compare them with the alternative MSC4425. Trace the related work in element-meta issue 2829, then determine whether the media-store DELETE API, non-caching uploads, receipt handling, and inviter cleanup are still required. Done means an agreed approach and implementation scope for cleaning up used key-bundle media.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100