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 iOS sends wrong format to /keys/query #3539

Closed
neilalexander opened this issue Aug 13, 2020 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#967
Closed

Element iOS sends wrong format to /keys/query #3539

neilalexander opened this issue Aug 13, 2020 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#967
Labels
A-E2EE spec compliance T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@neilalexander
Copy link
Contributor

The /keys/query request contains the wrong format. The spec calls for device_keys to take the format {string: [string]} but Element iOS is sending {string: {string: bool, string: bool, ...}}.

Synapse ignores this because it doesn't check the type and processes it as an array (possibly incorrectly, not sure). Dendrite raises an error because we are strict about the type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE spec compliance T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants