-
Notifications
You must be signed in to change notification settings - Fork 287
crypto: MemoryStore uses backup versions to track which sessions are backed up #3320
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: MemoryStore uses backup versions to track which sessions are backed up #3320
Conversation
8c47095
to
a7b2bb1
Compare
a7b2bb1
to
33e8fe1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3320 +/- ##
==========================================
+ Coverage 83.20% 83.22% +0.01%
==========================================
Files 247 247
Lines 25022 25048 +26
==========================================
+ Hits 20819 20845 +26
Misses 4203 4203 ☔ View full report in Codecov by Sentry. |
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.
This is making mostly sense, though there are a couple of show stoppers.
OK, better late than never, I've made changes in response to the review. Thanks! |
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.
Looks good, thanks.
b122797
to
2652b77
Compare
Fixes https://github.com/element-hq/crypto-internal/issues/208
Validate the algorithm described in element-hq/element-web#26892 (comment) by implementing it in in the
MemoryStore
.Main outstanding question:
InboundGroupSession
(incrates/matrix-sdk-crypto/src/olm/group_sessions/inbound.rs
) has abacked_up
field. Should this be changed (e.g. tobackup_up_to
) or removed? How is it used?