-
Notifications
You must be signed in to change notification settings - Fork 12
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
UI: No indication on how to resolve missing E2EE history #1563
Comments
Hi @LEdoian. Indeed, migrating accounts is not something that is well supported currently, but it looks like you found the workaround already by importing E2EE keys from your other user. We purposefully hide decryption errors from before you joined to not confuse users that just joined a conversation. In this case, there is no resolution as the messages weren't encrypted for them, so decided to avoid unhelpful noise. Your case of migrating an account is something less common and indeed it can be a bit confusing that you need to export key. We'll take this feedback into account if we decide to rework this part of the UI. |
@LEdoian mentions the migration case as a specific example, but the bug is not limited to this case, and the bug is in my opinion severe. To see this, try ignoring the "Description" section of @LEdoian's report, and reading only from "Steps to reproduce". In other words, any user who is invited to an E2EE room will be unable to see any pre-existing history in the room. This occurs to me (or rather, my contacts) every time I invite someone to an E2EE room. My typical case is that I have a room for some sort of collaboration, with some number of initial members. Then, later, we need to invite someone new, and they need to see the room's history as well. Just as per this bug, the history will not be shown, and the UI offers no explanation as to why. To even further confuse the user, the setting "Who can read history?" is, in my typical case, shown as "Members only (since the point in time of selecting this option)" for all users in the room - including the newly joined who is quite unable to see any history, in contradiction of this setting. The room was indeed created with this setting, but it is clearly not having the stated effect. Unless I am missing something obvious, this ought to be a prioritized bug, no? |
+1 for pre-existing history not appearing when joining E2EE room. Dunno if it's a bug or a feature at this point =D |
That is the current behaviour on Web and Desktop. |
You mean on Android or exotically Weechat there is the pre-existing history in E2EE rooms ? |
no idea about Weechat but most clients will just show you a wall of unable-to-decrypt errors from before your join instead of hiding them sensibly. |
So if i understand the protocol from what you say: (maybe a dev would answer better)
|
+1 I get the same issue, basically in an e2ee room, the Who can read history? option, |
I experience the exact same behavior as @JonathanReifer stated, any news on this? |
Encountering the same issue as @JonathanReifer described. Any idea how to solve this? |
Has this been helped at all by the Decryption failure bar ( |
For everyone talking about the
To expand further and document the current state of all of this (mostly derived from reading #647), here is what works and doesn't work:
Give some indication of why history is missingIt would be good to add a warning to the top of the timeline explaining what's going on to the users experiencing the missing history. Perhaps an extra case in the And warnings in room settings for combinations of enabling encryption and the history visibility options, see #1356 A full solutionTo fix this problem, sharing room keys for past messages on invite is tracked by #749 Relevant MSC: MSC3061 Related issues: |
Description
When a user cannot decrypt older history, the history does not show at all, leaving the user without any obvious clue why that happens.
This is more problematic when migrating between accounts and the old account also sees that history should be visible (#13349). In this case the user is able to help themself by exporting and importing E2EE keys, but there is no hint that they need to do that.
Steps to reproduce
The invited account does not see the messages, nor any information that they are not visible and why. Also, the original (inviting) account has no feedback that the new account will not be able to see those messages, yet that could be presumed by the client (i.e. do not expect the invitee to have the keys already imported).
Logs being sent: no
Version: 1.6.2 web
Related: #1287
The text was updated successfully, but these errors were encountered: