Skip to content

Commit cf49b08

Browse files
mingyechwwqgtxx
authored andcommitted
fix: add missing padding extension for chrome 120
Chrome removed this extension when sending pq keyshares but this was incorrectly removed in utls for the non-pq variant of Chrome 120 fingerprint. Only this fingerprint is effected since newer fingerprints have pq keyshares by default and older fingerprints have this extension. Thanks to telegram @acgdaily for reporting this issue.
1 parent 729cb12 commit cf49b08

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

u_parrots.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,7 @@ func utlsIdToSpec(id ClientHelloID) (ClientHelloSpec, error) {
731731
&ApplicationSettingsExtension{SupportedProtocols: []string{"h2"}},
732732
BoringGREASEECH(),
733733
&UtlsGREASEExtension{},
734+
&UtlsPaddingExtension{GetPaddingLen: BoringPaddingStyle},
734735
}),
735736
}, nil
736737
// Chrome w/ Post-Quantum Key Agreement and ECH

0 commit comments

Comments
 (0)