Repository navigation
Releases
Releases · roachadam/utls
v1.8.4
Fixes
- TLS 1.3: hash the server's Certificate messages as received (#23, fixes #14). The client re-marshalled an uncompressed Certificate into the transcript, reordering OCSP/SCT and dropping unknown and intermediate-certificate extensions. When the server's bytes differed, CertificateVerify failed with
invalid signature by the server certificate(example.com, payments.braintree-api.com with Safari-like ClientHellos that don't get a compressed certificate). Messages are now hashed exactly as received, as crypto/tls does. Thanks to @reverseSHA256, whose diagnosis and test cases in #17 shaped the fix (co-author). - Accept a non-0x0303 version on plaintext records (#24, fixes #15). After a HelloRetryRequest, a ServerHello record with version 0x0301 failed the handshake. Like BoringSSL, only the major version of unencrypted records is checked; encrypted records keep the exact check.
Upstream sync (#22)
Rebuilt on refraction-networking/utls 360383f:
- Upstream's fix for keeping a private key for every classical key share replaces the fork's (same
KeySharePrivateKeys.AdditionalEcdheAPI). - Upstream's
UQUICConn.Closeand preset transport-parameter fixes; the fork keepsNextEvent'sQUICErrorEventandQUICTransportParametersExtension.RawData.
Dependencies
klauspost/compressv1.20.1 → v1.20.5 (includes the CVE-2026-116591 zstd decoder panic fix) andgo-brrrv1.2.0 → v1.3.1 (#20, #21).
Full changelog: v1.8.3...v1.8.4