You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
proposal: crypto/tls: add configuration for ECH GREASE #75241
The existing implementation has no support for GREASE.
I tried to simulate GREASE by setting a fake, but well-formed ECH Config list in tls.TLSConfig.EncryptedClientHelloConfigList, but that doesn't work. According to the draft, if the client offers ECH, and the server doesn't accept it, the client must abort the connection with an "ech_required" alert:
If both authentication and the handshake complete successfully, the client MUST perform the processing described below then abort the connection with an "ech_required" alert before sending any application data to the server.
That way, the TLS client will always do GREASE if the ECHConfigList is not set, and people can disable it if needed.
ECH GREASE should be enabled by default, because people won't be aware of the need to disable it, and the ECH connections will stick out, leaking traffic information.
ECH GREASE should be enabled by default, because people won't be aware of the need to disable it, and the ECH connections will stick out, leaking traffic information.
I fully agree with the above. Having the ecosystem in general emit GREASEy ECH as a default should help a bit in terms of not sticking out and should make it harder to block real use of ECH, so I support adding the capability and having that as the default if possible. (In tests so far, I've not seen any bad effects when GREASEing ECH.)
changed the title [-]proposal: crypto/tls: Add configuration for ECH GREASE[/-][+]proposal: crypto/tls: add configuration for ECH GREASE[/+]on Sep 12, 2025
I don't think this needs to be a proposal: lets just do ECH grease always, with maybe a GODEBUG to disable it for endpoints that are truly intolerant of seeing it 🤷, and not provide a tls.Config configuration knob (which just make things more complicated).
Reacted by Daniel McCarney, Tom Thorogood and Vinicius Fortuna
Activity
gabyhelp commentedon Sep 3, 2025
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
sftcd commentedon Sep 12, 2025
I fully agree with the above. Having the ecosystem in general emit GREASEy ECH as a default should help a bit in terms of not sticking out and should make it harder to block real use of ECH, so I support adding the capability and having that as the default if possible. (In tests so far, I've not seen any bad effects when GREASEing ECH.)
[-]proposal: crypto/tls: Add configuration for ECH GREASE[/-][+]proposal: crypto/tls: add configuration for ECH GREASE[/+]rolandshoemaker commentedon Jun 12, 2026
I don't think this needs to be a proposal: lets just do ECH grease always, with maybe a GODEBUG to disable it for endpoints that are truly intolerant of seeing it 🤷, and not provide a
tls.Configconfiguration knob (which just make things more complicated).gopherbot commentedon Jun 15, 2026
Change https://go.dev/cl/790620 mentions this issue:
crypto/tls: default TLS 1.3 ECH GREASE