Commit graph

20 commits

Author SHA1 Message Date
Damir Jelić
c057d6c6ad crypto: Add a method to remove devices from our DeviceStore. 2020-04-21 09:45:20 +02:00
Damir Jelić
64238b70a0 crytpo: Add test for the memory crypto store. 2020-04-16 11:55:16 +02:00
Damir Jelić
471d27892c crypto: Make the return values of add methods in the store consistent with a hashset. 2020-04-16 11:05:35 +02:00
Damir Jelić
514ced1243 crypto: Don't add the same session twice to the memory session store. 2020-04-16 10:10:18 +02:00
Damir Jelić
aeb93e19e2 crypto: Test our in-memory device store. 2020-04-15 17:51:51 +02:00
Damir Jelić
af73ebdf09 crypto: Add some tests to our in-memory stores. 2020-04-15 15:32:58 +02:00
Damir Jelić
25e60d398b crypto: Move the session mutex into the Session struct. 2020-04-14 14:05:18 +02:00
Damir Jelić
a4d41378d4 crypto: Move the inbound group session lock into the session struct. 2020-04-10 16:08:47 +02:00
Damir Jelić
b4de95185d device: Change to the higher level ruma types for device ids. 2020-04-09 16:22:25 +02:00
Devin R
eff322c0c5 crypto compiles, tests pass 2020-04-03 11:00:37 -04:00
Damir Jelić
12dc5212e3 rust-sdk: Remove a bunch of unused imports and unused variables. 2020-04-03 12:34:05 +02:00
Damir Jelić
2dd84517b9 crypto: Expose the key-claiming methods in the clients. 2020-04-03 10:27:30 +02:00
Damir Jelić
8d487ac097 crypto: Allow the device store to be cloned. 2020-04-02 17:27:39 +02:00
Damir Jelić
913cc374d0 crypto: Calculate the deleted devices in a key query. 2020-04-02 14:52:15 +02:00
Damir Jelić
559a5847bb crypto: Implement group session loading for the sqlite store. 2020-03-31 16:22:45 +02:00
Damir Jelić
ceeb685e1a crypto: Add the MemoryStore back. 2020-03-30 17:07:36 +02:00
Damir Jelić
e4dcca550c crypto: Move the sessions cache into the cryptostore. 2020-03-27 12:09:54 +01:00
Damir Jelić
abe13d7a2d crypto: Make the session stores thread safe. 2020-03-26 11:22:40 +01:00
Damir Jelić
ae4d90057a crypto: Wrap inbound group sessions. 2020-03-25 11:32:40 +01:00
Damir Jelić
d4f0799e6c crypto: Create inbound sessions from room key events. 2020-03-24 17:25:01 +01:00