Damir Jelić
fefdfd2e4b
test: Add a test to verify that interactive self-verification works
...
This also checks that secrets are gossiped from one device to the
other and that the recovery and backup states are correctly updated.
2024-06-26 14:31:31 +02:00
Kévin Commaille
0db486b511
crypto: Add SasState::Created variant
...
To differentiate the SAS state between the party
that sent the verification start and the party that received it.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-05-30 12:09:46 +02:00
Damir Jelić
110d67cc62
feat(crypto): If available, sign the new device keys using the cross-signing keys ( #3453 )
2024-05-24 10:38:43 +02:00
Damir Jelić
717dc1184b
Add a integration test that checks if backups get automatically created
2024-02-08 10:47:35 +01:00
Kévin Commaille
5310f41cda
integration-testing: Add test for QR verification
...
And check room ID in SAS test.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2023-12-14 15:23:16 +01:00
Benjamin Bouvier
8de33f68f3
integration tests: randomize user names better
...
In the previous situation, running the tests with `cargo test` would sometimes fail because despite appending the number of milliseconds since
the start of epoch to the user names, some user names would clash across different tests, leading to unexpected results. This fixes it by using
an actual RNG in there, so the names don't ever clash.
2023-11-01 07:57:46 +01:00
Jonas Platte
463a02a4ef
sdk: Make transaction_id truly optional for send and send_raw
...
… by removing the parameter and returning a named future with a
builder-style `with_transaction_id` method.
2023-10-31 11:13:25 +01:00
Benjamin Bouvier
1d90dd554c
Test some verification getters in the heavyweight verification integration test
2023-10-27 13:03:20 +02:00
Benjamin Bouvier
870faa48d1
tests: add mutual verification test
2023-10-26 15:12:34 +02:00
Benjamin Bouvier
1180c6aef9
feat: add integration test for fetch_members causing UTDs 🧪
2023-09-26 12:33:41 +02:00
Benjamin Bouvier
0ecdc2f43c
fix(e2ee): query keys for untracked users even if we didn't explicitly sync members ourselves
2023-09-18 17:24:21 +02:00
Jonas Platte
e02676616f
sdk: Make use of clonable FnOnce in event handlers
2023-09-01 10:42:22 +02:00
Benjamin Bouvier
936b6980c9
chore: move SyncTokenAwareClient to the common test helpers
2023-08-21 19:36:33 +02:00
Benjamin Bouvier
e262db3505
test: write an integration test for missing keys during encryption
2023-08-21 19:36:33 +02:00