1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Element-R: Basic implementation of SAS verification (#3490)

* Return uploaded keys from `/keys/query`

* Basic implementation of SAS verification in Rust

* Update the `verifier` *before* emitting `erificationRequestEvent.Change`

* remove dead code
This commit is contained in:
Richard van der Hoff
2023-06-26 09:48:44 +01:00
committed by GitHub
parent f16a6bc654
commit 48c4127035
9 changed files with 558 additions and 31 deletions

View File

@@ -2238,6 +2238,8 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
this.secretStorage,
this.cryptoCallbacks,
);
rustCrypto.supportedVerificationMethods = this.verificationMethods;
this.cryptoBackend = rustCrypto;
// attach the event listeners needed by RustCrypto