Skip to content

feat: add HelloChrome_152 fingerprint (Chromium 152 wire format) - #15

Open
flyzstu wants to merge 4 commits into
MetaCubeX:v1.9.0-mod-metafrom
flyzstu:chrome-152
Open

flyzstu wants to merge 4 commits into
MetaCubeX:v1.9.0-mod-metafrom
flyzstu:chrome-152

Conversation

@flyzstu

@flyzstu flyzstu commented Dec 4, 2026

Copy link
Copy Markdown

What

  • Adds HelloChrome_152 based on a live loopback capture of Chromium 152.0.7977.82 ClientHello
  • HelloChrome_Auto now resolves to HelloChrome_152

Wire format captured

  • supported_groups: [GREASE, X25519MLKEM768, X25519, P-256, P-384]
  • key_share: [GREASE(1B), MLKEM768(1216B), X25519(32B)]
  • ALPN h2/http1.1, ALPS new codepoint (17613), ECH grease, brotli cert compression
  • Signature algorithms reordered vs Chrome 133 (PKCS1WithSHA512 before PSSWithSHA512)

Notes

  • Structure mirrors HelloChrome_133; Chrome 152 adds no new extension type that utls cannot emit today (the 51764/31354 GREASE-family and experimental extensions observed in capture are covered by UtlsGREASEExtension/shuffle)
  • Tests: TestChrome152Spec, TestChromeAutoIs152 pass; full suite ok

flyzstu and others added 4 commits December 4, 2026 11:01
…d wire format)

- Add HelloChrome_152 ClientHelloID; HelloChrome_Auto now points to it
- Based on live capture of Chromium 152.0.7977.82 ClientHello (loopback pcap):
  supported_groups [GREASE, X25519MLKEM768, X25519, P-256, P-384]
  key_share [GREASE, MLKEM768(1216B), X25519(32B)], ALPN h2/http1.1,
  ALPS (17613), ECH grease, brotli cert compression
- Spec structurally identical to HelloChrome_133 plus current Chrome 152
  signature algorithm ordering (PKCS1WithSHA512 before PSSWithSHA512)

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- dicttls: add X25519MLKEM768 (4588) to supported_groups maps
- dicttls: add encrypted_client_hello (65037) to ext type maps
- u_clienthello_json.go: 'encrypted_client_hello' imports as
  GREASEEncryptedClientHelloExtension (BoringSSL GREASE form; real ECH
  payloads are HPKE-derived at handshake time, not importable)
- u_ech.go: UnmarshalJSON accepts any body for the GREASE ext

Needed for capture->JSON->import workflows with real Chrome specs.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Accept numeric signature scheme values (e.g. Chrome 152's 0x0904-0x0906
fake sigalgs) in SignatureAlgorithmsExtension.UnmarshalJSON.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
…ke_auth)

- FakeEtMExtension now carries its own extension ID (post_handshake_auth 49
  was emitting a duplicate encrypt_then_mac 22).
- ExtensionFromID maps 22 and 49; SupportedCurvesExtension JSON import
  accepts exact GREASE_NNNN values (hybrid-GREASE adjacent to MLKEM 0x11ec).

Verified: Chrome-captured spec JSON imports and completes a TLS 1.3
handshake; generated ClientHello byte-identical to the capture except
key material and session_id.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
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