Skip to content

Add proper EchTests#9604

Merged
yschimke merged 3 commits into
lysine-dev:masterfrom
yschimke:echtestss
Jul 26, 2026
Merged

Add proper EchTests#9604
yschimke merged 3 commits into
lysine-dev:masterfrom
yschimke:echtestss

Conversation

@yschimke

Copy link
Copy Markdown
Collaborator

Run ECH tests with AndroidDns and DnsOverHttps.

note: doesn't run in CI because Remote tag.

@yschimke yschimke changed the title Add local only EchTests Add proper EchTests Jul 26, 2026
@yschimke

Copy link
Copy Markdown
Collaborator Author

Testing strategy borrowed from https://github.com/curl/curl/blob/master/docs/ECH.md

* Disabled by policy.
*/
@Test
fun policyDisabledHostDoesNotUseEch() {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

NEAT

fun wrongPublicNameIsNotRetried() {
val rejection = client.echRejectionFrom("https://wrong.tls-ech.dev/")

// TODO retry with these, then assert "You are using ECH" like tlsEchDevUsesEch.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@swankjesse thoughts on handling this?

@yschimke
yschimke merged commit 3e11167 into lysine-dev:master Jul 26, 2026
22 of 23 checks passed
yschimke added a commit that referenced this pull request Jul 26, 2026
* Add local only EchTests taken from curl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants