Commit graph

85 commits

Author SHA1 Message Date
Damir Jelić
a194213978 rust: Add the string that failed to be parsed as an user id to the error
If there's an invalid user id that gets passed to the Rust side we're
going to throw an error, this error doesn't tell us what is invalid nor
what the string contained.

Add the string that is being parsed to the error so that the log line
becomes actionable.
2022-02-08 09:43:06 +01:00
Damir Jelić
ee017b7302 rust: Bump the sdk version
This updates the rust-sdk to support fallback keys, note that fallback
keys are not yet uploaded, they just can be used when downloaded and
info about the fallback keys coming from a sync can be passed to the
rust side.
2021-12-09 13:15:54 +01:00
Damir Jelić
71cc38fa78 rust: Bump the rust-sdk version 2021-11-30 16:12:06 +01:00
Damir Jelić
3f2755b67c rust: Bump the rust-sdk version 2021-11-29 15:23:44 +01:00
Damir Jelić
d138306b08 rust: Return the map of room keys that were imported 2021-11-25 17:14:02 +01:00
Valere
fbe098f54b Add all target 2021-11-25 16:04:35 +01:00
Damir Jelić
00280ccb86 rust: Mark room keys that are imported from the backup as backed up 2021-11-25 11:24:47 +01:00
Damir Jelić
3f710ef4c0 rust: Allow individual room keys to be invalid when importing 2021-11-25 10:38:39 +01:00
Damir Jelić
ac153c80d5 rust: Expose a method to check if a user is tracked 2021-11-24 14:11:56 +01:00
Damir Jelić
87339fb0ee rust: Bump the uniffi version 2021-11-24 14:11:32 +01:00
Valere
f209ae26bc Wire compute room shields with rust 2021-11-19 13:29:42 +01:00
Damir Jelić
50cdbaf041 crypto: Update to the latest rust-sdk version 2021-11-17 14:58:14 +01:00
Damir Jelić
a3af73261c crypto: Throw decode errors when creating a recovery key 2021-11-17 13:43:37 +01:00
Damir Jelić
ba7aa3513b crypto: Depend on a hosted rust-sdk version 2021-11-17 13:43:37 +01:00
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ć
504fd95b26 crypto: Bump the rust-sdk revision 2021-08-13 20:33:05 +02: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ć
7e49760da0 rust: Don't depend on a local rust-sdk 2021-06-30 17:39:36 +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ć
03499b5309 rust: Update the rust-sdk revision. 2021-06-28 15:30:35 +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