Skip to content
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

Encrypted history sharing: receive to-device messages and stash data somewhere #4512

Open
richvdh opened this issue Jan 10, 2025 · 1 comment

Comments

@richvdh
Copy link
Member

richvdh commented Jan 10, 2025

Our proposed solution to sharing encrypted room history on invite involves sharing the keys to an encrypted blob of room keys via to-device messages.

#4505 tracks sending those to-device messages. This issue tracks receiving them and stashing the contents somewhere persistent, so that we can make use of them later.

(Note that we do not want to download the key bundle immediately, since this could be used by a malicious user to trigger a large number of downloads. Instead, we wait until we accept the invite. This is why we want to stash the data rather than use it immediately.)

Part of element-hq/element-meta#2685

@richvdh
Copy link
Member Author

richvdh commented Jan 10, 2025

Presumably we need to store the SenderData in the same way that we would for a megolm session.

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

No branches or pull requests

1 participant