From c4ba3ff3af8dc81d76c00f748f2d46b8f8b54e4c Mon Sep 17 00:00:00 2001 From: Gaukas Wang Date: Fri, 15 Dec 2023 23:32:10 -0700 Subject: [PATCH] fix: incorrect firefox nss parrot ECH params (#272) --- u_parrots.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/u_parrots.go b/u_parrots.go index 36d978ed..c10ca219 100644 --- a/u_parrots.go +++ b/u_parrots.go @@ -1293,16 +1293,12 @@ func utlsIdToSpec(id ClientHelloID) (ClientHelloSpec, error) { KdfId: dicttls.HKDF_SHA256, AeadId: dicttls.AEAD_AES_128_GCM, }, - { - KdfId: dicttls.HKDF_SHA256, - AeadId: dicttls.AEAD_AES_256_GCM, - }, { KdfId: dicttls.HKDF_SHA256, AeadId: dicttls.AEAD_CHACHA20_POLY1305, }, }, - CandidatePayloadLens: []uint16{128, 223}, // +16: 144, 239 + CandidatePayloadLens: []uint16{223}, // +16: 239 }, }, }, nil