matrix-org / matrix-org/matrix-rust-sdk

Store and retrieve sender data to/from backed up (and exported) sessions

Open
#3,548 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

(Requires an MSC)

After doing https://github.com/matrix-org/matrix-rust-sdk/issues/3544 we need to store the sender data (mxid, msk, msk_verified info) to the key backup and to key export files.

This task includes a plan to stop (eventually) treating new-enough sessions from backup as legacy if they lack this information.

**Impact**

This is no use until we have authenticated backups.

Once we have authenticated backups AND this, then new devices will no longer have grey shields on messages whose keys were retrieved from backup.

Contributor guide

Open the contributing guide

Research direction

Start with issue 3544 and the required MSC, then trace the key-backup and key-export handling. Done means sender data (mxid, msk, and msk_verified) is stored and restored in both formats, with a plan for treating sufficiently new sessions without it as non-legacy; authenticated backups are a prerequisite.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authentication, 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.