Damir Jelić
5253f9708c
crypto: Fix a crash when we access the devices before the olmMachine is set up
...
The crypto service is fully initialized only after the first sync but EA
seems to access live devices before that. This results in a crash since
we now use the olm machine to access devices.
2021-04-08 15:55:38 +02:00
Damir Jelić
edfd1b2fe0
crypto: Get rid of the DeviceKeysManager
2021-04-08 15:55:10 +02:00
Damir Jelić
08d0787cc9
crypto: More docs
2021-04-08 11:18:48 +02:00
Damir Jelić
6d05f5b993
crypto: Rename newCrypto to OlmMachine.kt
2021-04-07 15:41:27 +02:00
Damir Jelić
182fc84186
crypto: Split out the live devices observer
2021-04-02 15:30:07 +02:00
Damir Jelić
0b064f647a
crypto: Connect the live CryptoDeviceInfo getter methods to the rust-sdk
2021-04-01 17:44:41 +02:00
Damir Jelić
ef93d9e625
crypto: Remove some more unused methods
2021-04-01 15:59:36 +02:00
Damir Jelić
dc8711be30
crypto: Add some TODOs about locking
2021-03-31 11:38:15 +02:00
Damir Jelić
6af8041fb4
crypto: Remove the second key export method
2021-03-30 14:30:39 +02:00
Damir Jelić
9d5ef01ce0
crypto: Get devices from the rust-sdk
2021-03-30 14:30:39 +02:00
Damir Jelić
5533c2acae
crypto: Remove more unused code
2021-03-30 14:30:39 +02:00
Damir Jelić
57bb723bac
crypto: Connect the key importing to the rust-sdk
2021-03-30 14:30:39 +02:00
Damir Jelić
7f89e33037
crypto: Connect the key exporting to the rust-sdk export method
2021-03-29 16:36:40 +02:00
Damir Jelić
32cf645c5f
crypto: Remove the myDeviceInfoHolder
2021-03-26 16:01:01 +01:00
Damir Jelić
d49bdbe016
crypto: Remove the RoomDecryptorProvider
2021-03-26 14:02:04 +01:00
Damir Jelić
32c1fd9c85
crypto: Remove the OlmManager
2021-03-26 10:58:58 +01:00
Damir Jelić
1bff219197
crypto: Remove the event decryptor
2021-03-25 16:07:44 +01:00
Damir Jelić
dace959d69
crypto: Get rid of the roomEncryptorsStore
2021-03-25 15:53:18 +01:00
Damir Jelić
3812162f4f
crypto: Move the outgoing request sending logic into separate methods
2021-03-25 13:17:06 +01:00
Damir Jelić
4b157f7915
crypto: Don't use the device list manager in onSyncWillProcess
2021-03-24 17:03:36 +01:00
Damir Jelić
4eeb47dc56
crypto: Remove more unused methods
2021-03-24 16:27:38 +01:00
Damir Jelić
6bc825b0bc
crypto: Remove the UploadKeysTask copy
2021-03-24 16:15:52 +01:00
Damir Jelić
36451e5410
crypto: Remove the unused olm unwedging method
2021-03-24 16:01:40 +01:00
Damir Jelić
6e53ab2bcf
crypto: Remove an unused method
2021-03-24 16:01:19 +01:00
Damir Jelić
629623f720
crypto: Remove the one-time keys uploader
2021-03-24 16:00:51 +01:00
Damir Jelić
555d24fea5
crypto: Remove the delete device with password task
2021-03-24 15:54:56 +01:00
Damir Jelić
1773a361d1
crypto: Remove the method to delete devices with an user password
2021-03-24 15:49:31 +01:00
Damir Jelić
758e8f7fb6
crypto: Remove the cancelRoomKeyRequest method
2021-03-24 15:45:03 +01:00
Damir Jelić
67f238069a
crypto: Remove the gossipping managers from the crypto service
2021-03-24 15:44:33 +01:00
Damir Jelić
5b2629ba00
crypto: Remove the incoming gossipping manager
2021-03-24 15:21:39 +01:00
Damir Jelić
981e6b65b0
crypto: Remove the requestRoomKeyForEvent method
...
This method doesn't seem to be used anywhere, only a single tests seems
to call it. The funcionality has been moved to the rust-sdk and tested
there.
2021-03-24 14:20:39 +01:00
Damir Jelić
515c9be2d9
crypto: Remove the CryptoSyncHandler
2021-03-24 14:17:26 +01:00
Damir Jelić
f5348d6c9d
crypto: Remove the object signer from the crypto service
2021-03-24 14:02:32 +01:00
Damir Jelić
e4ac5f6c13
crypto: Don't track users on the kotlin side of things
2021-03-24 13:45:15 +01:00
Damir Jelić
669a5f9815
crypto: Remove the MXOlmDevice
2021-03-24 12:35:21 +01:00
Damir Jelić
7f86f512ed
crypto: Remove the one-time key uploader since Rust is handling this
2021-03-24 12:28:41 +01:00
Damir Jelić
c97e384790
crypto: Hook up the event encryption to use the rust-sdk
2021-03-05 16:12:24 +01:00
Damir Jelić
5f848093b9
crypto: Send out to-device requests to share the room key
2021-03-05 13:27:32 +01:00
Damir Jelić
4c44a5e108
crypto: Add support to claim one-time keys
2021-03-04 17:14:48 +01:00
Damir Jelić
da35c9b6bd
crypto: Send out key query requests that the rust-sdk gives us.
2021-03-04 13:12:16 +01:00
Damir Jelić
891622d64b
crypto: Propagate decryption errors to the kotlin side
2021-02-19 16:33:30 +01:00
Damir Jelić
3b73adf3c5
crypto: Connect the decryption logic to the rust olm machine
2021-02-19 15:42:07 +01:00
Damir Jelić
e2692ec604
crypto: Forward sync crypto chagnes to the rust side
2021-02-17 16:21:58 +01:00
Damir Jelić
d50df9537c
crypto: Connect the rust logger to timber
2021-02-17 16:21:58 +01:00
Damir Jelić
3ddbe7e69b
crypto: Use the rust crypto layer to upload device/one-time keys
2021-02-17 16:21:58 +01:00
Damir Jelić
1eeb97ec51
crypto: Expose the new outgoing request method
2021-02-17 16:21:58 +01:00
Damir Jelić
f01e2460e1
crypto: Enable the use of unsigned ints for now and update the bindings wrapper
2021-02-17 16:21:58 +01:00
Damir Jelić
de5a02b02a
matrix-sdk: Initial import of the rust-sdk crypto layer.
2021-02-17 16:21:57 +01:00
Benoit Marty
fade21de57
Merge branch 'develop' into feature/bma/jitsi_in_timeline
2021-02-08 17:43:49 +01:00
Benoit Marty
eecb789603
Merge pull request #2765 from vector-im/feature/bma/big_e2e_rooms
...
[DANGEROUS PR] Properly delete all objects from Realm, avoid orphaned
2021-02-08 15:44:43 +01:00