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
#5,113 4 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.