Commit Graph

  • fe572017b1 Merge branch 'http-send-trait' into master Damir Jelić 2020-08-11 17:07:34 +0200
  • c4ed5b6cda matrix-sdk: Upgrade our deps. Damir Jelić 2020-08-11 16:54:58 +0200
  • 0d2f8c6d0f crypto: Fix some clippy warnings. Damir Jelić 2020-08-11 16:01:48 +0200
  • fa1a40543c crypto: Add a missing license header to the sas helpers file. Damir Jelić 2020-08-11 15:55:13 +0200
  • 7637e79f2c matrix-sdk: Fix the tarpaulin skip directives. Damir Jelić 2020-08-11 15:49:04 +0200
  • d0a5b86ff3 crypto: Remove our lock around the cryptostore. Damir Jelić 2020-08-11 15:39:50 +0200
  • 707b4c1185 crypto: Put a bunch of crypto store stuff behind atomic references. Damir Jelić 2020-08-11 15:17:33 +0200
  • 9234ac96e1 matrix_sdk: Use our version of the async_trait macro Devin Ragotzy 2020-08-11 09:17:18 -0400
  • 2437a92998 crypto: Don't require the account loading method to borrow self mutably. Damir Jelić 2020-08-11 15:12:15 +0200
  • 947fa08dae crypto: Don't require the load_account to mutably borrow self. Damir Jelić 2020-08-11 15:08:07 +0200
  • 8f4ac3da7f crypto: Change the way we load the devices/sessions in the SqliteStore. Damir Jelić 2020-08-11 14:43:18 +0200
  • 01bcbaf063 crypto: Remove most mutable self borrows from the crypto-store trait. Damir Jelić 2020-08-11 14:34:42 +0200
  • 4770dc636a matrix_sdk_common_macros: Bump syn fixing conflicting deps Devin Ragotzy 2020-08-11 08:08:17 -0400
  • 9294280dc1 matrix_sdk: Add DefaultHttpClient and impl HttpSend Devin Ragotzy 2020-08-11 08:07:45 -0400
  • fba3298162 matrix_sdk: Create HttpSend trait to abstract sending requests Devin Ragotzy 2020-08-11 08:06:43 -0400
  • ac2469d270 crypto: Change the way we check if an user is already tracked. Damir Jelić 2020-08-11 13:45:32 +0200
  • db553b2040 crypto: Fix some clippy warnings. Damir Jelić 2020-08-11 13:38:20 +0200
  • eeb6a811c0 crypto: Make the in-memory stores threadsafe and cloneable. Damir Jelić 2020-08-11 13:18:58 +0200
  • 528483ef0e crypto: Remove the last mutable self borrows in the Olm machine methods. Damir Jelić 2020-08-11 12:22:14 +0200
  • 72168ce084 crypto: Fix the unknown method tests fot the SAS state transitions. Damir Jelić 2020-08-11 11:51:34 +0200
  • 6c85d3e28f crypto: Use TryFrom to check the accepted SAS protocols. Damir Jelić 2020-08-11 11:24:29 +0200
  • d5a853f3da crypto: More SAS tests for all the unknown SAS methods. Damir Jelić 2020-08-11 11:05:22 +0200
  • 8a2d6a4450 tarpaulin: Disable tarpaulin debugging. Damir Jelić 2020-08-11 10:55:10 +0200
  • c15ffb989a crypto: Remove an unused import. Damir Jelić 2020-08-11 09:48:01 +0200
  • 2b78f05aad crypto: More SAS tests. Damir Jelić 2020-08-11 09:28:28 +0200
  • 1f0a96e31d crypto: Disable the SAS timeout test on macOS. Damir Jelić 2020-08-10 17:26:15 +0200
  • 6593cce778 crypto: Simplify the Instant substraction. Damir Jelić 2020-08-10 16:53:15 +0200
  • d7bcf42a2b crypto: False alarm with the deadlock we just didn't use the right method. Damir Jelić 2020-08-10 16:18:20 +0200
  • 18b655f829 crypto: Test the cancellation of timed out verifications. Damir Jelić 2020-08-10 15:55:08 +0200
  • e2e70d6583 crypto: Cancel timed out verifications. Damir Jelić 2020-08-10 15:24:22 +0200
  • c305b5052b matrix-sdk: Don't allow dead code anymore. Damir Jelić 2020-08-10 15:21:32 +0200
  • 6f4d2022fd Merge branch 'master' into sas-timeout Damir Jelić 2020-08-10 15:00:08 +0200
  • ef5201cf35 Merge branch 'up-ruma' into master Damir Jelić 2020-08-10 14:58:47 +0200
  • 7bcdc2a3b6 Merge branch 'master' into sas-timeout Damir Jelić 2020-08-10 14:57:32 +0200
  • 7eeff64059 crypto: Cancel timed out events on the state transitions. Damir Jelić 2020-08-10 14:29:38 +0200
  • 9c4229dc57 typoes Matthew Hodgson 2020-08-10 13:15:49 +0100
  • 6c4e2fa508 crypto: Remove mutable borrows in the tests. Damir Jelić 2020-08-10 14:15:47 +0200
  • d5cd608045 base: Remove some unnecessary mutable borrows of the olm machine. Damir Jelić 2020-08-10 14:11:55 +0200
  • d83fc971ce
    Update ruma Jonas Platte 2020-08-10 12:39:00 +0200
  • d96142b8cb Merge branch 'master' into sas-timeout Damir Jelić 2020-08-10 13:48:02 +0200
  • cd5d5da06a matrix-sdk: Use the upstream git repo for olm-rs. Damir Jelić 2020-08-10 13:43:18 +0200
  • 87bcba3561 crypto: Add timestamps to the SAS struct so we can check if it timed out. Damir Jelić 2020-08-10 13:30:12 +0200
  • 81e9a7cefc crypto: Pass a String when setting the other SAS pubkey. Damir Jelić 2020-08-10 10:18:57 +0200
  • 3ddb2199d2 Merge branch 'fix-http-headers' into master Damir Jelić 2020-08-09 10:25:15 +0200
  • 4abab73462
    Update reqwest to a git dependency Jonas Platte 2020-08-08 16:15:22 +0200
  • 17fd85d687 matrix-sdk: Test that we're passing the auth token in the headers. Damir Jelić 2020-08-08 15:00:28 +0200
  • 279e88d9f9
    Fix handling of headers in HttpClient Jonas Platte 2020-08-08 12:20:44 +0200
  • d016ce1848
    Use identifier macros in tests Jonas Platte 2020-08-05 00:56:26 +0200
  • 591388d13e
    Upgrade ruma Jonas Platte 2020-07-31 20:35:27 +0200
  • a3b4cab22e matrix_sdk_crypto: Fix clippy warnings add wasm emscripten to .gitignore Devin Ragotzy 2020-08-04 17:42:24 -0400
  • ffdb9c4a79 Fix failing wasm test and clippy warnings for wasm Devin Ragotzy 2020-08-04 17:39:25 -0400
  • cb8d5ce8fb Rename CustomOrRawEvent -> CustomEvent and use raw json when failed Devin Ragotzy 2020-08-04 15:08:13 -0400
  • c10120602a Add test actually testing a correct message edit event Devin Ragotzy 2020-08-03 19:56:15 -0400
  • 47690bd268 Bump ruma and fix failing unrecognized_event test Devin Ragotzy 2020-08-03 19:53:44 -0400
  • 807432b31f crypto: Calculate the correct extra info when generating emojis. Damir Jelić 2020-08-04 13:54:00 +0200
  • 69d2a00759 crypto: Add a TODO about SAS timing out. Damir Jelić 2020-08-04 12:56:55 +0200
  • be01ee2de0 crypto: Cancel the verification if we find a MAC mismatch. Damir Jelić 2020-08-04 12:31:56 +0200
  • 408fe5da4b crypto: Check that the other device had a valid MAC. Damir Jelić 2020-08-04 12:14:19 +0200
  • 28a7831ffd matrix-sdk: Fix the import for the no-encryption case. Damir Jelić 2020-08-04 11:41:20 +0200
  • 2bf8c99dfe Merge branch 'master' into sas-verification Damir Jelić 2020-08-04 11:23:24 +0200
  • 77f0676a58 matrix-sdk: The emoji example requires the encryption feature. Damir Jelić 2020-08-04 10:49:08 +0200
  • e7b2a54e46 matrix-sdk: Add a tarpaulin config. Damir Jelić 2020-08-04 10:40:13 +0200
  • 33e1601004 matrix_sdk: Fix import error Devin Ragotzy 2020-08-03 20:13:58 -0400
  • 26ec0c6368 crypto: Proptest the emoji/decimal calculation. Damir Jelić 2020-08-03 17:22:44 +0200
  • 9f0fbcccf6 crypto: Remove verification objects that are done or canceled. Damir Jelić 2020-08-03 16:18:35 +0200
  • 01ba94c670 matrix-sdk: Hide the cryptostore error behind a feature flag. Damir Jelić 2020-08-03 15:40:39 +0200
  • e431ba0bf5 crypto: Fix some clippy warnings. Damir Jelić 2020-08-03 15:05:19 +0200
  • a3bb8a0d74 examples: Don't use a proxy for the emoji example. Damir Jelić 2020-08-03 14:59:03 +0200
  • 3245fbb1c9 examples: Clean up the emoji example a bit. Damir Jelić 2020-08-03 14:51:45 +0200
  • f4517c150c crypto: Add more log lines to the SAS code. Damir Jelić 2020-08-03 14:51:04 +0200
  • e37229554b crypto: Make sure that we don't hold on to a mutex guard over an await. Damir Jelić 2020-08-03 14:49:33 +0200
  • df9da7539a crypto: Expose some more SAS info publicly. Damir Jelić 2020-08-03 14:33:15 +0200
  • 1787d2ebe6 crypto: Hook up marking the device as verified. Damir Jelić 2020-08-03 12:38:43 +0200
  • faadb4953b Revert "common: Switch to the ruma git repo." Damir Jelić 2020-08-03 10:22:17 +0200
  • 021193087d common: Switch to the ruma git repo. Damir Jelić 2020-08-03 10:04:09 +0200
  • 0ac2b84c02 Unify import style across workspace Devin Ragotzy 2020-08-02 08:05:43 -0400
  • 230b2a229f matrix_sdk: Remove clippy allows Devin Ragotzy 2020-07-30 20:05:49 -0400
  • ed1f12ce37 Run cargo fmt with merge-imports true Devin Ragotzy 2020-07-30 19:22:48 -0400
  • 3f83941d57 Merge branch 'master' into sas-verification Damir Jelić 2020-07-31 16:27:52 +0200
  • 91d7a8329e matrix-sdk: Add an example that does SAS verification. Damir Jelić 2020-07-31 15:34:46 +0200
  • 1a40491c0b matrix-sdk: Fix some clippy warnings. Damir Jelić 2020-07-31 15:18:03 +0200
  • 79e661d1d9 sdk-base: Remove MessageWrapper and do not order messages in queue Devin Ragotzy 2020-07-31 09:15:18 -0400
  • dce06d31aa Merge branch 'master' into sas-verification Damir Jelić 2020-07-31 15:14:05 +0200
  • 3472614649 Merge branch 'remove-possibly-redacted-type-alias' into master Damir Jelić 2020-07-31 15:13:23 +0200
  • 7ecd4a035f crypto: Split out the Sas logic into different files. Damir Jelić 2020-07-31 14:54:08 +0200
  • 2ce0765206 Remove confusing type alias for AnyPossiblyRedactedSyncMessageEvent. Denis Kasak 2020-07-31 14:21:00 +0200
  • 108f6d90c9 matrix-sdk-common: Depend on our local Ruma branch. Damir Jelić 2020-07-31 12:29:08 +0200
  • 7ceda2f39c crypto: Update to the latest Ruma changes. Damir Jelić 2020-07-31 12:05:07 +0200
  • e00e94c6c3 Fix input order. Denis Kasak 2020-07-31 11:46:52 +0200
  • a71c7b2964 crypto: Add a method to set the verification state of devices. Damir Jelić 2020-07-30 15:54:56 +0200
  • 30c07b4e08 matrix-sdk: Send out to-device events in the sync_forever() loop. Damir Jelić 2020-07-30 15:53:55 +0200
  • d9fbc18777 crypto: Update to the latest Ruma changes. Damir Jelić 2020-07-30 15:48:13 +0200
  • a58ace70a7 crypto: Fix the SAS MAC calculation KEYIDS -> KEY_IDS. Damir Jelić 2020-07-30 15:45:19 +0200
  • 359c5280d7 Expose `sender` in `PossiblyRedactedExt`. Denis Kasak 2020-07-30 14:40:27 +0200
  • a07767d417 base: Hide the SAS getting method behind the encryption feature. Damir Jelić 2020-07-30 11:50:42 +0200
  • 5a58fdff98 cyrpto: Fix a clippy warning. Damir Jelić 2020-07-29 14:50:39 +0200
  • 5058f09111 matrix-sdk: Remove an incorrect copyright line. Damir Jelić 2020-07-29 14:40:05 +0200
  • 21b0afe72c matrix-sdk: Add a Sas wrapper. Damir Jelić 2020-07-29 14:19:47 +0200
  • a726ebab39 crypto: Allow Sas objects to be canceled. Damir Jelić 2020-07-29 13:53:33 +0200
  • 2b124d98bc matrix-sdk: Pass the rwlock to the http client when doing requests. Damir Jelić 2020-07-29 13:50:01 +0200