Commit Graph

  • cb08e5a103 crypto: Fix some typos Jonas Platte 2023-11-15 14:00:05 +01:00
  • e43a25a703 Avoid verbose string conversions when logging / printing Jonas Platte 2023-11-15 13:40:49 +01:00
  • ee9af5f501 crypto: Remove redundant tracing event field Jonas Platte 2023-11-15 13:35:20 +01:00
  • f9aeb590e0 crypto: Generalize encryption methods Jonas Platte 2023-11-15 13:11:44 +01:00
  • 2d2eef8b0e crypto: Improve some documentation strings Jonas Platte 2023-11-15 12:56:22 +01:00
  • bfd2a1c445 Upgrade ruma crates to pull in bugfixes Jonas Platte 2023-11-16 10:47:55 +01:00
  • 6e5682d8d2 ffi: Add get_element_call_required_permissions Timo 2023-11-15 12:00:53 +01:00
  • 4a428b4731 Update ruma-events Alfonso Grillo 2023-11-15 10:59:11 +01:00
  • c24830d794 ffi: Add a method to check if MSC 4028 is enabled on the homeserver Mauro 2023-11-15 10:30:23 +01:00
  • 5786b1a631 Update changelog for matrix-sdk-crypto (#2837) Richard van der Hoff 2023-11-10 12:19:40 +00:00
  • 445bf3b02a Add missing "room_id" to test_json::MEMBERS Val Lorentz 2023-11-10 10:35:47 +01:00
  • 71a2d23bf3 Handle missing devices in /keys/claim responses (#2805) Richard van der Hoff 2023-11-09 18:30:10 +00:00
  • 955d611aaa Bump our deps so we pull in the new release of ruma-client-api Damir Jelić 2023-11-09 17:11:41 +01:00
  • 0f4a175a99 Merge pull request #2833 from matrix-org/mauroromito/notification_has_mention Ivan Enderlin 2023-11-09 11:39:33 +01:00
  • b553dbb31c Merge branch 'main' into mauroromito/notification_has_mention Mauro 2023-11-09 11:14:56 +01:00
  • 1abe039582 style: decrease indent in GroupSessionManager::mark_request_as_sent Benjamin Bouvier 2023-11-06 18:36:48 +01:00
  • 6c490b7aec crypto: inline GroupSessionCache::get_with_id into its single callsite Benjamin Bouvier 2023-10-17 18:49:40 +02:00
  • c17acd5fe3 crypto: remove direct usage of GroupSessionCache::sessions_being_shared outside the struct Benjamin Bouvier 2023-10-17 18:25:37 +02:00
  • 8c05d09e4d crypto: remove usage of GroupSessionCache::sessions fields in external users Benjamin Bouvier 2023-10-17 17:55:53 +02:00
  • 72254caf08 sdk: Enable indexeddb in docsrs feature Jonas Platte 2023-11-08 16:47:53 +01:00
  • b232cd37e8 implement has_mentions Mauro Romito 2023-11-08 17:53:06 +01:00
  • 6baf092bc8 sdk: Exclude query parameters from logging Jonas Platte 2023-11-08 10:38:42 +01:00
  • c109119b35 sdk: Clean up http_client logging Jonas Platte 2023-11-08 09:11:23 +01:00
  • 8bce5e2416 oidc: add custom hex display to SessionHash Benjamin Bouvier 2023-11-07 16:13:37 +01:00
  • a03b29ac70 oidc(style): avoid qualifying module name when not needed Benjamin Bouvier 2023-11-07 16:02:39 +01:00
  • c7f7941734 oidc: use hex logging for the hashed oidc tokens Benjamin Bouvier 2023-11-06 18:51:04 +01:00
  • 8895ce40d1 Add test for PaginationOptions::until_num_items Kévin Commaille 2023-11-07 12:21:48 +01:00
  • edf32e8941 Store back-pagination tokens in same order as timeline Kévin Commaille 2023-11-07 12:11:18 +01:00
  • 73ddd34cb1 Make several requests if the back-pagination token is not updated Kévin Commaille 2023-11-07 11:54:56 +01:00
  • 0916c93641 ui: Update back-pagination token with the first or last event added Kévin Commaille 2023-11-07 10:44:27 +01:00
  • 8a65e32e7e ui: Update back-pagination token even if chunk is empty or event fails to deserialize Kévin Commaille 2023-11-03 14:34:40 +01:00
  • 91c4bc0b3e Upgrade tracing-opentelemetry Jonas Platte 2023-11-06 13:53:06 +01:00
  • 6f710063b5 Upgrade mas-oidc-client Jonas Platte 2023-11-06 13:52:24 +01:00
  • e788a6b099 ffi: Simplify Drop implementation for Client Jonas Platte 2023-11-06 14:03:17 +01:00
  • 8c1baf6ba8 crypto-ffi: Simplify ManuallyDrop usage Jonas Platte 2023-11-06 14:01:22 +01:00
  • 99032511aa Order the changelog, new entries at the top Damir Jelić 2023-11-06 14:58:26 +01:00
  • 645bbd67df Remove a unused error type Damir Jelić 2023-11-04 16:13:25 +01:00
  • 26ede608b0 Add a method which checks if a backup decryption key matches a backup info Damir Jelić 2023-11-04 16:12:56 +01:00
  • 554aa0404a Add a higher level method to decrypt backed up room keys Damir Jelić 2023-11-04 16:12:36 +01:00
  • 3438e7de9b Add a higher level method to sign backup versions (#2819) Damir Jelić 2023-11-06 13:50:51 +01:00
  • 44bb9a3d8f Add a method to create an ExportedRoomKey from a BackedUpRoomKey Damir Jelić 2023-10-03 13:19:31 +02:00
  • bc5b190509 Add a method to get the RoomKeyBackupInfo to the BackupDecryptionKey Damir Jelić 2023-10-03 13:18:16 +02:00
  • 2e20f00d99 Add an example for the secret storage support Damir Jelić 2023-09-26 12:57:05 +02:00
  • 760053b15d Add a test for the secret storage support in the main crate Damir Jelić 2023-09-26 12:56:34 +02:00
  • e599fa1ccf Add secret storage support to the main SDK crate Damir Jelić 2023-09-26 12:56:10 +02:00
  • c7fbfd4db8 ffi: Add MediaFileHandle::persist Jonas Platte 2023-11-02 17:09:51 +01:00
  • ad392a1977 sdk: Add MediaFileHandle::persist Jonas Platte 2023-11-02 17:08:40 +01:00
  • 57136247bf ffi: Add use_cache parameter to get_media_file Jonas Platte 2023-11-02 16:51:52 +01:00
  • e5b06bd6d8 Enable backups in the crypto crate by default Damir Jelić 2023-09-29 12:59:55 +02:00
  • beb01eacfa fixup! Use the better Signatures type in the MegolmV1BackupKey type Damir Jelić 2023-11-03 16:24:43 +01:00
  • 1e9fab1e4e Use the better Signatures type in the MegolmV1BackupKey type Damir Jelić 2023-10-03 13:17:49 +02:00
  • 1be7fab4fd ffi: have the (ffi) NotificationClient keep the (ffi) Client alive Benjamin Bouvier 2023-11-03 16:36:27 +01:00
  • ad5761bfb5 fix(ffi): don't leak Client instances Benjamin Bouvier 2023-11-03 12:54:58 +01:00
  • efb72063ac Add a backup specific method to import room keys Damir Jelić 2023-10-03 13:16:38 +02:00
  • 9ef6103912 Insert strategic Box::pin to reduce async stack size Jonas Platte 2023-11-03 10:43:31 +01:00
  • 71c6b98d6a crypto: Box inner field of Account Jonas Platte 2023-11-03 10:28:46 +01:00
  • dc86835ae2 base: Box large RoomInfo fields Jonas Platte 2023-11-03 09:52:52 +01:00
  • ab4c524212 crypto(perf): don't hold the cache lock while waiting on a user key query (#2806) Benjamin Bouvier 2023-11-03 11:36:54 +01:00
  • c2f422209f Review comment: process failed devices together Richard van der Hoff 2023-11-02 15:48:12 +00:00
  • d90c623375 Add a test for devices with no key map Richard van der Hoff 2023-11-01 16:21:47 +00:00
  • abd6779210 Inline OlmMachine::receive_keys_claim_response Richard van der Hoff 2023-10-31 12:35:41 +00:00
  • d48c27dc86 Remove redundant key_id arg on create_session test helper Richard van der Hoff 2023-10-31 17:26:12 +00:00
  • 303417eae2 Factor out SessionManager::create_sessions Richard van der Hoff 2023-10-31 17:17:04 +00:00
  • 017d72e80f Hoist check for missing OTKs to SessionManager Richard van der Hoff 2023-10-31 14:09:53 +00:00
  • d7f6231acd Add perParticipantE2EE to element call url. (#2807) Timo 2023-11-03 10:42:50 +01:00
  • 6a27fc2e04 Upgrade uniffi Marco Romano 2023-11-03 10:19:20 +01:00
  • 3481cde1dc Fix unquoted strings in tracing fields Jonas Platte 2023-10-31 16:25:29 +01:00
  • d821d611ba sdk: Clean up logging in sliding_sync Jonas Platte 2023-10-31 16:07:44 +01:00
  • 4485abbfdf Replace all two uses of async-std with equivalent tokio functionality Jonas Platte 2023-11-01 12:25:30 +01:00
  • 2d19c7ad65 crypto: Use Option::map in UsersForKeyQuery::maybe_register_waiting_task Jonas Platte 2023-11-01 12:20:09 +01:00
  • 1692460b30 Simplify dependency specifications for tokio Jonas Platte 2023-11-01 12:17:14 +01:00
  • 250d63c6da fix: change the event_type after encrypting Benjamin Bouvier 2023-10-31 18:35:17 +01:00
  • 0a33642851 widget: Change content to RawValue representation Jonas Platte 2023-10-31 13:18:18 +01:00
  • 64c9fa5542 sdk: Allow different raw JSON types for send_raw, send_state_event_raw Jonas Platte 2023-10-31 13:11:05 +01:00
  • d042bcce04 crypto: Optimize OutboundGroupSession::encrypt Jonas Platte 2023-10-31 12:57:46 +01:00
  • 7d52322687 crypto: Update raw encryption methods to take &Raw content Jonas Platte 2023-10-31 12:45:42 +01:00
  • b797635255 crypto: Restrict visibility of internal types Jonas Platte 2023-10-31 12:32:16 +01:00
  • d9845c1658 crypto: Put event type before content for raw encryption methods Jonas Platte 2023-10-31 11:40:05 +01:00
  • 4428b525ea widget: Implement limits for requests Daniel Abramov 2023-11-02 15:56:51 +01:00
  • b67ca2c123 ci: Increase log level for coverage job Jonas Platte 2023-11-02 12:13:02 +01:00
  • 7be84ca71a test: Deduplicate tracing_subscriber initialization Jonas Platte 2023-11-02 11:31:22 +01:00
  • 9956b56a2c test: Remove unused helpers feature from integration testing crate Jonas Platte 2023-11-02 11:16:25 +01:00
  • afcc7022a2 Exclude remaining Debug impls from coverage reporting Jonas Platte 2023-11-02 11:09:25 +01:00
  • 8de33f68f3 integration tests: randomize user names better Benjamin Bouvier 2023-10-31 20:19:13 +01:00
  • 2efb09907b Add a minimal integration test that sends a message in an encrypted room (#2799) Damir Jelić 2023-10-31 19:45:18 +01:00
  • 91e7f2f722 sdk: Add changes to send-event API to changelog Jonas Platte 2023-10-31 12:22:27 +01:00
  • f6501e585a crypto: put the enabling of backup and recovery in the background (#2795) 0.7.0-recovery-alpha Benjamin Bouvier 2023-10-31 12:11:44 +01:00
  • 0aed05a7d4 crypto: make sure OIDC is properly set up before sending any request (#2794) Benjamin Bouvier 2023-10-31 10:44:50 +01:00
  • 0f722f6eb8 Display the recovery state in the emoji example Damir Jelić 2023-10-27 10:43:46 +02:00
  • ea94975adc Add a logout method to the client Damir Jelić 2023-10-25 14:15:28 +02:00
  • 6d69a19524 Add an example for the recovery stuff Damir Jelić 2023-10-22 19:24:44 +02:00
  • 73fe6603ab Expose the recovery thing in the bindings Damir Jelić 2023-10-22 16:53:40 +02:00
  • e6a15831c3 Recovery support Damir Jelić 2023-10-22 16:36:11 +02:00
  • 2ad554a66a Add an example for the room key backup support Damir Jelić 2023-10-22 14:18:11 +02:00
  • 1642ac7934 Test that we can decrypt after importing the room keys from backup Damir Jelić 2023-10-30 14:39:59 +01:00
  • d03277a0bb More tests for the backup support Damir Jelić 2023-10-30 16:36:05 +01:00
  • 816e3f5ee5 Add a hack so the timeline retries to decrypt if we receive room keys from backup Damir Jelić 2023-10-27 12:04:45 +02:00
  • caf27caca0 Fetch the backup recovery key when we import all known secrets Damir Jelić 2023-10-22 15:11:13 +02:00
  • 8453495c69 Add client tasks for background tasks in the client Damir Jelić 2023-10-22 13:34:46 +02:00
  • 747c00c265 Try to resume backups if we restore the client Damir Jelić 2023-10-22 15:10:40 +02:00