-
Notifications
You must be signed in to change notification settings - Fork 276
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
crypto: encrypt, upload and share keys for room history #4864
base: main
Are you sure you want to change the base?
Conversation
41d75d1
to
ea0b176
Compare
f93d4a6
to
3149616
Compare
3149616
to
b2a6840
Compare
The next step in our work on sharing encrypted room history. Add a method to `matrix_sdk::room::Room` which will upload an encrypted key bundle.
dbba10f
to
211b9ad
Compare
For each device belonging to the user, encrypt and send to-device messages containing the bundle data
This is only a partial test, since we haven't yet implemented the receiver side of the history-sharing messages.
211b9ad
to
7cb525f
Compare
@@ -178,9 +179,17 @@ impl<'a> IntoFuture for ShareRoomHistory<'a> { | |||
"Uploaded encrypted key blob" | |||
); | |||
|
|||
// 3. Send to-device messages to the recipient to share the keys. | |||
// TODO | |||
// 3. Establish Olm seeions with all of the recipient's devices |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// 3. Establish Olm seeions with all of the recipient's devices | |
// 3. Establish Olm sessions with all of the recipient's devices. |
e5150ec
to
632e1b6
Compare
632e1b6
to
e963311
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4864 +/- ##
==========================================
- Coverage 85.80% 85.79% -0.01%
==========================================
Files 314 314
Lines 35739 35572 -167
==========================================
- Hits 30666 30520 -146
+ Misses 5073 5052 -21 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The next step of our plan to share room history (element-hq/element-meta#39). This PR adds the functionality to:
Fixes: #4505