-
Notifications
You must be signed in to change notification settings - Fork 856
Fix QR code login support in rust #8654
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
Conversation
bmarty
left a comment
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]>
bmarty
left a comment
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.
|











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