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

Tests should dump and validate TLS traces #82

Open
nbraud opened this issue Jun 8, 2017 · 0 comments
Open

Tests should dump and validate TLS traces #82

nbraud opened this issue Jun 8, 2017 · 0 comments

Comments

@nbraud
Copy link

nbraud commented Jun 8, 2017

We have quite a few tests that produce actual TLS sessions:

  • api.rs seems to test rustls against itself;
  • many tests involve OpenSSL and rustls;
  • rustls is tested against badssl.com;
  • rustls is tested against a number of popular websites.

Each of those tests should dump the actual TLS session, ideally as a pcap file, and the session keys involved, so that the dumped trace can be automatically checked for protocol conformance.

The goal is to get stronger guarantees out of each test that gets written; as mentioned in #81, taking invalid transitions in the protocol is a major source of vulnerabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant