matrix-js-sdk
9db6ce10 - Add support for scanning QR codes during verification, with Rust crypto (#3565)

Commit
2 years ago
Add support for scanning QR codes during verification, with Rust crypto (#3565) * Offer `m.qr_code.scan.v1` verification method by default Normally, the application specifies the supported verification methods when creating the MatrixClient (and matrix-react-sdk does so). If the application leaves it unset, then the idea is that the js-sdk offers all known verification methods. However, by default, the rust-sdk doesn't specify `m.qr_code.scan.v1`. So basically, we need to set our own list of supported methods, rather than relying on the rust-sdk's defaults. * Factor out base class from `RustSASVerifier` * Implement QR code scanning * Update src/rust-crypto/verification.ts
Author
Parents
Loading