We have some documentation on what we've done to learn from previous vulnerabilities:
https://docs.rs/rustls/0.19.0/rustls/manual/index.html
We try very hard to model our code as a constrained state machine that closely follows the specification.
https://docs.rs/rustls/0.19.0/rustls/manual/index.html
We try very hard to model our code as a constrained state machine that closely follows the specification.
It included some server states in the client state machine, so if a client sent the server its own "authentication successful" message it… just let them in.