Skip to content

do not enable TLSX with --enable-ech#10153

Open
sebastian-carpenter wants to merge 1 commit intowolfSSL:masterfrom
sebastian-carpenter:GH-10067
Open

do not enable TLSX with --enable-ech#10153
sebastian-carpenter wants to merge 1 commit intowolfSSL:masterfrom
sebastian-carpenter:GH-10067

Conversation

@sebastian-carpenter
Copy link
Copy Markdown
Contributor

Description

--enable-ech was pulling in --enable-tlsx, which enables all TLS extensions in bulk. ECH does not need most of these.

The --enable-tlsx dependency was redundant to begin with. HAVE_TLS_EXTENSIONS, the only thing ECH actually needs from it, is already provided by --enable-tls13, which ECH already enables directly.

Removing the line fixes the --enable-ech --enable-harden-tls combination without affecting any ECH functionality. Thus solving GH #10067.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@sebastian-carpenter sebastian-carpenter self-assigned this Apr 7, 2026
Copilot AI review requested due to automatic review settings April 7, 2026 19:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the implicit --enable-tlsx activation from --enable-ech to avoid pulling in the full “all TLS extensions” bundle (and its side-effects like forcing Truncated HMAC), while keeping the actual ECH prerequisites enabled via TLS 1.3.

Changes:

  • Stop --enable-ech from auto-enabling --enable-tlsx.
  • Keep ECH prerequisites enabled explicitly (HPKE, ECC/Curve25519, SHA-256, SNI, TLS 1.3).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Successfully merging this pull request may close these issues.

2 participants