-
Notifications
You must be signed in to change notification settings - Fork 213
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
Symmetric backup #1542
Symmetric backup #1542
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1542 +/- ##
===========================================
+ Coverage 11.97% 12.57% +0.59%
===========================================
Files 515 522 +7
Lines 84115 84856 +741
Branches 35909 36201 +292
===========================================
+ Hits 10076 10671 +595
- Misses 73667 73799 +132
- Partials 372 386 +14
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Thanks for this huge update.
My single concern is that the untrusted field is a bit fragile on a long term (even if we will remove this code with ElementR-iOS). A dev can change the code behavior and untrusted becomes YES even for keys received in a normal way with m.room_key
to_device events. The resulting UX could be really bad.
I proposed a change in testEncryptAndDecryptKeyBackupData
to verify that as a low cost way.
MatrixSDK/Crypto/KeyBackup/Data/Aes256/MXAes256BackupAuthData.m
Outdated
Show resolved
Hide resolved
MatrixSDK/Crypto/KeyBackup/Data/Aes256/MXAes256BackupAuthData.h
Outdated
Show resolved
Hide resolved
I've checked the failing integration & crypto tests, they were green on my local. |
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.
LGTM!
Implements matrix-org/matrix-spec-proposals#3270
Inspired by matrix-org/matrix-js-sdk#1775