E2EE Keys shared on being invited to a room are ignored. #1842
Labels
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Critical
Prevents work, causes data loss and/or has no workaround
T-Enhancement
New features, changes in functionality, performance boosts, user-facing improvements
X-Needs-Rust
This issue needs a Rust SDK change. It must have a link to a Rust SDK issue
Steps to reproduce
2023-10-01T23:58:41.991407Z WARN matrix_sdk_crypto::gossiping::machine: Received a forwarded room key that we didn't request sender_key="curve25519:dDzGIsdDzjt2uWgLDg0U05v2s0NAdjiqYpYjryPa7To" room_id="!kCCQTCfnABLKGGvQjo:matrix.org" session_id="gPbOMSzHA67qrteCF3gi3/6VfWgcqSLgpF+N9aFZKqU" sender_key="curve25519:dDzGIsdDzjt2uWgLDg0U05v2s0NAdjiqYpYjryPa7To" algorithm="m.megolm.v1.aes-sha2" | crates/matrix-sdk-crypto/src/gossiping/machine.rs:978 | spans: root > sync_stream{conn_id="encryption" with_e2ee=true} > sync_once{pos="141"} > handle_response > preprocess_to_device_events > receive_sync_changes > receive_to_device_event{sender="@matthew:matrix.org" event_type="m.room.encrypted" message_id="98b4e05a-9cc4-440e-96d5-5c99a2fe1d67"} > handle_decrypted_to_device_event{sender_key="curve25519:dDzGIsdDzjt2uWgLDg0U05v2s0NAdjiqYpYjryPa7To" event_type="m.forwarded_room_key"}
Outcome
What did you expect?
Users should be able to read history when invited to a room.
What happened instead?
Undecryptable history, UISIs everywhere.
N.B. this is not the same as #1496 - where EX fails to send keys; here the problem is EX ignoring keys.
Your phone model
No response
Operating system version
No response
Application version
396
Homeserver
No response
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: