-
-
Notifications
You must be signed in to change notification settings - Fork 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
"Offline encrypted messaging using dehydrated devices" doesn't work, still getting lost messages #18541
Comments
Could you add a bit more detail to your repro steps? I'm not really sure what the situation is here - it sounds like you're just launching element rather than logging in again? If so, this wouldn't be related to dehydrated devices. |
Yes, I thought this error appears when I wasn't onliine when keys were exchanged, and then come online without the key, but maybe I was wrong. If dehydration doesn't fix this, then maybe the protocol needs another fix on top? What if when both clients are online at some later point and the sender's session/client still has the history and hasn't deleted the message and still is in the room, other clients would be allowed to re-request it? (A sender client could even track who was in the room before, so if I don't lose my session then it could even resend it to me without worrying about violating the room history setting.) Like, I get this could happen if somebody tried to retract the message actively, but this seems to happen randomly when people just want to talk. And lost messages when nobody tried to lose/delete them is not really something that should happen in a messenger without any recovery path. But I admit that I understand really little why exactly this happen with Matrix in particular, other than it just feels like it is fixable on some level with protocol extensions so it's frustrating to keep seeing it. |
OK - this case should work in theory: your HS should store the message with the key and forward it to your client when it's next online. If you can submit a bug report and get the sender to submit one as well, we should be able to see where it's getting lost, although appreciate that if you're only starting element sometime later, getting a bug report from the sender can be tricky. |
I have the same problem. And below is my reproduce
My Element-desktop is version 1.9.0 EDIT |
IIRC, it only works if you turn the labs flag on in the |
The original report was unrelated to dehydrated devices, and we're going to be making dehydrated devices work differently, which will probably result in most of the code being rewritten, so it's unlikely that current bug reports will be applicable to the new code. So I'm going to close this issue for now. |
Steps to reproduce
Re-request encryption keys from your other sessions." messages.
What happened?
unable to decrypt failures that do not recover
What did you expect?
it works
Operating system
Linux/Fedora
Application version
Element version: 1.7.33
How did you install the app?
flatpak
The text was updated successfully, but these errors were encountered: