element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 480 forks source link

Olm sessions broken by use of outdated cache #7790

Closed richvdh closed 1 month ago

richvdh commented 1 month ago

We recently found and fixed a bug in Element X iOS (https://github.com/matrix-org/matrix-rust-sdk/issues/3110) which caused Olm sessions to be corrupted due to lack of cache invalidation when control switched between the main process and the NSE process.

According to @BillCarsonFr, Element iOS suffers the same problem; we should fix this as it causes users on other platforms to see UTD errors.

richvdh commented 1 month ago

Estimated as "S" assuming we just delete the crypto store cache when we come to the foreground

BillCarsonFr commented 1 month ago
BillCarsonFr commented 1 month ago

In RC https://github.com/element-hq/element-ios/pull/7798