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

Element-R: stuck in a loop calling /keys/query #26194

Closed
richvdh opened this issue Sep 18, 2023 · 2 comments · Fixed by matrix-org/matrix-js-sdk#3757
Closed

Element-R: stuck in a loop calling /keys/query #26194

richvdh opened this issue Sep 18, 2023 · 2 comments · Fixed by matrix-org/matrix-js-sdk#3757
Assignees
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Defect Team: Crypto

Comments

@richvdh
Copy link
Member

richvdh commented Sep 18, 2023

It seems to be continually calling /keys/query for itself

@richvdh richvdh added T-Defect Team: Crypto A-Element-R Issues affecting the port of Element's crypto layer to Rust labels Sep 18, 2023
@BillCarsonFr
Copy link
Member

So the loop is due to the userHasCrossSigningKeys() that is called as part of DeviceListener#doRecheck().

The userHasCrossSigningKeys() is forcing a keys/query that will emit a CryptoEvent.UserTrustStatusChanged,
and DeviceListener will trigger a doRecheck on that event

@richvdh
Copy link
Member Author

richvdh commented Sep 28, 2023

I think we are still using the old version of the rust library so this is not yet fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust T-Defect Team: Crypto
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants