Closed mingyech closed 5 months ago
Attention: Patch coverage is 66.66667%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 80.09%. Comparing base (
eddca22
) to head (0a2438a
).
Files | Patch % | Lines |
---|---|---|
state.go | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR lets clients to modify the client hello random bytes and lets servers to choose certificates based on the ClientHello random bytes using the
GetCertificate
function.This serves a similar purpose to ServerName in the ClientHello, where the server can use different certificate based on the ServerName in the ClientHello. This change would be useful for censorship resistance settings where the client does not want to add extra extension like ServerName in the ClientHello to prevent censors from fingerprinting the connection.