Skip to content

Add an opt-in chrome158 client fingerprint - #3536

Draft
wywywywycloud wants to merge 1 commit into
MetaCubeX:Alphafrom
wywywywycloud:chrome158-fingerprint
Draft

wywywywycloud wants to merge 1 commit into
MetaCubeX:Alphafrom
wywywywycloud:chrome158-fingerprint

Conversation

@wywywywycloud

@wywywywycloud wywywywycloud commented Nov 27, 2026 •

Copy link
Copy Markdown

Expose the Chrome 158 Windows ClientHello as an explicit client-fingerprint: chrome158. The existing chrome, chrome120, and random profile selection retain their current behavior. The mapping uses the verified Windows x64 Chrome for Testing Stable 158.0.8127.88 profile in MetaCubeX/utls#14. Use support-x25519mlkem768: true in reality-opts to include the browser's hybrid key share.

Merge dependency. Keep this PR in draft until an official MetaCubeX/utls version includes the profile. The version-scoped temporary Go module replacement pins the exact public PR commit and its checksums so reviewers can build this branch today. Remove the replacement and bump the official dependency before merging. The fork does not implement ML-DSA CertificateVerify; a server selecting it will reject the handshake or the client will fail verification.

Verified on Windows amd64 with Go 1.26.11, including a build using only published modules and -mod=readonly. The same mapping was exercised on the v1.19.34 release source and on Alpha (53f61d4). On a loopback Xray 26.11.9 server, VLESS TCP/Vision and XHTTP both authenticated with REALITY. HTTPS downloads over TLS 1.2 and 1.3 matched byte for byte; a 256 KiB upload matched the digest calculated by the origin. The existing chrome profile passed the positive controls. A wrong short ID failed to reach the origin on both transports. Capturing the outgoing ClientHello from the Alpha build confirmed the Stable profile on both transports and the removal of X25519MLKEM768 when explicitly disabled.

Local checks on the published revision b46b7c9: the full default test suite passed on Windows. All packages in the with_gvisor suite passed, including five retried separately after Windows ran short of ephemeral loopback ports. Both suites used the repository CI setting SKIP_INTEROP_TEST=1. The fingerprint lookup test also passed on Go 1.20.14. All Go module checksums verified. The clean binary's embedded commit matched the PR head; both transports matched the reference capture with the hybrid key enabled and omitted the hybrid group and share when disabled.

Track MetaCubeX/utls#14 at an immutable fork revision for draft review. Switch to the upstream dependency before merging.
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