element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
70 stars 12 forks source link

Users whose servers were unreachable will receive undecryptable messages due to failed OTK claim #2154

Open richvdh opened 10 months ago

richvdh commented 10 months ago

Even if Alice subsequently sends another message using the same session, and tries again to share the session key with Bob, it is likely that she will share the megolm ratchet starting at that second message rather than the first one.

Bob will never be able to decrypt the message.


Tasks, with T-shirt sizes

Spec side:

Server side:

matrix-sdk-crypto:

Testing:

richvdh commented 10 months ago

Duplicate of #2153

richvdh commented 8 months ago

Actually I think this is clearer than #2153, so closing the other.

richvdh commented 8 months ago

https://github.com/matrix-org/matrix-spec-proposals/pull/4081 proposes a way to fix this.

ara4n commented 8 months ago

To port some of the possible solution thoughts from #2153:

richvdh commented 6 months ago

We'll need to:

BillCarsonFr commented 6 months ago

@pmaier1 To check priority given it's happening in not common use cases

pmaier1 commented 5 months ago

We concluded that this has low priority as we consider the impact as "low" (only subject to very specific cases) and the effort to fix as "high".