Commit Graph

  • 5d6c4852b1 fix media content test Benjamin Kampmann 2022-04-12 19:37:43 +02:00
  • 64e0356756 implementing encrypted keys Benjamin Kampmann 2022-04-12 19:17:49 +02:00
  • b611aa2503 remove store key feature and references Benjamin Kampmann 2022-04-12 16:58:56 +02:00
  • 1cdde23bc4 replace storeky with storecipher in wasm Benjamin Kampmann 2022-04-12 16:50:58 +02:00
  • b3c8f80b6e expose internal functionality for wasm-based storage Benjamin Kampmann 2022-04-12 16:50:44 +02:00
  • 35f598a095 fix(sdk): Change the default guest_access state to Forbidden Jonas Platte 2022-04-11 18:23:50 +02:00
  • ad538f3f28 Upgrade Ruma Jonas Platte 2022-04-11 17:22:23 +02:00
  • 073d9db29f chore(crypto): Remove redundant match arms Jonas Platte 2022-04-06 11:10:47 +02:00
  • cebe7bee92 adding encrypted tests for indexeddb store Benjamin Kampmann 2022-04-12 13:11:59 +02:00
  • 7bd0f2c50c chore(sled): Fix a clippy warning Damir Jelić 2022-04-12 13:06:17 +02:00
  • fb8f123616 fixing remaining key lookup Benjamin Kampmann 2022-04-12 12:44:34 +02:00
  • 87632e7ead chore(crypto): Update vodozemac Damir Jelić 2022-04-12 12:37:56 +02:00
  • 88be0ee9c1 fix user id streams Benjamin Kampmann 2022-04-12 12:24:11 +02:00
  • 000be73e80 making tests more explicit Benjamin Kampmann 2022-04-11 23:47:20 +02:00
  • 551711261d integration tests for encrypted version Benjamin Kampmann 2022-04-11 22:49:09 +02:00
  • 918d95a672 first batch of data for testing encrypted sled store Benjamin Kampmann 2022-04-11 22:11:14 +02:00
  • f79e6b87e2 use result Benjamin Kampmann 2022-04-11 20:42:35 +02:00
  • 529d1e0117 removing store key from sled store - for values Benjamin Kampmann 2022-04-11 13:52:08 +02:00
  • 0dafd8cd65 chore: Update all unit test module names to the conventional 'tests' Jonas Platte 2022-04-08 14:35:54 +02:00
  • 1dbb0226ad feat(sdk): Check server versions after creating the Client Jonas Platte 2022-04-08 14:16:55 +02:00
  • 05826de639 fix(crypto): Box the RecoveryKey array so moves don't copy the key Damir Jelić 2022-04-05 11:15:28 +02:00
  • 4e05fe9f4a refactor(crypto): Simplify the Signing struct Damir Jelić 2022-04-04 14:13:58 +02:00
  • 26172ded49 ci: Test the WASM example in the CI run Damir Jelić 2022-04-05 14:57:13 +02:00
  • 814d4dcb8b chore(xtask): Check the wasm example when running the wasm tests Damir Jelić 2022-04-05 14:47:24 +02:00
  • b9f415e81e chore(sdk): Fix some clippy lints in the wasm example Damir Jelić 2022-04-05 14:47:01 +02:00
  • 124efe6f67 ci(wasm): Emscripten isn't needed anymore Damir Jelić 2022-04-05 13:45:15 +02:00
  • f2e2976496 fix(sdk): Make the wasm_command_bot example compile and work Damir Jelić 2022-04-05 13:35:44 +02:00
  • 44be0cf12a chore(base): Make fields of RoomInfo and BaseRoomInfo private Benjamin Kampmann 2022-04-05 11:20:12 +02:00
  • 64d9a1f633 docs: Add example to print the room history Benjamin Kampmann 2022-04-04 17:21:14 +02:00
  • 6f9664c9f4 chore(base): Make fields of RoomInfo and BaseRoomInfo private Jonas Platte 2022-04-04 16:35:07 +02:00
  • f1c1b3d319 example: Require sled-state-store for timeline example Julian Sparber 2022-04-04 15:33:04 +02:00
  • 6007aa7056 fix(crypto): Add some missing zeroization calls in the key export logic Damir Jelić 2022-04-04 13:34:13 +02:00
  • acd8ecbd22 feat(sdk): Retrieve account data from room::Common Kévin Commaille 2022-04-04 12:15:12 +02:00
  • eab68131e7 chore: Split auxiliary tools into separate crates Jonas Platte 2022-03-31 14:37:52 +02:00
  • 8807a2abaf Add example to print the room history Julian Sparber 2022-03-31 14:37:38 +02:00
  • e2aab504fb Move sled state inspector into a separate crate Jonas Platte 2022-03-31 11:36:17 +02:00
  • 9567f8f28f Move the crypto benchmarks into a separate crate Jonas Platte 2022-03-31 11:26:58 +02:00
  • 1e09577a8a chore: Make the Verification and OpenStoreError enums non exhaustive Damir Jelić 2022-03-30 13:46:00 +02:00
  • 155abb262b chore(crypto-ffi): Add a wildcard pattern to the store opening Damir Jelić 2022-03-30 12:52:59 +02:00
  • 8782e0068f chore(sdk): Add a wildcard match for the verifcation enum conversion Damir Jelić 2022-03-30 12:48:08 +02:00
  • 66e4ea979c refactor(crypto-ffi): Use a type alias for the encrypted event type Damir Jelić 2022-03-30 11:14:42 +02:00
  • a957a02d5d refactor(crypto-ffi): Use the parse methods to parse identifiers Damir Jelić 2022-03-30 11:10:46 +02:00
  • 8079da7b0a chore(crypto-ffi): Use the the latest matrix-sdk-crypto crate. Damir Jelić 2022-03-24 10:10:53 +01:00
  • 8793efebc7 chore(crypto): Expose the types module publicly Damir Jelić 2022-03-29 10:06:32 +02:00
  • f5d2ea0efa fix(sdk): Use a consistent naming scheme for our features Damir Jelić 2022-03-30 09:52:13 +02:00
  • e720b4d5e3 chore(sdk): Fix a clippy warning for the sso_login feature Damir Jelić 2022-03-29 14:11:14 +02:00
  • d3f4db258f chore(crypto): Remove some dead code mentioning the sled_cryptostore feature Damir Jelić 2022-03-29 13:29:10 +02:00
  • 13d1048d7e fix(sled): Allow the crypto-store to be used without the state-store Damir Jelić 2022-03-29 13:02:01 +02:00
  • d9001409a2 chore(sdk): Remove qrcode from default features Jonas Platte 2022-03-29 13:40:09 +02:00
  • 890c191884 Clean up toml formatting Jonas Platte 2022-03-28 16:09:13 +02:00
  • 8d3441b51b Deduplicate / clean up EncodeKey trait Jonas Platte 2022-03-25 18:10:03 +01:00
  • 1912a63f17 chore(indexeddb): Implement SafeEncode for RoomAccountDataEventType Jonas Platte 2022-03-25 16:47:51 +01:00
  • e4c6040de4 Generalize SafeEncode tuple implementations Jonas Platte 2022-03-25 16:44:40 +01:00
  • b8c7ab9867 fix(indexeddb): Add missing as_encoded_string call Jonas Platte 2022-03-25 16:43:48 +01:00
  • d56d50e96f Use field shorthands in tracing macros Jonas Platte 2022-03-25 16:29:20 +01:00
  • f375d8c141 Move ? in tracing macros away from = Jonas Platte 2022-03-25 16:26:12 +01:00
  • 7f9e1c8799 Remove unnecessary uses of event content enums Jonas Platte 2022-03-25 14:41:51 +01:00
  • ed52cfc43c fix(base): Propagate push rules deserialization errors Jonas Platte 2022-03-25 14:48:43 +01:00
  • 09893651a4 Remove unnecessary allocations Jonas Platte 2022-03-25 14:38:12 +01:00
  • 7e48034cc8 Merge pull request #555 from jsparber/fix_timeline Benjamin Kampmann 2022-03-29 12:26:27 +02:00
  • 8815e77576 chore: Upgrade Ruma Jonas Platte 2022-03-28 18:21:32 +02:00
  • db9b3febd3 Upgrade Ruma Jonas Platte 2022-03-25 13:53:53 +01:00
  • 36d1ba34a9 chore(crypto): Rename the Other key enum variant into Unknown Damir Jelić 2022-03-28 16:50:05 +02:00
  • 105961a78d chore(crypto): Change the expect message for device key serialization Damir Jelić 2022-03-28 16:38:27 +02:00
  • 23040a1bf7 refactor(crypto): Use vodozemac types for the cross signing and device keys Damir Jelić 2022-03-28 13:09:35 +02:00
  • 07066e1c1f store: Make sure that event position in store is contiguous Julian Sparber 2022-03-28 15:50:48 +02:00
  • 4b58017951 chore(crypto): Add umlauts to a copyright holder Damir Jelić 2022-03-28 14:24:38 +02:00
  • 5db5341974 chore(crypto): Use a specialized CrossSigning type Damir Jelić 2022-03-23 14:31:17 +01:00
  • 9a3d097331 chore(crypto): Use a specialized DeviceKeys type Damir Jelić 2022-03-23 10:40:29 +01:00
  • c50b369d72 fix(crypto): Remove some unwraps when creating inbound sessions Damir Jelić 2022-03-28 12:44:16 +02:00
  • 28893ec388 fix(store): Fix sync message order Julian Sparber 2022-03-25 14:47:55 +01:00
  • 6968edd704 feat(crypto): Start uploading fallback keys to the server Damir Jelić 2022-03-22 13:48:47 +01:00
  • f4010b597f feat(crypto): Use a specialized SignedKey type instead of the Ruma type Damir Jelić 2022-03-22 12:14:48 +01:00
  • 2bacbf1b53 feat(crypto): Add a store error variant for breaking database format changes Damir Jelić 2022-03-22 14:48:00 +01:00
  • 0ce74b956c fix(sled): Throw an error if we can't upgrade our database Damir Jelić 2022-03-21 12:28:02 +01:00
  • e2725483e4 refactor(crypto): Make it clear that olm decryption failures are normal Damir Jelić 2022-03-21 11:24:31 +01:00
  • 03990ab19e test(crypto): Improve the device saving test Damir Jelić 2022-03-21 10:33:56 +01:00
  • 8b89023aff feat(indxeddb): Use the new store-cipher to encrypt our values Damir Jelić 2022-03-17 14:47:49 +01:00
  • 75de41bb2e feat(sled): Use the new store cipher to encrypt our keys and values Damir Jelić 2022-03-10 10:08:34 +01:00
  • 54e555f295 refactor(crypto): Don't use getrandom directly, we already use the rand crate Damir Jelić 2022-02-15 11:30:02 +01:00
  • dbb500c4b8 feat(crypto): Switch to vodozemac for the olm/megolm support Damir Jelić 2022-02-11 10:44:15 +01:00
  • 61ca5c7aab fix(base): Make room invitations for previously-left rooms work Damir Jelić 2022-03-24 12:33:55 +01:00
  • ae3b4f6640 Add a failing test for room invitations putting a left room back into invited Jonas Platte 2022-03-24 11:56:07 +01:00
  • 9ff6c1bc16 chore(base): Simplify BaseRoomInfo::handle_state_event Jonas Platte 2022-03-23 13:51:31 +01:00
  • 68a6655cb4 chore(base): Get rid of confusing double-as_ref Jonas Platte 2022-03-23 11:52:58 +01:00
  • ec97c354e2 feat(sdk): Detect invalid .well-known endpoint response Alexandra 2022-03-23 11:57:13 +01:00
  • db079065e4 refactor(sdk): Some cleanup of the HTTP code Jonas Platte 2022-03-23 11:29:12 +01:00
  • cbebf8c4fe Don't import reqwest::Client Jonas Platte 2022-03-23 10:53:49 +01:00
  • 92a532a4ba Inline single-use method HttpClient::send_request Jonas Platte 2022-03-23 10:50:15 +01:00
  • 4601b43651 Remove unnecessary specialized send-request method from HttpClient Jonas Platte 2022-03-23 10:43:14 +01:00
  • 9ebabf818d Chore: Add tracing span to request sending Benjamin Kampmann 2022-03-21 20:45:22 +01:00
  • 68385f0ff7 Add tracing span to request sending Jonas Platte 2022-03-18 14:40:26 +01:00
  • 3b1400b6f8 Merge pull request #539 from matrix-org/jplatte/cleanup Jonas Platte 2022-03-17 14:44:30 +01:00
  • 5b5e13fe2c Remove request field from Client::keys_upload tracing span Jonas Platte 2022-03-17 14:26:28 +01:00
  • 7b8568f5c8 Simplify get_or_upload_filter example Jonas Platte 2022-03-17 14:24:50 +01:00
  • ea3ca1a8ca Remove unnecessary semicolons after if-let expressions Jonas Platte 2022-03-17 14:23:53 +01:00
  • baa869552f Implement Default for SyncSettings in terms of SyncSettings::new Jonas Platte 2022-03-17 14:23:11 +01:00
  • c9c31fa1c2 Simplify SyncSettings::default() Jonas Platte 2022-03-17 14:22:40 +01:00
  • 5ff38eff00 Activate tracing-subscriber's env-filter feature Jonas Platte 2022-03-17 14:22:12 +01:00
  • f9420acdfd Remove unhelpful Client self fields from tracing spans Jonas Platte 2022-03-17 14:21:41 +01:00