-
Notifications
You must be signed in to change notification settings - Fork 726
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
Fix QR code login support in rust #8654
Conversation
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, some non-blocking remarks/questions.
...k-android/src/kotlinCrypto/java/org/matrix/android/sdk/internal/crypto/SecretShareManager.kt
Show resolved
Hide resolved
...k-android/src/kotlinCrypto/java/org/matrix/android/sdk/internal/crypto/SecretShareManager.kt
Outdated
Show resolved
Hide resolved
...k-android/src/kotlinCrypto/java/org/matrix/android/sdk/internal/crypto/SecretShareManager.kt
Show resolved
Hide resolved
it.requestSecret(USER_SIGNING_KEY_SSSS_NAME, verifyingDeviceId) | ||
it.requestSecret(KEYBACKUP_SECRET_SSSS_NAME, verifyingDeviceId) | ||
} | ||
session.sharedSecretStorageService().requestMissingSecrets() |
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.
I understand that we request the secrets from all our devices, and not the device which was used to verify (verifyingDeviceId
). I think it's fine, but maybe update the comment and the log above?
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.
updated
...sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/SecretShareManager.kt
Show resolved
Hide resolved
...ain/java/org/matrix/android/sdk/internal/crypto/secrets/DefaultSharedSecretStorageService.kt
Show resolved
Hide resolved
vector/src/test/java/im/vector/app/test/fakes/FakeSharedSecretStorageService.kt
Show resolved
Hide resolved
…k/internal/crypto/SecretShareManager.kt Co-authored-by: Benoit Marty <[email protected]>
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 the update!
SonarCloud Quality Gate failed. 0 Bugs 0.0% Coverage The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Type of change
Content
Fixes #8653
Depends on new rust sdk matrix-org/matrix-rust-sdk#2632
Motivation and context
Screenshots / GIFs
Tests
Tested devices
Checklist