Skip to content

Refresh browser ClientHello profiles on Boring 5.6.0 - #7

Merged
yiguodev merged 2 commits into
releasefrom
pr/refresh-browser-fingerprints-5.6.0
Dec 2, 2026
Merged

yiguodev merged 2 commits into
releasefrom
pr/refresh-browser-fingerprints-5.6.0

Conversation

@yiguodev

@yiguodev yiguodev commented Dec 2, 2026

Copy link
Copy Markdown

Summary

- Chrome133, Firefox120, Safari160
+ Chrome155, Firefox148, Safari263
  Chrome120

Refresh the opt-in native ClientHello templates on the 5.6.0 release line. Add bounded Zstd certificate decompression for Firefox. Keep classic REALITY as the default and make hybrid negotiation explicitly selectable.

Evidence

  • Before release contains the 5.6.0 upstream merge and the previous browser templates.
  • After The two commits add wire-profile, in-memory TLS and REALITY regression coverage. git diff --check passed. The current Vole Core review branch builds with the exact head revision 3fd21428. External peer interoperability was not rerun for this PR.

Merge Danger

Door Two-way

Blast radius TLS consumers using the opt-in fingerprint feature. Callers of the removed enum variants need to select a current profile.

Copilot AI balanced review requested due to automatic review settings December 2, 2026 14:21
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T14:22:52.400268Z 3fd2142 PR opened
🔒 Security Review ✅ Completed 2026-12-02T14:27:02.524842Z 3fd2142 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@yiguodev
yiguodev merged commit b732ec6 into release Dec 2, 2026
@yiguodev
yiguodev deleted the pr/refresh-browser-fingerprints-5.6.0 branch December 2, 2026 14:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

4 open issues
What changed in this PR

Refreshes the opt-in native ClientHello templates on the BoringSSL 5.6.0 line, adds bounded Zstd certificate decompression support (notably for Firefox), and updates REALITY hybrid negotiation/documentation to make hybrid explicitly selectable while keeping classic as default.

Changes:

  • Replace retired Chrome133/Firefox120/Safari16 templates with Chrome155/Firefox148/Safari263 across Rust tests, examples, and Python interop probes.
  • Add a bounded Zstd certificate decompressor and wire it into the fingerprint connector/profile catalog (plus dev/test coverage).
  • Update REALITY hybrid docs and profile documentation to reflect the new profile set and behaviors.
File Description
tokio-boring/​tests/​shadow_tls.rs Updates Tokio ShadowTLS tests to use the refreshed profile variants (Chrome155/Firefox148/Safari263).
tokio-boring/​tests/​selected_fingerprint.rs Adds TLS behavior tests for new profiles, including ML-DSA signature negotiation and Zstd certificate compression interoperability.
tokio-boring/​Cargo.toml Adds zstd as a dev-dependency for Tokio-side tests.
tests/​interop/​shadow_tls_v3.py Updates interop harness profile strings and HRR case label to new profiles.
tests/​interop/​jls.py Updates interop harness profile strings to new profiles.
docs/​reality-hybrid.md Notes probe now uses Chrome155; tables still reference earlier Chrome133 runs.
docs/​reality-client.md Updates REALITY client docs to “named templates” wording and new compatibility notes (Chrome155, etc.).
docs/​client-fingerprint.md Rewrites profile documentation to the new catalog and adds notes about Zstd and recent profiles.
boring/​tests/​selected_fingerprint.rs Replaces older independent-wire checks with new profile assertions and adds TLS floor tests + native ID retirement test.
boring/​tests/​reality.rs Updates REALITY tests to use new profiles and adds coverage for authenticating when either X25519 group is selected.
boring/​tests/​jls.rs Updates JLS tests to use the refreshed profiles.
boring/​src/​ssl/​reality.rs Updates docs to reference Chrome155 as an example compatible hybrid-capable profile.
boring/​src/​ssl/​mod.rs Adds a ZSTD certificate compression algorithm identifier constant.
boring/​src/​ssl/​fingerprint.rs Reworks profile catalog (new profiles, trust anchors, TLS1.2 floor), adds Zstd decompressor, and updates compression handling.
boring/​examples/​shadow_tls_v3.rs Updates example profile parsing to new profile names/variants.
boring/​examples/​reality_hybrid.rs Updates example to use Chrome155 for the chrome case.
boring/​examples/​jls.rs Updates example profile parsing to new profile names/variants.
boring/​Cargo.toml Adds optional zstd dependency for client-fingerprint feature.
boring-sys/​patches/​client-fingerprint.patch Updates native patch layer for new profile IDs and behaviors (ECH grease selection, extension ordering, Firefox shared X25519 key, etc.).
Cargo.toml Adds workspace zstd dependency version.

Review effort: Lite

Comment on lines +10 to +16
| Family | Variants |
| --- | --- |
| Chrome | `Chrome120`, `Chrome155` |
| Firefox | `Firefox148` |
| Safari | `Safari263` (26.3) |
| iOS and Android | `Ios14`, `Android11` (OkHttp) |
| Edge, 360 Browser and QQ | `Edge85`, `ThreeSixty75` (7.5), `Qq111` (11.1) |

```sh
cargo test -p boring --features reality,client-fingerprint --test client_fingerprint --test selected_fingerprint --test reality --test hkdf
cargo test -p boring --features client-fingerprint --lib zstd_decoder_
Comment on lines +520 to +523
let mut tls =
tokio_boring::connect(connector.configure(b"\x02h2").unwrap(), "localhost", io)
.await
.unwrap();
Comment on lines +523 to +535
// Using the slice directly preserves any input after the first frame.
let mut decoder = zstd::stream::read::Decoder::with_buffer(input)?.single_frame();
decoder.window_log_max(MAX_CERTIFICATE_BYTES.ilog2())?;
io::copy(
&mut decoder.by_ref().take(MAX_CERTIFICATE_BYTES as u64),
output,
)?;
// At the output limit one more read completes the frame or detects overflow.
if decoder.read(&mut [0])? != 0 || !decoder.into_inner().is_empty() {
return Err(io::Error::other(
"invalid or oversized certificate compression",
));
}
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.

2 participants