New Introducing inventory in LightInventory in Light Read the announcementRead more

Blog/Engineering

Post-quantum security at Light

Author
Security Team
Published
December 5, 2026
Reading
4 min read

A supplier invoice might be due in 30 days. The prices you negotiated, the volumes you bought and the bank details on that invoice can stay sensitive for years.

Light uses post-quantum cryptography to protect financial data in transit on supported connections. Your browser negotiates that protection automatically when it connects. There’s nothing to enable in Light.

Why the lifetime of an invoice matters

Imagine someone records the encrypted traffic as you upload that invoice. They can’t read it, but they can keep the recording. A sufficiently powerful quantum computer could one day let them reconstruct the keys from a conventional key exchange and read the original invoice.

Security researchers call this “harvest now, decrypt later.” A server upgrade five years from now can’t protect a copy someone records today.

What we changed at Light

We updated the TLS policy on our public load balancers, where connections to Light’s API arrive. We kept the existing TLS versions and encryption ciphers and added support for hybrid key exchange in TLS 1.3. Older clients can still connect using classical key exchange, without the added quantum protection.

Of the three hybrid methods Light’s API supports, X25519MLKEM768 is the strongest available by default in both Chrome and Firefox. Clients that support SecP384r1MLKEM1024 can also negotiate it with our API. It uses ML-KEM-1024, the strongest of NIST’s three ML-KEM variants.

With X25519MLKEM768, your browser and Light establish two shared secrets during the same handshake. X25519 uses elliptic curve cryptography. ML-KEM-768 uses a different mathematical problem that is believed to resist quantum attacks. The US National Institute of Standards and Technology standardized ML-KEM in FIPS 203.

X25519 and ML-KEM-768 each produce a shared secret. TLS 1.3 combines both to derive the session keys that protect the connection.

TLS derives the session keys from both secrets. Even if an attacker could recover the X25519 secret from a recording, they would still be missing the ML-KEM secret needed to read the invoice.

Why should we trust a NIST standard?

At Light, we don’t take a cryptographic standard on trust just because NIST or the US National Security Agency (NSA) endorses it.

The NSA proposed a random number generator called Dual_EC_DRBG, which NIST included in its recommendations. Cryptographers identified a potential backdoor. Whoever chose two of the algorithm’s constants could have kept a secret that let them predict future output. In 2014, NIST removed the generator from its draft guidance.

The Dual_EC_DRBG episode gives us reason to ask hard questions about ML-KEM. It provides no evidence that ML-KEM has a backdoor. ML-KEM grew out of CRYSTALS-Kyber, a design that researchers around the world spent years trying to break in an open competition.

For Light, the practical question is what happens if the experts are wrong. If an attacker had a secret way to break ML-KEM today, they’d still need to break X25519 to decrypt a recorded session. If they could also break X25519 with a future quantum computer, they could read the invoice they recorded today.

Who else recommends this approach?

The UK’s National Cyber Security Centre recommends X25519MLKEM768 for TLS 1.3 and considers it suitable for business data and government information classified as OFFICIAL.

France’s cybersecurity agency, ANSSI, recommends combining classical and post-quantum cryptography during the transition.

What does it cost?

In a local test with OpenSSL 3.5.9, we compared two full TLS 1.3 handshakes. With X25519 alone, each side sent 32 bytes of key material. With X25519MLKEM768, the client sent 1,216 bytes and the server sent 1,120 bytes, matching the TLS specification.

That’s 2,272 extra bytes of key material per full handshake. Sending more invoices over the same connection adds no further key exchange overhead. Actual load times depend on the network and device.

Verify your connection

In Chrome, open app.light.inc, then open the Privacy and security panel in DevTools. Reload the page and select the origin you want to check under Security. Look for X25519MLKEM768 in the connection details. If you see X25519 alone, that connection used classical key exchange.

You can also test whether app.light.inc accepts a hybrid handshake. Use the button to copy a test prompt, then paste it into an agent with terminal and internet access. It will check the public endpoint without signing in or sending financial data.

The agent tests a new connection from its own network. Your browser may negotiate a different result. The app and API also use separate connections, so check api.light.inc separately in DevTools when it appears.

What comes next

Key exchange protects the confidentiality of the data you send. Authentication lets your browser verify that it’s talking to Light.

Post-quantum signatures can make website certificates much larger. Merkle Tree Certificates let a certificate authority sign a single root covering many certificates. Your browser can then verify a short proof that Light’s certificate belongs to that set.

We have laid the groundwork to implement Merkle Tree Certificates as soon as browsers and certificate authorities support them in production. Our target is early 2027, subject to that support. Cloudflare is targeting the same period for its first certificates. They’ll work alongside the hybrid key exchange that protects your data in transit.

Share All posts

Ready to build what's next?

Bring your ideas to life with Light. Explore what we can create together.

Book a demo