← Back to section · Tutorials & Labs

The OQS-BoringSSL Fork: How Browser-Scale Post-Quantum Experiments Are Done

Why BoringSSL needs an experimental fork: the relationship between BoringSSL and OpenSSL, how the OQS fork integrates liboqs algorithms into the TLS handshake, its division of labour with Chrome's real deployment, and where this path does and does not apply.

Published 22 November 2026 · 5 min read · PQ Frontier

The OQS-BoringSSL Fork: How Browser-Scale Post-Quantum Experiments Are Done
AI-generated site artwork
Video explainer · Using PQC libraries: install and go

The previous tutorials in this series followed the OpenSSL ecosystem. But look toward the browser and you find a parallel world: Chrome does not use OpenSSL. Its TLS stack is BoringSSL — Google’s fork of OpenSSL, maintained specifically for Chrome and Android. And the earliest large-scale experiments with post-quantum algorithms at browser scale happened precisely on this line, with the oqs-boringssl fork maintained by the Open Quantum Safe project as the main test bench. This tutorial untangles the relationships: what BoringSSL is, how the fork integrates algorithms, and how it divides labour with Chrome’s production deployment.

BoringSSL and OpenSSL: same roots, different roads

BoringSSL was born from Google’s frustrations with OpenSSL: it strips out much historical baggage, tightens the API surface, and explicitly declines to guarantee API or ABI stability across versions — it answers to Google’s own products, and outside projects use it at their own risk. That trade-off decides two things. First, BoringSSL cannot do runtime plug-ins the way OpenSSL 3’s provider mechanism can; extending it means modifying source. Second, it evolves extremely fast, which makes it a good home for frontier protocol experiments. Since the oqs-provider route of “don’t touch the core, inject a plug-in” does not work on BoringSSL, OQS took the direct approach: maintain a long-lived fork that integrates liboqs algorithms at source level into BoringSSL’s handshake logic, adding post-quantum and hybrid options to the TLS 1.3 key-exchange groups and signature algorithms.

What the fork integrates

The integration points of oqs-boringssl roughly mirror oqs-provider’s: on the key-exchange side it offers pure post-quantum KEMs and classical-plus-post-quantum hybrid groups; on the signature side it offers post-quantum signature algorithms for certificates and handshake signatures. Its typical use is not swapping the TLS library of some website, but protocol-level experimentation: verifying, inside a real browser code path, what hybrid handshakes do to connection success rates; measuring how middleboxes — firewalls, load balancers, ageing proxies — react to larger key shares; testing what certificate-chain growth does to handshake fragmentation. These questions cannot be answered with command-line tools; only by putting the algorithms into a complete, real TLS implementation in front of serious traffic do the answers become trustworthy. The fork’s maintenance style reflects the experimental positioning: it periodically merges upstream BoringSSL code, its algorithm roster evolves with liboqs, and its goal is “experiments can be reproduced”, not “runs stably forever”.

The division of labour with Chrome’s deployment

The relationship between the experimental fork and Chrome’s production deployment is often confused, so let us be precise. Chrome’s post-quantum deployment runs on mainline BoringSSL: Google first enabled a hybrid key exchange of X25519 with Kyber at scale between Chrome and its servers, gathering internet-scale compatibility data; once the NIST standard landed and the algorithm was named ML-KEM, the deployment switched to the standardized hybrid group of X25519 with ML-KEM-768. In this process the OQS fork played the role of a public test bench: academia and industry could reproduce experiments on the same code base and test algorithms and combinations not yet on the mainline’s radar, feeding data into the standardization discussion; the mainline absorbed only the small part that standards had locked down and its own traffic had validated. In short, the fork spreads out possibilities while the mainline converges on conclusions — their cadences and risk appetites are entirely different, and judging one by the other’s standards misreads both.

Trying it yourself: build cost and experiment method

If, for research purposes, you genuinely want to run oqs-boringssl, calibrate your expectations first. Building BoringSSL involves the Go toolchain for generating parts of the code, alongside CMake and Ninja, and the first configuration is noticeably more involved than building liboqs; the fork additionally requires building liboqs first and making the build system find it. Once compiled, the experimental entry point is BoringSSL’s own bssl tool: use its server and client subcommands to raise a local pair of endpoints, complete a handshake with a post-quantum or hybrid key-exchange group specified, and confirm the negotiated result from the output. The more valuable experiment is interoperability: point the fork’s client at an OpenSSL server backed by oqs-provider (or the other way around) and verify that two independent implementations agree on the encoding of the same hybrid group — cross-implementation interop is exactly what such test benches exist for, and the most effective way to surface specification ambiguities during the draft phase. Keep the experiment environment isolated from your everyday development setup; this fork’s build products must never enter a real project’s dependency tree.

How ordinary developers should regard this path

One question comes up often: if OpenSSL has the plug-in route of oqs-provider, why does BoringSSL not do the same? The answer returns to the trade-off of the first section — BoringSSL deliberately maintains no stable plug-in interface; it serves only Google’s own product lines, and every extension presupposes source modification. The differing shapes of the two ecosystem lines therefore originate not in post-quantum algorithms but in the governance philosophies fixed on the day of the fork: one opens toward general compatibility, the other converges on the evolution speed of its owner’s products. Understanding this, neither side’s post-quantum path looks “behind”.

The conclusion is clear: oqs-boringssl is a research instrument, not a TLS library you can select. It promises no stability, and BoringSSL itself does not welcome outside users. If your application needs post-quantum capability in TLS, the correct path is to wait for and adopt the official support in your TLS stack — OpenSSL, the browser, or your cloud provider’s load balancer — or to use oqs-provider for advance evaluation. For ordinary developers the fork’s real value is reading value: it is one of the best specimens for observing how a new algorithm gets wired into a mature TLS implementation — where the handshake state machine is extended, how key shares are encoded into the ClientHello, how failure falls back — details that standards documents abstract away but that are all concrete code and discussion in the fork’s commit history. Treating the test bench as a test bench, and leaving deployment routes to the mainline, is the most important lesson this ecosystem line has to teach.

Tags: BoringSSLOQSbrowsers