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

EW hides history from before your join as soon as it encounters something undecryptable, even if you have decryptable things before it #22544

Closed
leona-ya opened this issue Jun 11, 2022 · 2 comments
Labels
A-E2EE A-Timeline O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@leona-ya
Copy link

Steps to reproduce

  1. Create a new room with the old user
  2. Send message with the old user on Element Web
  3. Send message with the old user on Element Android
  4. Invite new user to long existing room on Element Web (all messages are available there)
  5. Accept invitation
  6. Encryption keys aren't transferred

Outcome

What did you expect?

All message keys are transferred to the new account and the messages are visible over there.

What happened instead?

Messges aren't available

Old account:
screenshot-2022-06-11_23-06-1654981598

New account:
screenshot-2022-06-11_23-06-1654981582

However, it works in a new room with a few messages sent right before the invitation by the same client.

Operating system

NixOS

Browser information

No response

URL for webapp

No response

Application version

1.10.13 (Web+Desktop)

Homeserver

synapse 1.60.0

Will you send logs?

Yes

@t3chguy
Copy link
Member

t3chguy commented Jun 11, 2022

This will be an Android bug with not supporting shared history megolm sessions.
The sending client has to mark the megolm session as sharable for the inviting client to share them over.

Tracked in element-hq/element-android#4153

The other part of this is EW hides history from before your join as soon as it encounters something undecryptable, even if you have decryptable things before it

@duxovni duxovni added S-Minor Impairs non-critical functionality or suitable workarounds exist A-E2EE A-Timeline O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Jun 13, 2022
@duxovni duxovni changed the title Encryption keys for room with messages sent by multiple devices EW hides history from before your join as soon as it encounters something undecryptable, even if you have decryptable things before it Jun 13, 2022
@ara4n
Copy link
Member

ara4n commented Apr 22, 2023

dup of #22671

@ara4n ara4n closed this as completed Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-Timeline O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants