1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00
Files
matrix-js-sdk/spec/test-utils/test_indexeddb_cryptostore_dump/empty_account
Andy Balaam 909caab74e Don't run migration for Rust crypto if the legacy store is empty (#4218)
* Don't run migration for Rust crypto if the legacy store is empty

Fixes https://github.com/element-hq/element-web/issues/27447

* Add copyright for the TypeScript files in legacy DB dumps

* Provide a type for the accountPickle we check for before migration

* Remove redundant backup response

This is unused

* Simplify keys response

* Downgrade log message.

---------

Co-authored-by: Richard van der Hoff <richard@matrix.org>
2024-05-28 17:43:25 +00:00
..

Dump of an empty libolm indexeddb cryptostore to test skipping migration

A dump of an account which is almost completely empty, and totally unsuitable for use as a real account.

This dump was manually created by copying and editing full_account.

Created to test "Unable to restore session" error due due to half-initialised legacy indexeddb crypto store #27447. We should not launch the Rust migration code when we find a DB in this state.