-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 Web R can't send encrypted messages on dendrite/conduit #26566
Comments
it also doesnt work on conduit either, getting a friend to send a rageshake of it failing on conduit as well |
Adding some context as the sysadmin of pain.agency, i see the following error a lot in my logs (when dendrite isn't shitting itself about something else, as it does) which appears to be related to this bug
( Unsure if this is a bug on the dendrite side causing it to fail or if something is awry in how element is handling it |
If I didn't do anything wrong, this seems to be an issue in ruma?
|
The request body is built by the Rust SDK This looks like matrix-org/matrix-rust-sdk#801 which is claimed to be fixed - wonder if it regressed cc @richvdh |
Looks like it was fixed in the nodejs bindings but not the wasm bindings. Arguably it's silly that it is being done in the bindings at all. Have filed matrix-org/matrix-rust-sdk-crypto-wasm#56 and matrix-org/matrix-rust-sdk-crypto-wasm#57 to track this on the Rust side. |
We believe we can make a quick fix for this in the wasm bindings, and will do so for Element-R release. |
This is fixed in matrix-sdk-crypto-wasm v4.0.0, which matrix-js-sdk now depends on, so it should be fixed in the next release of Element R |
I don't think that's right. matrix-sdk-crypto-wasm v4.0.0 does not include matrix-org/matrix-rust-sdk-crypto-wasm#72. |
[it would be good to have some tests at the js-sdk level to prove this one way or another.] |
matrix-sdk-crypto-wasm v4.0.1 does include the fix, so this will probably be fixed by matrix-org/matrix-js-sdk#4025, but given a test should be trivial: please can we do so? |
KeysClaimRequest
generates malformed bodies matrix-org/matrix-rust-sdk-crypto-wasm#56KeysUploadRequest
generates malformed bodies matrix-org/matrix-rust-sdk-crypto-wasm#57Steps to reproduce
sending encrypted message with rust SDK on dendrite
sending message in encrypted room
Outcome
What did you expect?
for message to be sent
What happened instead?
ele web says
Some of your messages have not been sent
You can select all or individual messages to retry or delete
while in the console I see, I have asked a user on another dendrite HS to double check its not a issue with the one I'm on and they saw it as well element web says
Session key: <not supported>
as well in the security & privacy area of settingsOperating system
Fedora 38
Browser information
Chrome 119.0.6045.123
URL for webapp
https://develop.element.io/
Application version
Element version: 781a067-react-6ee8349f7ce6-js-7de9b23e5993 Crypto version: Rust SDK 0.6.0 (17d4f2f), Vodozemac 0.5.0
Homeserver
pain.agency Dendrite 0.13.4+317b101
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: