Commit 32f51e8
authored
History sharing: do
* History sharing: do `/keys/query` before checking for key bundle
The next release of matrix-sdk-crypto-wasm will check that the device that sent
us the key bundle data was correctly cross-signed by its owner, which means we
need to have the owner's cross-signing keys before we check if we have the
bundle.
This replicates a change made in the Rust SDK, at https://github.com/matrix-org/matrix-rust-sdk/pull/5510/files#diff-9f89fa75c4eb3743ae674be1bb90f75169bd815a259917799c71b8a546449d51R133-R140.
* fix unit test
* Comment/keys/query before checking for key bundle (#4992)1 parent 82aa04d commit 32f51e8
File tree
2 files changed
+14
-2
lines changed- spec/unit/rust-crypto
- src/rust-crypto
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2353 | 2353 | | |
2354 | 2354 | | |
2355 | 2355 | | |
| 2356 | + | |
2356 | 2357 | | |
2357 | 2358 | | |
2358 | 2359 | | |
| |||
2377 | 2378 | | |
2378 | 2379 | | |
2379 | 2380 | | |
| 2381 | + | |
2380 | 2382 | | |
2381 | 2383 | | |
2382 | 2384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
335 | 345 | | |
336 | 346 | | |
337 | 347 | | |
| |||
0 commit comments