Skip to content

Experimental support for sharing encrypted history on invite #4920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jul 13, 2025

Add options to MatrixClient.invite and MatrixClient.joinRoom to share and accept encrypted history on invite, per MSC4268.

There are some extensions to the test infrastructure to allow it to be properly integration tested: it may be easier to review commit-by-commit.

Based on #4919. Also requires:

Part of element-hq/element-meta#2871.

@richvdh richvdh requested review from a team as code owners July 13, 2025 19:59
@richvdh richvdh requested review from uhoreg, dbkr and t3chguy July 13, 2025 19:59
@richvdh richvdh marked this pull request as draft July 13, 2025 19:59
@richvdh richvdh removed request for dbkr, uhoreg and t3chguy July 13, 2025 19:59
richvdh added 5 commits July 13, 2025 21:33
Have `E2EKeyReceiver` collect uploaded cross-signing keys, so that they can be
returned by `E2EKeyResponder`.
Have `E2EKeyReceiver` collect uploaded device signatures, so that they can be
returned by `E2EKeyResponder`.
A new test helper, which intercepts `/keys/claim`, allowing clients under test
to claim OTKs uploaded by other devices.
Add options to `MatrixClient.invite` and `MatrixClient.joinRoom` to share and
accept encrypted history on invite, per MSC4268.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant