Open richvdh opened 6 months ago
Estimated as "S" assuming we just delete the crypto store cache when we come to the foreground
According to @BillCarsonFr, this is still a potential problem.
The current workaround on classic ios is that we "refresh" the olm machine when the app enters foreground So the workaround limits the possibilities of outdated cache but not 100% of them
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.