Commit Graph

  • a2b80f03d3 move and unify usage of store_key Benjamin Kampmann 2021-11-18 12:58:17 +01:00
  • e60349604d implement custom value Benjamin Kampmann 2021-11-18 12:40:45 +01:00
  • f5ba9a5eea Update BackupMachine documentaton to refer to enable_backup_v1 Andy Balaam 2021-11-18 10:27:37 +00:00
  • e7ec86140b generic tests passing' Benjamin Kampmann 2021-11-17 21:30:12 +01:00
  • 5bba24ce77 activating browser tests Benjamin Kampmann 2021-11-17 18:18:20 +01:00
  • b8af613aef big batch Benjamin Kampmann 2021-11-17 13:08:58 +01:00
  • 2e4d5f25cb feat(crypto): Add a method to get the algorithm of the public backup key Damir Jelić 2021-11-17 12:44:36 +01:00
  • 534e50da57 fix(crypto): Rename the enable_backup method so we can add a v2 one Damir Jelić 2021-11-16 14:56:26 +01:00
  • 1ffa06884a fix(crypto): Rename the decrypt method on the RecoveryKey struct Damir Jelić 2021-11-16 14:07:24 +01:00
  • 670e212d9b docs(crypto): Fill out the docs for the backup related types Damir Jelić 2021-11-15 16:04:52 +01:00
  • 6fc703b4a3 fix(crypto): Fix a bunch of clippy warnings Damir Jelić 2021-11-12 17:51:26 +01:00
  • 33b7062515 fix(crypto): Fix a bunch of typos Damir Jelić 2021-11-12 17:29:44 +01:00
  • a7bbeb7ef5 improvement(crypto): Add tests for the recovery key Damir Jelić 2021-11-12 17:27:34 +01:00
  • 34ec4ac3c9 improvement(crypto): Add tests for the backup machine Damir Jelić 2021-11-12 16:12:48 +01:00
  • 3f227de023 fix(crypto): Fix the backed up room key count in the memory store Damir Jelić 2021-11-12 16:10:40 +01:00
  • a417aa23fa fix(crypto): Load the recovery key from the sled store Damir Jelić 2021-11-12 16:08:36 +01:00
  • f8fdfd1613 fix(crypto): Add a proper exception when creating the Pk decryption object Damir Jelić 2021-11-12 13:07:58 +01:00
  • 1fdd560ff0 fix(crypto): Remove a unneeded clippy attribute Damir Jelić 2021-11-11 11:49:56 +01:00
  • 878969a5c4 docs(crypto): Add some docs for the backup related types Damir Jelić 2021-11-10 14:14:18 +01:00
  • c6d073ebd7 fix(crypto): Remove some dead code Damir Jelić 2021-11-09 19:52:26 +01:00
  • 2b5ae869cd feat(crypto): Gossip the backup recovery key if requested Damir Jelić 2021-11-04 14:34:17 +01:00
  • 2db52eed7c feat(crypto): Request the recovery key when we request secrets Damir Jelić 2021-11-04 14:26:49 +01:00
  • 656edce75a improvement(crypto): Make the backup logging prettier Damir Jelić 2021-11-04 10:10:32 +01:00
  • 4c021dea5e fix(crypto): Correctly reset the backup state of room keys Damir Jelić 2021-11-04 10:09:47 +01:00
  • bbd76dafa0 fix(crypto): Fix a bunch of clippy warnings Damir Jelić 2021-10-29 16:20:35 +02:00
  • 4f2c91d848 feat(crypto): Add a method to decrypt messages using the recovery key Damir Jelić 2021-10-29 15:16:34 +02:00
  • 6f5b6900d6 fix(crypto): Flush when we ugprade the DB Damir Jelić 2021-10-21 16:48:10 +02:00
  • eddc7bd6af feat(crypto): Add a method to check the signature of a backup version Damir Jelić 2021-10-21 13:29:14 +02:00
  • dfef6370b6 feat(crypto): Add a method to verify uploaded backups Damir Jelić 2021-10-20 20:13:38 +02:00
  • b5babdb6c4 fix(crypto): Don't load all room keys when backing up Damir Jelić 2021-10-16 14:37:08 +02:00
  • df53eb00ab fix(crypto): Fix a deadlock when generating the backup request Damir Jelić 2021-10-16 14:32:26 +02:00
  • 63915171fc feat(crypto): Add a method to check if backups are enabled Damir Jelić 2021-10-16 11:39:17 +02:00
  • 4873914d4d feat(crypto): Initial support for server-side backups of room keys Damir Jelić 2021-09-23 15:44:28 +02:00
  • 8a2732ab5d first steps Benjamin Kampmann 2021-11-15 20:05:43 +01:00
  • f069387d58 docs(sdk): Add an example to the restore_login method Damir Jelić 2021-11-15 16:04:22 +01:00
  • 8815c05108 Refactor Joined::send_attachment ftilde 2021-11-11 21:47:54 +01:00
  • dfc2ed7a33 Prefer MediaType::Encrypted if url and file are present ftilde 2021-11-11 21:33:59 +01:00
  • 38a8253aa8 Turn register_event_handler(_context)? examples into proper doctests Jonas Platte 2021-11-12 12:16:29 +01:00
  • 5fed5cdeed Allow adding custom event handler context Jonas Platte 2021-11-11 19:33:25 +01:00
  • df50d59de2 Update signature of AppService::register_event_handler Jonas Platte 2021-11-11 19:28:40 +01:00
  • 1651952903 docs(sdk): Remove a bunch of unwraps from some doc examples Damir Jelić 2021-11-11 16:58:43 +01:00
  • 33a43af20e improvement(crypto): Use a type for the result of the room key import method Damir Jelić 2021-11-11 16:57:31 +01:00
  • 6a66a67454 fix(crypto): Fix the importing of exported room keys Damir Jelić 2021-11-11 15:46:10 +01:00
  • 83b908754e Remove unused dependencies Jonas Platte 2021-11-10 21:43:56 +01:00
  • 02b0ed2b42 Reduce dependencies on futures-* crates Jonas Platte 2021-11-10 20:29:21 +01:00
  • c124cf5b62 Remove unnecessary use of future::ready Jonas Platte 2021-11-10 20:39:03 +01:00
  • dfdf794199 Remove unnecessary use of TryFutureExt Jonas Platte 2021-11-10 20:12:56 +01:00
  • df2c0bd6e9 docs(sdk): Fix a typo in the enable_encryption method Damir Jelić 2021-11-09 19:52:46 +01:00
  • 2e04a3753d Merge branch 'one-time-key-generationf-fix' Damir Jelić 2021-11-09 13:50:08 +01:00
  • e1e864c606 fix(crypto): Save the account if we created a new key upload request Damir Jelić 2021-11-09 12:30:48 +01:00
  • 7f3067553b fix(crypto): Don't generate new one-time keys unless the existing ones are uploaded Damir Jelić 2021-11-09 11:45:20 +01:00
  • 253d6c9af8 matrix-qrcode: Use GenericImage and GenericImageView trait Julian Sparber 2021-11-09 11:19:46 +01:00
  • 1f1ae0059e docs: Remove the now unneeded doc cfg attributes Damir Jelić 2021-11-09 10:43:42 +01:00
  • 05a190ee5a docs(sdk): Add an example that prints out the SAS emojis Damir Jelić 2021-11-08 17:17:42 +01:00
  • ed561f7b9e improvement(crypto): Use a struct for the SAS emoji/description pairs Damir Jelić 2021-11-08 17:17:14 +01:00
  • fba12b3926 docs(sdk): Explain how room keys work in the encryption module Damir Jelić 2021-11-08 14:47:23 +01:00
  • 1b2ef50ded docs(sdk): Explain why it may be problematic to manually verify devices Damir Jelić 2021-11-05 19:32:31 +01:00
  • c79481c6fa docs(sdk): Clarify what it means for a device to be verified Damir Jelić 2021-11-02 10:43:27 +01:00
  • f5b98a62ab docs(sdk): Describe the ways we can restore a client Damir Jelić 2021-11-01 17:01:45 +01:00
  • f5a6972feb improvement(crypto): Rename the EncryptionInfo struct for attachments Damir Jelić 2021-10-29 09:47:00 +02:00
  • 1faaba39c7 docs(sdk): Explain how cross signing helps a bit better Damir Jelić 2021-10-29 09:37:18 +02:00
  • e58eb70924 chore: Switch to the 2021 edition Damir Jelić 2021-10-22 10:18:55 +02:00
  • 4bfc1041cc docs(sdk): Improve an entry in the e2ee failure table Damir Jelić 2021-10-21 21:39:52 +02:00
  • b6f7e85964 feat(sdk): Add a method to enable encryption for a room Damir Jelić 2021-10-21 20:21:20 +02:00
  • b9b02ff167 docs(sdk): Add another entry to the failure table Damir Jelić 2021-10-21 09:50:25 +02:00
  • 1aba90cd0b docs(sdk): Consistent headings Damir Jelić 2021-10-20 09:41:46 +02:00
  • 3f689e9c74 docs(sdk): Introduce a failure table for the encryption module Damir Jelić 2021-10-19 10:08:06 +02:00
  • d744948a27 docs(sdk): Fix a typo Damir Jelić 2021-10-18 09:33:06 +02:00
  • ccc3a005cb docs(sdk): A couple small clarifications Damir Jelić 2021-10-18 09:32:01 +02:00
  • 605c3b056f docs(sdk): Use a table to describe our features Damir Jelić 2021-10-16 18:06:59 +02:00
  • 387d25c438 docs(sdk): Explain a bit more how devices are backed by device keys Damir Jelić 2021-10-14 09:37:22 +02:00
  • 050f62baa7 docs(sdk): Clarify the manual verification a bit more Damir Jelić 2021-10-12 18:15:43 +02:00
  • afe4f628c3 docs(sdk): Improve the UserIdentity docs Damir Jelić 2021-10-11 21:23:20 +02:00
  • 3964eea2e2 docs(sdk): Add some more E2EE related docs Damir Jelić 2021-10-11 15:15:52 +02:00
  • 687ebabca9 Merge branch 'reciprocate_qr_scanning' Damir Jelić 2021-11-05 19:35:57 +01:00
  • 635ee5f130 matrix-sdk: Send reciprocate to other side when scanning a Qr Code Julian Sparber 2021-11-05 17:59:45 +01:00
  • b27795c0d1 Upgrade ruma Jonas Platte 2021-11-05 15:41:50 +01:00
  • f21faa9e2e Remove unused imports in doctests Jonas Platte 2021-11-05 15:38:27 +01:00
  • 77de8383fe Fix clippy warning Jonas Platte 2021-11-05 15:25:16 +01:00
  • cdfd5f9f0c Remove unnecessary use of Ruma event content enums Jonas Platte 2021-11-05 15:16:07 +01:00
  • 5eb7029568 matrix-sdk: Allow to reconfigure client with login response discovery info Kévin Commaille 2021-11-02 16:45:03 +01:00
  • 52910d50b4 matrix-sdk: Remove unecessary mut for client Kévin Commaille 2021-11-02 11:59:44 +01:00
  • 8dcfd1176f matrix-sdk-crypto: Drop MutexGuard in VerificationRequest::scan_qr_code() Julian Sparber 2021-10-29 15:34:42 +02:00
  • a85f29d904 feat(sdk): Expose the method and types to scan QR codes Damir Jelić 2021-10-28 11:54:28 +02:00
  • 292425fd80 fix(crypto): Make sure we don't treat our own device as a new one every time Damir Jelić 2021-10-28 11:23:07 +02:00
  • 19266f643c improvement(crypto): Improve the logs for the keys/query handling Damir Jelić 2021-10-28 10:56:22 +02:00
  • 3853d0c9d7 improvement(crypto): Log the mismatched user/key if checking fails Damir Jelić 2021-10-27 16:15:10 +02:00
  • 3c59e186d9 improvement(crypto): Improve the logging when we decrypt room events Damir Jelić 2021-10-27 14:33:11 +02:00
  • e448a76484 improvement(crypto): Improve the to-device decryption logs Damir Jelić 2021-10-25 09:40:01 +02:00
  • 0ee8d2733a fix(crypto): Improve the log lines for the room key encryption flow Damir Jelić 2021-10-22 16:00:42 +02:00
  • 38ae79ba3c Merge branch 'room-is-space' Damir Jelić 2021-10-27 11:08:33 +02:00
  • d06371d458 Add convenience function to check if a room is a space Amanda Graven 2021-10-27 10:39:19 +02:00
  • 8b200c8200 Merge branch 'appservice-user-store' Damir Jelić 2021-10-26 12:00:27 +02:00
  • 2a285de1b0 Merge branch 'appservice-event-handler' Damir Jelić 2021-10-26 11:30:30 +02:00
  • 093588d5a3 Event handlers for room and user queries Amanda Graven 2021-10-04 11:49:13 +02:00
  • a9e990142a appservice: Store which users have been registered Amanda Graven 2021-10-18 15:19:55 +02:00
  • 42bec97b68 Merge branch 'blocking' Damir Jelić 2021-10-25 14:25:59 +02:00
  • bc8641666c fix(sdk): Only import the crypto store type if encryption is enabled Damir Jelić 2021-10-25 13:30:33 +02:00
  • 74342a8775 Merge branch 'event-handling' Damir Jelić 2021-10-25 13:02:27 +02:00
  • bc92c02772 Merge branch 'erikj/add_crypto_store_setting' Damir Jelić 2021-10-25 13:00:55 +02:00