Commit Graph

  • 3726492cf9 crypto: Improve some log lines Damir Jelić 2021-08-02 07:40:31 +02:00
  • bc8c2752e4 crypto: Store newly created Olm sessions immediately Damir Jelić 2021-08-02 07:25:10 +02:00
  • d27a08bc91 crypto: Fix a comment in the attachment encryption logic Damir Jelić 2021-08-02 07:23:00 +02:00
  • 5192feb836 crypto: Add support to request secrets Damir Jelić 2021-07-30 11:27:49 +02:00
  • a916288d03 crypto: Support responding to secret requests Damir Jelić 2021-07-29 09:30:13 +02:00
  • 96e26651bc crypto: Bump the olm-rs version Damir Jelić 2021-07-19 13:18:25 +02:00
  • 725fd817c2 Merge branch 'ruma-0.3' Damir Jelić 2021-08-12 15:22:21 +02:00
  • 79dd53639b Merge branch 'set-tag' Damir Jelić 2021-08-12 15:06:26 +02:00
  • 578ddd2698 Upgrade to ruma 0.3.0 Jonas Platte 2021-08-12 09:41:05 +02:00
  • e175ab79c7 matrix-sdk: Add helpers for room tags Emelie 2021-08-09 13:38:27 +02:00
  • 937d0aca79 appservice: Support appservice located on sub path Johannes Becker 2021-08-04 11:04:51 +02:00
  • 0bd438e617 Fix clippy warnings stoically 2021-08-05 22:48:05 +02:00
  • 1fd1570e07 Merge branch 'wip/haeckerfelix/room-event' Damir Jelić 2021-07-29 09:37:31 +02:00
  • 91e9a5f9f3 Add new RoomEvent type, try to decrypt event Felix Häcker 2021-07-28 19:49:41 +02:00
  • aa5f532f86 Merge branch 'master' into room-state-getters Damir Jelić 2021-07-27 11:18:29 +02:00
  • c499d2e465 matris-sdk: Test getting state events out of the store Damir Jelić 2021-07-27 10:22:11 +02:00
  • 3d734a120d Merge branch 'hoist-deserialize-fix' Damir Jelić 2021-07-26 16:16:08 +02:00
  • 05eeba067c base: Add docs to the newly public hoist and deserialize method Damir Jelić 2021-07-26 15:55:44 +02:00
  • 778867e3ef crypto: Test that edits get properly decrypted Damir Jelić 2021-07-26 15:28:17 +02:00
  • 4432be48e0 crypto: Fix a broken doc link Damir Jelić 2021-07-26 11:47:53 +02:00
  • f3620e7072 room: Add event() method to retrieve a room event Felix Häcker 2021-07-25 20:51:46 +02:00
  • 46f9c292ab crypto: Streamline how we update one-time key counts Damir Jelić 2021-07-22 16:02:32 +02:00
  • e919a82b2c Merge branch 'verification-improvements' Damir Jelić 2021-07-19 14:31:31 +02:00
  • 3a8ff2f6b4 matrix-sdk: Allow the key import error to be dead under WASM Damir Jelić 2021-07-19 11:19:14 +02:00
  • 26310def0a crypto: Silence a couple of clippy warnings Damir Jelić 2021-07-19 10:49:22 +02:00
  • 24377a45ff matrix-sdk: Add methods to request verification for devices Damir Jelić 2021-07-19 10:34:34 +02:00
  • 5566886f20 crypto: Add public methods to request verifications with devices Damir Jelić 2021-07-19 10:26:39 +02:00
  • 8f03679935 matrix-sdk: Add more getters to the high level verification structs Damir Jelić 2021-07-19 09:59:08 +02:00
  • 0053d2a874 crypto: Don't send cancellations for passive verification requests Damir Jelić 2021-07-19 09:48:22 +02:00
  • 55a9e6836d crypto: Introduce a CancelInfo struct Damir Jelić 2021-07-19 09:45:47 +02:00
  • cf30c42563 crypto: Correctly remember our chosen SAS methods Damir Jelić 2021-07-19 09:43:35 +02:00
  • ff8089912e crypto: Only send cancellations to other devices if we're the requester Damir Jelić 2021-07-19 09:36:21 +02:00
  • 909cd42ac1 crypto: Cancel the verification request for to-device Sas verifications Damir Jelić 2021-07-19 09:32:48 +02:00
  • 7433003ffa matrix-sdk: Don't panic when importing invalid key exports Damir Jelić 2021-07-19 09:21:28 +02:00
  • ead91a1e6b crypto: Send cancellations if the other device picks up over to-device Damir Jelić 2021-07-12 18:12:02 +02:00
  • b53518d1b8 crypto: Improve a log line Damir Jelić 2021-07-09 17:05:23 +02:00
  • 71c89c2670 crypto: Time out verification requests as well Damir Jelić 2021-07-09 17:01:35 +02:00
  • cca73b2622 crypto: Update the SAS event timeout when we receive events Damir Jelić 2021-07-09 16:13:30 +02:00
  • 7644ceea8a crypto: Make sure we don't deadlock when we cancel the verification request Damir Jelić 2021-07-09 14:31:54 +02:00
  • b0e8f12426 crypto: Cancel the verification request if the child flow gets cancelled Damir Jelić 2021-07-09 13:53:47 +02:00
  • 4e5cc03673 crypto: Only go into a done verification request if we're in the correct state Damir Jelić 2021-07-09 11:50:12 +02:00
  • 76d57baa11 crypto: Add the verification to the cache after we scan a QR code Damir Jelić 2021-07-09 11:40:21 +02:00
  • 5c9840daf8 crypto: Return a request when we start QR code verification instead of the content Damir Jelić 2021-07-09 11:39:25 +02:00
  • ae37e6ec9d crypto: Add a state getter where we scanned the QR code Damir Jelić 2021-07-09 11:38:10 +02:00
  • c5df7c5356 crypto: Add methods to request verification from users Damir Jelić 2021-07-08 12:30:30 +02:00
  • 27ad1f42da use hoist_and_deserialize for state events Sorunome 2021-07-03 12:00:13 +02:00
  • 69225ad00b Use rustdoc-map to link to external crates in master docs Jonas Platte 2021-07-02 18:05:34 +02:00
  • db0843a47a crypto: Don't panic if we don't have the keys to generate a QR code Damir Jelić 2021-07-01 10:27:45 +02:00
  • 9052843acb crypto: Add another SAS state so we know when both parties accepted Damir Jelić 2021-06-29 09:16:22 +02:00
  • 113587247e crypto: Notify our users that a verification timed out on our end Damir Jelić 2021-06-28 16:30:41 +02:00
  • ee6b804804 crypto: Allow QR code verifications to get into the cancelled state as well. Damir Jelić 2021-06-28 15:28:30 +02:00
  • 63659c9604 crypto: Fix verification requests getting cancelled Damir Jelić 2021-06-28 15:27:01 +02:00
  • 100a936f1b crypto: Add a method to check if the scanning has been confirmed Damir Jelić 2021-06-28 09:53:56 +02:00
  • 80a30bcdd6 crypto: Add all the common accessors to the qr code verification Damir Jelić 2021-06-25 17:55:39 +02:00
  • 728d298810 crypto: Add a getter for the room id for the SAS verifications Damir Jelić 2021-06-25 12:56:30 +02:00
  • af084528c8 crypto: Remember who cancelled the verification Damir Jelić 2021-06-25 12:54:00 +02:00
  • d4e80883dc crypto: Propagate the we_started info to the SAS verification Damir Jelić 2021-06-25 12:51:45 +02:00
  • 55690ddd54 crypto: Allow canceling a SAS verification with a specific cancel code Damir Jelić 2021-06-24 12:14:09 +02:00
  • 9a685d685c crypto: Add a couple more getters for the SAS verification Damir Jelić 2021-06-24 12:13:06 +02:00
  • c78406ceb9 crypto: Clean up the method to check if a device is verified. Damir Jelić 2021-06-24 12:12:13 +02:00
  • f454d407af appservice: Drop actix Johannes Becker 2021-06-29 12:09:55 +02:00
  • df71de5af2 crypto: Store key::verification::start::SasV1Content Jonas Platte 2021-06-25 12:04:20 +02:00
  • 52fd551890 appservice: Reexport ruma entirely Jonas Platte 2021-06-23 15:01:52 +02:00
  • 4d5768111d Simplify ruma identifier imports Jonas Platte 2021-06-23 14:48:55 +02:00
  • aabda60e9f Fix unused import warnings for wasm Jonas Platte 2021-06-23 14:10:23 +02:00
  • 089ab20e7c Re-format wasm_command_bot Jonas Platte 2021-06-23 14:04:10 +02:00
  • 6e29251886 Remove matrix_sdk_base::Error re-export Jonas Platte 2021-06-23 12:21:51 +02:00
  • 4a7010bab1 Reexport independent external crates entirely Jonas Platte 2021-06-23 12:06:28 +02:00
  • b181125e6f Remove nesting of matrix_sdk_base::Error in matrix_sdk::Error Jonas Platte 2021-06-23 11:56:59 +02:00
  • c4e4830f32 Add missing doc(cfg) attrs Jonas Platte 2021-06-23 11:52:19 +02:00
  • b95ebe444e matrix-sdk: Bump our versions 0.3.0 Damir Jelić 2021-06-22 14:57:46 +02:00
  • e7c7b63b6e qrcode: Add a readme Damir Jelić 2021-06-22 14:20:25 +02:00
  • cba22ae3b2 Merge branch 'upgrade-deps' Damir Jelić 2021-06-21 20:31:57 +02:00
  • 57b2f6ad22 matrix-sdk: Switch to a release of ruma Damir Jelić 2021-06-21 19:53:26 +02:00
  • 8f1d8eeca2 Merge branch '244-room-history' Damir Jelić 2021-06-21 17:33:40 +02:00
  • 513fbd8900 crypto: Manually implement Debug for attachment encryptors/decryptors Damir Jelić 2021-06-21 17:29:46 +02:00
  • 17097f4d42 matrix-sdk: Upgrade our deps Damir Jelić 2021-06-21 16:42:38 +02:00
  • 58369fe7d0 matrix-sdk: (fix) use macro for matching in are_events_visible SaurusXI 2021-06-21 20:14:40 +05:30
  • 43e213fd67 matrix-sdk: Update ruma Jonas Platte 2021-06-20 01:35:28 +02:00
  • ae5be67322 matrix-sdk: (fix) return Ok(()) in ensure_members when returning early SaurusXI 2021-06-21 18:28:11 +05:30
  • b984fcca0c matrix-sdk: (fix) correct the history visibility states that allow us to view events in are_events_visible SaurusXI 2021-06-21 18:06:55 +05:30
  • bdd35206e8 event_handler: Add AnySyncMessageEvent::Reaction Felix Häcker 2021-06-20 17:04:31 +02:00
  • 0e84349d05 matrix-sdk: add event visibility check to ensure_members SaurusXI 2021-06-20 12:30:12 +05:30
  • 092ca90403 matrix-sdk: add method to check room's event visibility SaurusXI 2021-06-20 12:24:40 +05:30
  • 4cc7237db3 remove getting every state event and add getters to room Fisher Darling 2021-06-17 23:10:31 -06:00
  • 0fb3dedd1c client: Fix compilation when the encryption feature is disabled Damir Jelić 2021-06-17 12:35:37 +02:00
  • 3cf843d24f matrix-sdk: Rework the public API for answering verifications Damir Jelić 2021-06-17 12:17:11 +02:00
  • baee5b2d11 crytpo: Couple more accessors for the verification request Damir Jelić 2021-06-17 10:06:53 +02:00
  • 34703bc0d6 crypto: Add a method to get all verification requests of a certain user Damir Jelić 2021-06-17 10:03:47 +02:00
  • d212e7df18 crypto: Add some more accessors to the verification requests Damir Jelić 2021-06-15 21:16:01 +02:00
  • f8b09d4537 crypto: Remember who started the verification request Damir Jelić 2021-06-15 21:15:11 +02:00
  • 5d38bc3802 crypto: Scope the verification requests behind the other user id Damir Jelić 2021-06-15 21:14:12 +02:00
  • 58d3b42a60 crypto: Don't allow QR code generation if we or the other can't handle it Damir Jelić 2021-06-14 17:51:13 +02:00
  • b7986a5153 crypto: Add a couple more accessors for the verification request Damir Jelić 2021-06-14 17:50:35 +02:00
  • c547f384bc crypto: Fix the method to transition from a request into a SAS verification Damir Jelić 2021-06-14 17:49:18 +02:00
  • 29bba0b2ca crypto: Allow accepting key request while specifying our supported methods Damir Jelić 2021-06-14 17:44:51 +02:00
  • 80fac4bfa4 cyrpto: Go into passive mode if someone else replies to a request Damir Jelić 2021-06-14 17:32:30 +02:00
  • be53913a16 crypto: Remove the redundant flow id copy Damir Jelić 2021-06-14 17:28:10 +02:00
  • df1fe0ebc4 crypto: Don't return a result when receiving a ready event Damir Jelić 2021-06-14 17:16:40 +02:00
  • 073b91fa62 crypto: Ignore verification requests that are sent by us Damir Jelić 2021-06-14 17:08:31 +02:00