Valere
3e989006aa
Migrate own identity local trust to rust crypto ( #4090 )
...
* Migrate own identity trust to rust crypto
* Fix gendoc not happy if msk of IDownloadKeyResult has a signature
* add missing mock
* code review
* Code review
* Review gh suggestion
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Review gh suggestion
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Review gh suggestion
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Review gh suggestion
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* review move function down in file
* Review gh suggestion
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Review gh suggestion
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Review: Cleaning tests, renaming
* Review: better comment
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Comment paragraphs
* retry until initial key query is successfull
* review quick nits
* missing mock in test
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2024-03-18 08:57:53 +00:00
Valere
f4a796ca2f
ElementR | Ensure own user and device trust are updated after migration before giving back control to the app. ( #4059 )
...
* Ensure own trust after olm migration
* Check legacy store contains data
2024-02-07 16:28:17 +00:00
Richard van der Hoff
7cf59d64e6
Element-R: support for migration of the room list from legacy crypto ( #4036 )
...
* Support for migration of the room list from legacy crypto
* fix migration for empty legacy store
2024-01-26 17:24:33 +00:00
Richard van der Hoff
06e8cea63d
Emit events during migration from libolm ( #3982 )
...
* Fix `CryptoStore.countEndToEndSessions`
This was apparently never tested, and was implemented incorrectly.
* Add `CryptoStore.countEndToEndInboundGroupSessions`
* Emit events to indicate migration progress
2024-01-16 13:31:21 +00:00
Richard van der Hoff
815c36e075
Support for migration from from libolm ( #3978 )
...
* Use a `StoreHandle` to init OlmMachine
This will be faster if we need to prepare the store.
* Include "needsBackup" flag in inbound group session batches
* On startup, import data from libolm cryptostore
* ISessionExtended -> SessionExtended
2024-01-16 12:00:22 +00:00
Richard van der Hoff
425cf6b91e
Element-R: use the pickleKey to encrypt the crypto store ( #3732 )
...
* Element-R: use the pickleKey to encrypt the crypto store
`pickleKey` is a passphrase set by the application for this express purpose.
* update tests
* fix tests, again
2023-09-20 11:35:32 +00:00
Malte Finsterwalder
8c30b0d12c
Dont access indexed db when undefined ( #3707 )
...
* T-Defect: handle undefined indexedDB gracefully
Signed-off-by: Malte Finsterwalder <malte@holi.team >
* T-Defect: test to check handling of undefined indexedDB gracefully
Signed-off-by: Malte Finsterwalder <malte@holi.team >
---------
Signed-off-by: Malte Finsterwalder <malte@holi.team >
Co-authored-by: Malte Finsterwalder <malte@holi.team >
2023-09-07 21:52:32 +00:00
Richard van der Hoff
858155e0ef
Add an integration test for verification ( #3436 )
...
* Move existing crypto integ tests into a subdirectory
* Factor out some common bits from `crypto.spec.ts`
* Integration test for device verification
* Ignore generated file in prettier
2023-06-02 15:01:21 +00:00