Skip to content

Commit

Permalink
connect-tests: add EchConfig fetch tests
Browse files Browse the repository at this point in the history
This commit adds a new `connect-tests/tests/ech.rs` module that performs
a DNS over HTTPS lookup for HTTPS type records, finding `EchConfig`s and
testing we can deserialize the raw form into the Rustls representation
without error.

Presently it tests against:
* `crypto.cloudflare.com`
* `defo.ie`
* `tls-ech.dev`

Since these are network based tests they need to live in `connect-tests`
to avoid flakyness during normal CI runs.

In previous WIP branches this was done as part of an overall end-to-end
example of using ECH, but we can test this in isolation ahead of having
full ECH support.
  • Loading branch information
cpu committed Nov 3, 2023
1 parent 8a9c3aa commit e358c8b
Show file tree
Hide file tree
Showing 3 changed files with 700 additions and 13 deletions.

0 comments on commit e358c8b

Please sign in to comment.