crypto/tls: Vet interaction between ECH and PSK
Author: cjpattonCreated Apr 1, 2021Updated Apr 19, 2021
Labelsbug
We may have a bug in crypto/tls that would be triggered by ECH rejection when the server supports PSK. The bug would cause the handshake to fail. I will investigate soon, unless someone gets there first. The temporary fix should be as simple as disabling ECH+PSK. It's likely that the spec will be changed in a way that allows us to properly patch this problem without a major refactor. See https://github.com/tlswg/draft-ietf-tls-esni/issues/399.
Source: cloudflare/go