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

E2EE should recover rapidly from HS outages #2153

Closed
ara4n opened this issue Oct 19, 2023 · 3 comments
Closed

E2EE should recover rapidly from HS outages #2153

ara4n opened this issue Oct 19, 2023 · 3 comments

Comments

@ara4n
Copy link
Member

ara4n commented Oct 19, 2023

Your use case

If Bob's HS is down, Alice won't be able to set up Olm sessions to Bob. As a result, her messages to Bob will unavoidably be undecryptable.

Alice's HS could track when Bob's server returns however, and send a push notif to Alice's client when that happens (assuming Alice's client supports push) to encourage Alice to flush her olm/megolm queue and so share the missing key to Bob.

At a minimum Alice's client should track the pending olm sessions that she needs to setup, and keep retrying with a sensible retry schedule in the bg.

Have you considered any alternatives?

No response

Additional context

No response

@ara4n ara4n changed the title Recover rapidly from HS outages E2EE should recover rapidly from HS outages Oct 19, 2023
@kegsay
Copy link

kegsay commented Jan 11, 2024

MSC4081 proposes a way to fix this.

@richvdh richvdh closed this as completed Jan 12, 2024
@richvdh
Copy link
Member

richvdh commented Jan 12, 2024

closing in favour of #2154

@richvdh
Copy link
Member

richvdh commented Jan 12, 2024

Duplicate of #2154

@richvdh richvdh marked this as a duplicate of #2154 Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants