element-web icon indicating copy to clipboard operation
element-web copied to clipboard

to-device messages can be processed out-of-order, causing dropped keys and decryption errors

Open richvdh opened this issue 1 year ago • 2 comments

Events - including to-device messages - received over /sync are decrypted in parallel. libolm can handle some reordering of to-device messages: it remembers up to 40 "skipped keys", but in extreme cases, this parallelisation can cause reordering so bad that message keys are forgotten.

richvdh avatar Jul 05 '23 20:07 richvdh

related to https://github.com/vector-im/element-meta/issues/762

richvdh avatar Jul 05 '23 20:07 richvdh

Adding a test to the complement crypto test list

BillCarsonFr avatar Feb 27 '24 15:02 BillCarsonFr

Test written and passing, closing.

kegsay avatar Jun 13 '24 09:06 kegsay