Commit Graph

  • 39fc33d37a Merge branch 'ser-deser-session' into master Damir Jelić 2020-10-12 15:36:32 +0200
  • d81a6e6872 cargo fmt Denis Kasak 2020-10-12 15:17:46 +0200
  • 2afc0c7661 Implement BaseClient::get_session to retrieve the login session. Denis Kasak 2020-10-12 15:11:43 +0200
  • f349811020 Add Serialize/Deserialize impls for matrix_sdk::Session. Denis Kasak 2020-10-12 14:54:17 +0200
  • 0ab12fe969 examples: Add some whitespace to the autojoin example. Damir Jelić 2020-10-12 12:50:03 +0200
  • c4ac0d0570 matrix-sdk: example: retry autojoin strct 2020-10-10 15:57:23 +0200
  • d039a39d84 common: Expose the lock guards publicly. Damir Jelić 2020-10-10 12:08:58 +0200
  • 1c008f549c common: Expose the lock guards publicly. Damir Jelić 2020-10-10 12:08:58 +0200
  • bd0ac703a0 crypto: Initial logic for session unwedging. Damir Jelić 2020-10-09 15:39:35 +0200
  • 6d2e9cfc02 crypto: Share the users_for_key_claim map between modules. Damir Jelić 2020-10-09 11:36:31 +0200
  • 661f182382 Merge branch 'master' into crypto-improvements Damir Jelić 2020-10-08 18:28:04 +0200
  • 9ea4835e3e Revert "matrix_sdk examples: set `#![type_length_limit = "1075569"]`" Dominique Martinet 2020-10-08 17:48:57 +0200
  • 2602c36ad0 matrix_sdk_base: save room states after successfully parsed account events Dominique Martinet 2020-10-08 09:06:27 +0200
  • d858940342 matrix_sdk_base: handle response.account_data events Dominique Martinet 2020-10-07 19:03:42 +0200
  • 883183324f matrix_sdk_base: room: add direct_target field Dominique Martinet 2020-10-07 19:02:13 +0200
  • 7d023ebdb9 matrix_sdk examples: set `#![type_length_limit = "1075569"]` Dominique Martinet 2020-10-08 15:25:32 +0200
  • 473e49252e crytpo: Get the session from the list of sessions in a safe manner. Damir Jelić 2020-10-08 15:56:17 +0200
  • d96c9f85a1 crypto: Add doces for the get_missing_sessions method. Damir Jelić 2020-10-08 14:50:35 +0200
  • 279ce0bba0 crypto: Split out the Olm session handling logic into a separate module. Damir Jelić 2020-10-08 14:41:34 +0200
  • da5ef42719 crypto: Log when we invalidate a group session. Damir Jelić 2020-10-08 14:03:01 +0200
  • a4eae1053c matrix_sdk: expose RoomMember Dominique Martinet 2020-10-07 14:23:37 +0200
  • f7039d9a8d matrix_sdk_base: expose RoomMember Dominique Martinet 2020-10-07 14:23:15 +0200
  • 723fdeaa06 crypto: Fix a clippy warning. Damir Jelić 2020-10-08 12:59:10 +0200
  • 19d513e3c0 crypto: Simplify and test the group session invalidation logic. Damir Jelić 2020-10-08 12:40:42 +0200
  • 23ac00c8ec crypto: Initial support for group session invalidation. Damir Jelić 2020-10-08 11:16:02 +0200
  • 4019ebf121 crypto: Fix some clippy warnings. Damir Jelić 2020-10-07 17:56:29 +0200
  • 220ccfb52b matrix-sdk: Fix the arguments docs for sync_with_callback. Damir Jelić 2020-10-07 15:26:44 +0200
  • 9a838abd67 crypto: Log when we're not serving a key request because of a missing session. Damir Jelić 2020-10-07 14:22:13 +0200
  • 17d23eb9e5 matrix-sdk: Add automatic key claiming support. Damir Jelić 2020-10-07 14:07:47 +0200
  • 8ea0035cd0 crypto: Add the automatic key claim users to the key claim request. Damir Jelić 2020-10-07 14:02:50 +0200
  • 06b9c71dbc crypto: Refactor out the key share wait queue. Damir Jelić 2020-10-07 12:42:39 +0200
  • 6a8ac62a51 crypto: Remove an unwrap. Damir Jelić 2020-10-07 11:57:46 +0200
  • 1e894269c8 crypto: Correctly handle the key share without a session and test it. Damir Jelić 2020-10-07 11:42:27 +0200
  • 27c6f30e0f Merge branch 'master' into crypto-improvements Damir Jelić 2020-10-06 16:44:11 +0200
  • bc48674f9f Merge branch 'new-sync-methods' into master Damir Jelić 2020-10-06 16:43:41 +0200
  • e5f0f64405 crypto: Initial scaffolding for key shares for devices that are missing a session. Damir Jelić 2020-10-06 16:38:42 +0200
  • 09f4b07fb7 matrix-sdk: Use a specific version for async-std. Damir Jelić 2020-10-06 15:17:45 +0200
  • 2ffac286ed matrix-sdk: Switch to using an enum for the sync loop callback return value. Damir Jelić 2020-10-06 15:04:43 +0200
  • 83b48fb53c matrix-sdk: Fix the login example. Damir Jelić 2020-10-06 12:41:21 +0200
  • f4137c6bba Merge branch 'master' into crypto-improvements Damir Jelić 2020-10-06 12:23:04 +0200
  • e16b7f9c44 matrix-sdk: Add an example for the login method. Damir Jelić 2020-10-06 12:01:47 +0200
  • 45953a268c matrix-sdk: Mention that the key import/export methods don't work on WASM. Damir Jelić 2020-10-06 11:41:18 +0200
  • 84039ad7aa matrix-sdk: Add links from the login method docs to the restore_login ones. Damir Jelić 2020-10-06 11:40:32 +0200
  • 137fa9619f matrix-sdk: Add the ability to stop the sync loop and rename the sync methods. Damir Jelić 2020-10-06 11:37:29 +0200
  • e3d24f5c31 crypto: Fix some clippy warnings. Damir Jelić 2020-10-01 16:45:13 +0200
  • 02c765f903 crypto: Don't mark outbound group sessions automatically as shared. Damir Jelić 2020-10-01 16:31:24 +0200
  • fc6ff2c78a crytpo: Remove an unneeded map/clone. Damir Jelić 2020-10-01 12:46:09 +0200
  • bcdcdeb259 Merge branch 'master' into crypto-improvements Damir Jelić 2020-10-01 12:21:45 +0200
  • 1d8f01ef11 crypto: Remove the third Device variant. Damir Jelić 2020-10-01 12:15:13 +0200
  • b58d88e0c3 Upgrade ruma Alejandro Domínguez 2020-09-29 17:23:14 +0200
  • c8ca93c924 crytpo: Let the verification machine hold on to a raw CryptoStore. Damir Jelić 2020-10-01 11:17:27 +0200
  • d644af7be9 crypto: Remove an unneeded clone. Damir Jelić 2020-10-01 09:56:22 +0200
  • ff2079da91 crypto: Move the group session handling logic into separate module. Damir Jelić 2020-09-30 15:43:25 +0200
  • 646f18ae18 crypto: Remove an unused import. Damir Jelić 2020-09-29 17:53:11 +0200
  • 2b8d4a21a4 crypto: Connect the key request handling to the main state machine. Damir Jelić 2020-09-29 17:40:06 +0200
  • 78badd9af8 crypto: Use the correct event type when sending out forwarded room keys. Damir Jelić 2020-09-29 17:36:56 +0200
  • 58aef51770 crypto: Remove an unneeded mutable borrow. Damir Jelić 2020-09-29 14:33:07 +0200
  • 8fe1eda169 crypto: Test the full key share flow. Damir Jelić 2020-09-29 14:18:03 +0200
  • 84066d4a76 crypto: Split out the Account into a read only portion and one with effects. Damir Jelić 2020-09-29 12:03:41 +0200
  • e1c220e2f7 crypto: Test a key share cycle. Damir Jelić 2020-09-29 10:24:54 +0200
  • 798656dac5 crypto: Allow the key request machine to access the outbound group sessions. Damir Jelić 2020-09-29 10:09:47 +0200
  • 721c459577 crypto: Collapse an if tree. Damir Jelić 2020-09-28 15:07:57 +0200
  • 23173c4a1e crypto: Test our key sharing decision logic. Damir Jelić 2020-09-28 14:51:57 +0200
  • 4a8c5ebab0 crypto: Return an enum that describes why we won't serve a key share request. Damir Jelić 2020-09-28 14:12:08 +0200
  • e29508938b crypto: More work on the incoming key request handling. Damir Jelić 2020-09-28 13:32:30 +0200
  • a357536ade crypto: Initial scaffolding for incoming key share handling. Damir Jelić 2020-09-28 09:27:16 +0200
  • f3be27921c crypto: Move the device trust state logic into the read only device. Damir Jelić 2020-09-24 12:45:23 +0200
  • 42c4cf2a30 crypto: Test the outgoing requests method instead of accessing the field. Damir Jelić 2020-09-24 12:00:22 +0200
  • c5bece2d58 crypto: Zeroize and remove the session key copies for forwarded room keys. Damir Jelić 2020-09-24 11:18:01 +0200
  • 4662ca2e32 crypto: Refactor the one-time key count update logic. Damir Jelić 2020-09-24 11:16:15 +0200
  • 5a86b067e4 crypto: Add tests for the identity manager. Damir Jelić 2020-09-23 15:45:25 +0200
  • 9a5345ec77 Merge branch 'aledomu-master' into master Damir Jelić 2020-09-23 13:45:44 +0200
  • 7c3e751d6e Merge branch 'crypto-improvements' into master Damir Jelić 2020-09-23 11:07:49 +0200
  • 3070c98d26 Export "unstable-synapse-quirks" feature from ruma Alejandro Domínguez 2020-09-22 21:03:12 +0200
  • 95e906e0dc crypto: Save the account if the one-time key count updates. Damir Jelić 2020-09-18 20:41:14 +0200
  • 2e3d30d7b4 crypto: Move the identity/device management logic into a separate struct. Damir Jelić 2020-09-18 20:39:48 +0200
  • 5b0457dad0 crypto: Remember the users that received the outbound group session. Damir Jelić 2020-09-18 18:55:17 +0200
  • a183584541 crypto: Test that we correctly check the hash when decrypting attachments. Damir Jelić 2020-09-18 17:49:44 +0200
  • 562bb5aee3 crypto: Remove some dead key requests code for now. Damir Jelić 2020-09-18 17:26:56 +0200
  • dea3e4adf4 crypto: Document when a key export may panic. Damir Jelić 2020-09-18 14:04:39 +0200
  • 5d5d5bb141 crypto: Hook up the key requesting to the main state machine. Damir Jelić 2020-09-18 13:50:13 +0200
  • c58cf71be1 crypto: Send out key request cancellations once we receive a key. Damir Jelić 2020-09-18 13:45:00 +0200
  • af4b00195b crypto: Implement the key/value store for the sqlite store. Damir Jelić 2020-09-18 13:42:51 +0200
  • 41529a6bff base: Don't handle the wildcard case for member events anymore. Damir Jelić 2020-09-17 17:31:17 +0200
  • 300b03bd9e crypto: Add more test for the outgoing key requests. Damir Jelić 2020-09-17 17:13:42 +0200
  • a5b195efc7 crypto: Initial tests for the key requests state machine. Damir Jelić 2020-09-17 16:55:33 +0200
  • 692f9baa0e crypto: Add logic to handle outgoing key requests. Damir Jelić 2020-09-17 16:09:08 +0200
  • 6b24d91ed9 crypto: Add an initial version of our key request state machine. Damir Jelić 2020-09-17 14:16:43 +0200
  • 24ce4881c7 crypto: Add a method to save/load arbitrary objects from a CryptoStore. Damir Jelić 2020-09-16 16:03:19 +0200
  • 849934b180 crypto: Use a constant for the attachment encryption version. Damir Jelić 2020-09-16 12:39:23 +0200
  • 428b28a985 matrix-sdk: Increase the type length limit for the wasm example. Damir Jelić 2020-09-16 12:28:42 +0200
  • 95145fae8f matrix-sdk: Remove the example with encrypted uploads. Damir Jelić 2020-09-16 12:09:30 +0200
  • ae894e0ff6 crypto: Finish up the attachment encryption. Damir Jelić 2020-09-16 12:05:44 +0200
  • 86d95518be matrix-sdk: Fix the case where the encryption feature is disabled. Damir Jelić 2020-09-15 19:10:26 +0200
  • c8e459bc55 matrix-sdk: Fix the encryption feature. Damir Jelić 2020-09-15 18:07:00 +0200
  • 4d431b7c9e matrix-sdk: Test the attachment sending paths. Damir Jelić 2020-09-15 18:06:32 +0200
  • 890e6cbc73 crypto: Turn an unwrap into a except. Damir Jelić 2020-09-15 17:18:31 +0200
  • e98960f30b matrix-sdk: Add an image uploading bot to the examples. Damir Jelić 2020-09-15 17:17:28 +0200
  • c500c06e4b matrix-sdk: Add docs and cleanup the media upload methods. Damir Jelić 2020-09-15 17:16:16 +0200
  • 3ac3be501f matrix-sdk: Refactor out the check if a room is encrypted. Damir Jelić 2020-09-15 15:02:59 +0200