Skip to content

Keep GREASE signature algorithms out of the handshake state - #4

Merged
roachadam merged 1 commit into
masterfrom
fork/sigalg-grease
Oct 22, 2026
Merged

roachadam merged 1 commit into
masterfrom
fork/sigalg-grease

Conversation

@roachadam

Copy link
Copy Markdown
Owner

Chrome 155 sends a GREASE signature algorithm. It belongs on the wire, but
writeToUConn also copied it into HandshakeState.Hello, where Go's handshake
checks treat it as an offered algorithm. Copy the list without GREASE when
one is present; the wire bytes are unchanged. ECH is unaffected because the
inner transcript is rebuilt from the outer wire extensions.

TestChrome155SignatureGREASESeed asserted the GREASE value in the handshake
state; its wire assertion stays, the state one is replaced by
TestSignatureAlgorithmGREASEStaysOnTheWire.

Based on the writeToUConn part of sardanioss/utls d737ca1.


Stacked on #1 (module path). Merge that first; GitHub then retargets this PR to master.

Chrome 155 sends a GREASE signature algorithm. It belongs on the wire, but
writeToUConn also copied it into HandshakeState.Hello, where Go's handshake
checks treat it as an offered algorithm. Copy the list without GREASE when
one is present; the wire bytes are unchanged. ECH is unaffected because the
inner transcript is rebuilt from the outer wire extensions.

TestChrome155SignatureGREASESeed asserted the GREASE value in the handshake
state; its wire assertion stays, the state one is replaced by
TestSignatureAlgorithmGREASEStaysOnTheWire.

Based on the writeToUConn part of sardanioss/utls d737ca1.
Base automatically changed from fork/module-path to master October 22, 2026 20:57
@roachadam
roachadam merged commit c79f960 into master Oct 22, 2026
@roachadam
roachadam deleted the fork/sigalg-grease branch October 22, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant