Commit graph

63 commits

Author SHA1 Message Date
Damir Jelić
e5af7e6109 crypto: Update for the new room key import result 2021-11-17 13:43:37 +01:00
Damir Jelić
7cb143e970 crypto: Don't create a new salt when we just want to rederive a recovery key 2021-11-17 13:43:37 +01:00
Damir Jelić
f1da5a1c7c crypto: Update to the latest ruma 2021-11-17 13:43:37 +01:00
Damir Jelić
50268540c3 crypto: Try to import the recovery key if it was gossiped to us 2021-11-17 13:43:37 +01:00
Damir Jelić
2b8783b489 crypto: Add support for key backup restoring 2021-11-17 13:43:37 +01:00
Damir Jelić
3b93d6b08c crypto: Fill out all the methods to support backups 2021-11-17 13:43:37 +01:00
Damir Jelić
021041fc2e crypto: Support to send out backup HTTP requests 2021-11-17 13:43:37 +01:00
Damir Jelić
406fd0d8d5 crypto: Initial support for server-side backups of room keys 2021-11-17 13:43:22 +01:00
Damir Jelić
d0502c4f6b crypto: Fix some clippy warnings 2021-08-13 13:30:09 +02:00
Damir Jelić
00d1233512 crypto: Upload signatures when we confirm a verification as well 2021-08-13 13:30:09 +02:00
Damir Jelić
b012a0ff75 crypto: Export cross signing related methods from the Rust side 2021-08-13 13:30:09 +02:00
Damir Jelić
813b48df6a crypto: Document all the new verification methods on the Rust side 2021-07-23 11:50:34 +02:00
Damir Jelić
b33537fd6e crypto: Use the new CancelInfo struct 2021-07-19 14:21:11 +02:00
Damir Jelić
7650e43362 crypto: Add support to scan QR codes during verification 2021-07-10 20:51:47 +02:00
Damir Jelić
33c2184c52 crypto: Allow verifications to be requested 2021-07-08 12:49:44 +02:00
Damir Jelić
d24c94d0f9 crypto: Allow the direct start of the short SAS flow 2021-07-01 13:15:26 +02:00
Damir Jelić
2c1dc053ed crypto: Support answering in-room verifications 2021-06-30 15:48:24 +02:00
Damir Jelić
53b3f54808 crypto: Add support to accept the short SAS verification flow 2021-06-29 09:28:41 +02:00
Damir Jelić
1f7311a428 crypto: Allow verification requests to be canelled 2021-06-28 14:08:49 +02:00
Damir Jelić
05119bcf90 crypto: Allow devices to be marked manually as verified 2021-06-28 14:08:08 +02:00
Damir Jelić
d21137d910 crypto: Add a state for when we confirmed the QR code 2021-06-28 11:37:27 +02:00
Damir Jelić
d15269a4bd rust: Add methods for the QR code verification 2021-06-28 11:37:27 +02:00
Damir Jelić
f854e9cf1c crypto: Remove the intermediately CancelCode and use strings to map over FFI 2021-06-28 11:37:27 +02:00
Damir Jelić
6a79d022c3 crypto: Expose the trust state of our devices 2021-06-28 11:37:27 +02:00
Damir Jelić
6649aaca2e crypto: Support SAS verification up to showing emojis 2021-06-28 11:37:14 +02:00
Damir Jelić
0cb9f6be10 rust: Rework the rest of the sas verification methods 2021-06-18 12:16:55 +02:00
Damir Jelić
e46578a087 rust: Bind the initial verification request type and methods 2021-06-17 13:36:44 +02:00
Damir Jelić
5ad596c3bc crypto: Bind more verification methods and types 2021-06-15 13:22:51 +02:00
Damir Jelić
a144b1f7b5 rust: Fix the build and update our deps 2021-06-15 13:16:30 +02:00
Damir Jelić
688c167166 rust: Upgrade our deps 2021-05-25 16:13:12 +02:00
Damir Jelić
49fa34e997 rust: Switch to the new encryption info branch of the rust-sdk 2021-04-29 13:05:08 +02:00
Damir Jelić
711e607fca crypto: Improve the docs a bit 2021-04-20 14:34:54 +02:00
Damir Jelić
389273d56a crypto: Rename the share_group_session method 2021-04-20 14:34:32 +02:00
Damir Jelić
c5173dde71 crypto: Update the rust-sdk branch we're using 2021-04-20 14:32:43 +02:00
Damir Jelić
8bfb7a6e0c crypto: Connect the room key requesting to the rust side 2021-04-20 13:29:52 +02:00
Damir Jelić
5b761ef7d1 crypto: Document the rust Device struct 2021-04-14 12:15:47 +02:00
Damir Jelić
7d67c79d29 crypto: Use the key import progress listener on the rust side 2021-04-14 12:14:52 +02:00
Damir Jelić
543a638e87 crypto: Forward some more errors from the rust side to the kotlin side 2021-04-12 15:03:28 +02:00
Damir Jelić
9296cab4fc crypto: Expose more device data from the rust side 2021-04-09 13:53:55 +02:00
Damir Jelić
8692f05e34 crypto: Connect the room key discarding logic 2021-04-09 12:35:13 +02:00
Damir Jelić
08d0787cc9 crypto: More docs 2021-04-08 11:18:48 +02:00
Damir Jelić
533895cb38 crypto: Document the Rust side of things 2021-04-07 15:04:43 +02:00
Damir Jelić
336697a38c crypto: Some refactoring on the rust side 2021-04-06 15:36:21 +02:00
Damir Jelić
10c7f5b989 crypto: Handle key export decyrption errors 2021-03-30 14:30:39 +02:00
Damir Jelić
57bb723bac crypto: Connect the key importing to the rust-sdk 2021-03-30 14:30:39 +02:00
Damir Jelić
7f89e33037 crypto: Connect the key exporting to the rust-sdk export method 2021-03-29 16:36:40 +02:00
Damir Jelić
c97e384790 crypto: Hook up the event encryption to use the rust-sdk 2021-03-05 16:12:24 +01:00
Damir Jelić
5f848093b9 crypto: Send out to-device requests to share the room key 2021-03-05 13:27:32 +01:00
Damir Jelić
4c44a5e108 crypto: Add support to claim one-time keys 2021-03-04 17:14:48 +01:00
Damir Jelić
da35c9b6bd crypto: Send out key query requests that the rust-sdk gives us. 2021-03-04 13:12:16 +01:00