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

MXKeyBackup: trustForKeyBackupVersionFromCryptoQueue must consider MSK trust #4338

Closed
manuroe opened this issue May 18, 2021 · 2 comments · Fixed by matrix-org/matrix-ios-sdk#1141

Comments

@manuroe
Copy link
Member

manuroe commented May 18, 2021

While looking at the unexpected display of the secure banner (#4332), we discovered that we do not check for signature from the user MSK but only from devices: https:/matrix-org/matrix-ios-sdk/blob/v0.18.12/MatrixSDK/Crypto/KeyBackup/MXKeyBackup.m#L1067

This may be a problem. If we do not trust the key backup, we do not back up to it.

@manuroe
Copy link
Member Author

manuroe commented May 18, 2021

Web signs and trusts using the MSK: element-hq/element-web#11747

@manuroe
Copy link
Member Author

manuroe commented Sep 3, 2021

js-sdk signs the key backup here

stefanceriu added a commit to matrix-org/matrix-ios-sdk that referenced this issue Sep 3, 2021
stefanceriu added a commit to matrix-org/matrix-ios-sdk that referenced this issue Sep 10, 2021
stefanceriu added a commit to matrix-org/matrix-ios-sdk that referenced this issue Sep 15, 2021
stefanceriu added a commit to matrix-org/matrix-ios-sdk that referenced this issue Sep 17, 2021
stefanceriu added a commit to matrix-org/matrix-ios-sdk that referenced this issue Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants