Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element-R: Pull out an interface from VerificationBase #3414

Merged
merged 3 commits into from
Jun 9, 2023

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented May 26, 2023

The abstract base class VerificationBase (along with its two concrete subclasses SAS and ReciprocateQRCode) implement the logic for performing a device or user verification once a specific verification method has been agreed between the two parties.

We want to reimplement this in Rust, so as a first step, pull out an interface from the current Javascript implementation, which in future we can implement with a rust-backed implementation - and deprecate direct access to the old classes..

Notes: Introduce a new Crypto.Verifier interface, and deprecate direct access to VerificationBase, SAS and ReciprocateQRCode

Part of https://github.com/vector-im/crypto-internal/issues/95.


Here's what your changelog entry will look like:

🦖 Deprecations

  • Introduce a new Crypto.Verifier interface, and deprecate direct access to VerificationBase, SAS and ReciprocateQRCode (#3414).

@richvdh richvdh added the T-Deprecation A pull request that makes something deprecated label May 26, 2023
@richvdh richvdh force-pushed the rav/element-r/14_verifier_interface branch from 78fb7ba to 53b487f Compare June 2, 2023 16:57
@richvdh richvdh changed the base branch from develop to rav/element-r/14.0_new_verifier_base_methods June 2, 2023 16:58
@richvdh richvdh force-pushed the rav/element-r/14_verifier_interface branch 2 times, most recently from 6bae4a6 to 4d2a062 Compare June 6, 2023 08:36
Base automatically changed from rav/element-r/14.0_new_verifier_base_methods to develop June 6, 2023 11:28
@richvdh richvdh force-pushed the rav/element-r/14_verifier_interface branch from dee577f to a44b968 Compare June 6, 2023 12:12
@richvdh richvdh force-pushed the rav/element-r/14_verifier_interface branch from a44b968 to 31f6a60 Compare June 7, 2023 14:19
@richvdh richvdh force-pushed the rav/element-r/14_verifier_interface branch from 31f6a60 to 43611fd Compare June 7, 2023 17:48
@richvdh richvdh changed the title Pull out a new Verifier interface Element-R: Pull out an interface from VerificationBase Jun 9, 2023
@richvdh richvdh marked this pull request as ready for review June 9, 2023 10:02
@richvdh richvdh requested a review from a team as a code owner June 9, 2023 10:02
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks.

@richvdh richvdh added this pull request to the merge queue Jun 9, 2023
Merged via the queue into develop with commit 5981fee Jun 9, 2023
@richvdh richvdh deleted the rav/element-r/14_verifier_interface branch June 9, 2023 10:22
su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this pull request Feb 22, 2024
* Introduce a new `Crypto.Verifier` interface, and deprecate direct access to `VerificationBase`, `SAS` and `ReciprocateQRCode` ([\matrix-org#3414](matrix-org#3414)).
* Add `rust-crypto#isCrossSigningReady` implementation ([\matrix-org#3462](matrix-org#3462)). Contributed by @florianduros.
* OIDC: Validate `m.authentication` configuration ([\matrix-org#3419](matrix-org#3419)). Contributed by @kerryarchibald.
* ElementR: Add `CryptoApi.getCrossSigningStatus` ([\matrix-org#3452](matrix-org#3452)). Contributed by @florianduros.
* Extend stats summary with call device and user count based on room state ([\matrix-org#3424](matrix-org#3424)). Contributed by @toger5.
* Update MSC3912 implementation to use `with_rel_type` instead of `with_relations` ([\matrix-org#3420](matrix-org#3420)).
* Export thread-related types from SDK ([\matrix-org#3447](matrix-org#3447)). Contributed by @stas-demydiuk.
* Use correct /v3 prefix for /refresh ([\matrix-org#3016](matrix-org#3016)). Contributed by @davidisaaclee.
* Fix thread list being ordered based on all updates ([\matrix-org#3458](matrix-org#3458)). Fixes element-hq/element-web#25522.
* Fix: handle `baseUrl` with trailing slash in `fetch.getUrl` ([\matrix-org#3455](matrix-org#3455)). Fixes element-hq/element-web#25526. Contributed by @kerryarchibald.
* use cli.canSupport to determine intentional mentions support ([\matrix-org#3445](matrix-org#3445)). Fixes element-hq/element-web#25497. Contributed by @kerryarchibald.
* Make sliding sync linearize processing of sync requests ([\matrix-org#3442](matrix-org#3442)).
* Fix edge cases around 2nd order relations and threads ([\matrix-org#3437](matrix-org#3437)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Deprecation A pull request that makes something deprecated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants