Damir Jelić
|
b52f3fb11f
|
crypto: Remove an allocation when calculating the SAS MAC
|
2021-06-04 15:16:38 +02:00 |
|
Damir Jelić
|
110b8eb8dd
|
Merge branch 'master' into sas-longer-flow
|
2021-05-18 09:07:50 +02:00 |
|
Jonas Platte
|
cd77441d1b
|
Upgrade ruma to 0.1.0 (crates.io release)
|
2021-05-17 02:57:36 +02:00 |
|
Damir Jelić
|
3f57a2a9f2
|
Merge branch 'master' into sas-longer-flow
|
2021-05-13 11:26:40 +02:00 |
|
Damir Jelić
|
09a7858702
|
crypto: Initial support for the longer to-device verification flow
|
2021-05-13 11:15:56 +02:00 |
|
Devin Ragotzy
|
2ef0c2959c
|
Add use_small_heuristics option and run fmt
|
2021-05-12 15:37:29 -04:00 |
|
Devin Ragotzy
|
c85f4d4f0c
|
Add rustfmt config file and run over workspace
|
2021-05-12 15:36:52 -04:00 |
|
Damir Jelić
|
1bda3659ce
|
sas: Allow to just get the emoji index instead of the emoji and descryption
|
2021-05-07 17:04:27 +02:00 |
|
Damir Jelić
|
80d01b23c4
|
sas: Return an array of seven emojis instead of a vector
|
2021-05-07 17:01:53 +02:00 |
|
Damir Jelić
|
43ea9a16a0
|
crypto: Use the chain method to get the sha hash of the content
|
2021-01-14 13:34:12 +01:00 |
|
Damir Jelić
|
bafe9a0f61
|
crypto: Fix a couple of clippy warnings.
|
2021-01-02 13:47:53 +01:00 |
|
Damir Jelić
|
1fd8c2052e
|
crypto: Fix a bunch of clippy warnings.
|
2020-12-18 13:50:02 +01:00 |
|
Damir Jelić
|
897c6abe92
|
crypto: Fix our tests now that we support in-room verifications.
|
2020-12-18 12:55:06 +01:00 |
|
Damir Jelić
|
48f43a4af1
|
crypto: Remove some unused imports.
|
2020-12-17 16:28:12 +01:00 |
|
Damir Jelić
|
79102b3390
|
crypto: Make the cancelations output only CancelContents.
|
2020-12-17 12:15:11 +01:00 |
|
Damir Jelić
|
b0ac9d3320
|
crypto: WIP change the types of the sas sturcts to allow in-room verifications.
|
2020-12-10 17:49:28 +01:00 |
|
Damir Jelić
|
1bb5b42b1d
|
crypto: Prepare the sas structs to handle in-room verifications.
|
2020-12-10 15:18:28 +01:00 |
|
Damir Jelić
|
d9e5a17ab0
|
crypto: Use a native Rust sha2 implementation to calculate the commitment
|
2020-12-08 16:21:29 +01:00 |
|
Damir Jelić
|
fd705b7d5e
|
crypto: Canonicalize the start event content before calculating the commitment
This fixes: #117.
|
2020-12-08 16:02:51 +01:00 |
|
Damir Jelić
|
9eb17e757c
|
matrix-sdk: Update ruma.
|
2020-12-05 14:59:40 +01:00 |
|
Damir Jelić
|
84066d4a76
|
crypto: Split out the Account into a read only portion and one with effects.
|
2020-09-29 12:03:41 +02:00 |
|
Damir Jelić
|
22daf0d81e
|
Merge branch 'to-device-txn-uuid' into crypto-improvements
|
2020-09-04 12:54:40 +02:00 |
|
Damir Jelić
|
7b3dfe2f27
|
crypto: Move the device and user identities under one module.
|
2020-09-04 10:51:46 +02:00 |
|
Jonas Platte
|
73c104cac1
|
Replace IncomingToDeviceRequest with customized request type
|
2020-09-03 20:02:55 +02:00 |
|
Damir Jelić
|
de90da4adc
|
crypto: Make the verification machine compatible with how we queue up requests.
|
2020-08-21 16:26:34 +02:00 |
|
Damir Jelić
|
89b56b5af8
|
crypto: Don't expose the btree map of the master key dirrectly.
This implements PartialEq for the master key so we can check if they
have changed when doing SAS.
|
2020-08-20 15:06:49 +02:00 |
|
Damir Jelić
|
3990e50ca6
|
crypto: Store the verified identities in the SAS states.
|
2020-08-19 14:28:16 +02:00 |
|
Damir Jelić
|
f63a01a85b
|
crypto: Remove a stale TODO.
|
2020-08-18 15:36:04 +02:00 |
|
Damir Jelić
|
38cf771f1f
|
crypto: Pass the identity further through the SAS layer and try to verify it.
|
2020-08-18 14:24:27 +02:00 |
|
Damir Jelić
|
43aea6e482
|
crypto: Rename Device to ReadOnlyDevice.
|
2020-08-17 16:17:28 +02:00 |
|
Damir Jelić
|
499f2796ba
|
crypto: Add some logging to the MAC calculation for SAS.
|
2020-08-14 10:57:17 +02:00 |
|
Damir Jelić
|
fa1a40543c
|
crypto: Add a missing license header to the sas helpers file.
|
2020-08-11 15:55:13 +02:00 |
|
Damir Jelić
|
d0a5b86ff3
|
crypto: Remove our lock around the cryptostore.
|
2020-08-11 15:39:50 +02:00 |
|
Jonas Platte
|
d83fc971ce
|
Update ruma
|
2020-08-10 13:58:39 +02:00 |
|
Damir Jelić
|
807432b31f
|
crypto: Calculate the correct extra info when generating emojis.
|
2020-08-04 13:54:00 +02:00 |
|
Damir Jelić
|
be01ee2de0
|
crypto: Cancel the verification if we find a MAC mismatch.
|
2020-08-04 12:31:56 +02:00 |
|
Damir Jelić
|
408fe5da4b
|
crypto: Check that the other device had a valid MAC.
|
2020-08-04 12:14:19 +02:00 |
|
Damir Jelić
|
2bf8c99dfe
|
Merge branch 'master' into sas-verification
|
2020-08-04 11:23:24 +02:00 |
|
Damir Jelić
|
26ec0c6368
|
crypto: Proptest the emoji/decimal calculation.
|
2020-08-03 17:22:44 +02:00 |
|
Damir Jelić
|
7ecd4a035f
|
crypto: Split out the Sas logic into different files.
|
2020-07-31 14:54:08 +02:00 |
|