-
Notifications
You must be signed in to change notification settings - Fork 859
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
Changes from all commits
3b9daec
6ee438d
42eec4b
0d70f6e
2709cb2
1bd2da5
87df8ab
a015eda
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Fix Login with QR code not working with rust crypto. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,10 +34,6 @@ import org.matrix.android.sdk.api.rendezvous.model.SecureRendezvousChannelAlgori | |
| import org.matrix.android.sdk.api.rendezvous.transports.SimpleHttpRendezvousTransport | ||
| import org.matrix.android.sdk.api.session.Session | ||
| import org.matrix.android.sdk.api.session.crypto.crosssigning.DeviceTrustLevel | ||
| import org.matrix.android.sdk.api.session.crypto.crosssigning.KEYBACKUP_SECRET_SSSS_NAME | ||
| import org.matrix.android.sdk.api.session.crypto.crosssigning.MASTER_KEY_SSSS_NAME | ||
| import org.matrix.android.sdk.api.session.crypto.crosssigning.SELF_SIGNING_KEY_SSSS_NAME | ||
| import org.matrix.android.sdk.api.session.crypto.crosssigning.USER_SIGNING_KEY_SSSS_NAME | ||
| import org.matrix.android.sdk.api.util.MatrixJsonParser | ||
| import timber.log.Timber | ||
|
|
||
|
|
@@ -222,15 +218,10 @@ class Rendezvous( | |
| Timber.tag(TAG).i("No master key given by verifying device") | ||
| } | ||
|
|
||
| // request secrets from the verifying device | ||
| Timber.tag(TAG).i("Requesting secrets from $verifyingDeviceId") | ||
| // request secrets from other sessions. | ||
| Timber.tag(TAG).i("Requesting secrets from other sessions") | ||
|
|
||
| session.sharedSecretStorageService().let { | ||
| it.requestSecret(MASTER_KEY_SSSS_NAME, verifyingDeviceId) | ||
| it.requestSecret(SELF_SIGNING_KEY_SSSS_NAME, verifyingDeviceId) | ||
| it.requestSecret(USER_SIGNING_KEY_SSSS_NAME, verifyingDeviceId) | ||
| it.requestSecret(KEYBACKUP_SECRET_SSSS_NAME, verifyingDeviceId) | ||
| } | ||
| session.sharedSecretStorageService().requestMissingSecrets() | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 (
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. updated |
||
| } else { | ||
| Timber.tag(TAG).i("Not doing verification") | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.