-
Notifications
You must be signed in to change notification settings - Fork 256
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
Refactor the verification handling in the crypto crate #399
Comments
One thing that would help out immensely for the type-safe state machine is the type-changing struct update syntax. Has been in development for some while though: rust-lang/rust#86555. |
It's also a bit magical how the crypto crates handles verification events. |
Oh I see there is a call for that receiveUnencryptedVerificationEvent() |
There is, but you also seem to have missed some conversation in chat:
Perhaps we'll end up with just a single method that you need to call explicitly. |
The verification logic has a bunch of layers, the bottom layer is a type-safe state machine. We should be able to simplify this, at least for the SAS verification types.
The text was updated successfully, but these errors were encountered: