Frode Lundgren
Frode Lundgren
CTO Vespa.ai

How Vespa Cloud is rolling out post-quantum cryptography

How Vespa Cloud is rolling out post-quantum cryptography

The TL;DR: Vespa Cloud already uses hybrid post-quantum key exchange for connections between content nodes. Customer-facing APIs still use classical key exchange, and work on bringing hybrid key exchange to those endpoints is ongoing. Vespa manages the server-side rollout through normal platform upgrades.

On December 2, the NSA advised operators of US National Security Systems to accelerate their transition to post-quantum cryptography. This is where Vespa stands today in relation to this.

Where Vespa stands today

Parts of Vespa Cloud already run post-quantum key exchange today. In Vespa Cloud, all internal traffic uses mutually authenticated TLS, data plane requests use mTLS or tokens, and customer data is encrypted at rest with AWS KMS or Google Cloud KMS.

How this relates to the NSA’s recommendations:

  • Content nodes already use post-quantum key exchange. The processes that store and serve your data talk to each other over TLS 1.3 with the hybrid X25519MLKEM768 group, which pairs ML-KEM with classical X25519.
  • Customer-facing APIs still use classical key exchange today. When your application connects to a Vespa Cloud API, it currently uses X25519 key exchange.
  • Only modern ciphers. Vespa negotiates only forward-secret cipher suites. Symmetric encryption using AES-256 at rest.
  • Certificates stay classical until the ecosystem catches up. Our root CA uses RSA 4096, above the NSA’s interim RSA 3072 minimum. RSA is not quantum-resistant at any size, but public CAs and most TLS clients don’t support post-quantum certificates yet, so classical signatures remain the norm for public certificates. Our internal certificates don’t depend on that, so we will move them sooner.

Our path towards post-quantum cryptography

Our next steps are:

  1. Bring hybrid key exchange to customer-facing APIs. We plan to roll out TLS 1.3 support on container endpoints over the coming weeks. The next milestone is for all customer-facing API endpoints to support hybrid post-quantum key exchange. Applications with compatible TLS clients will then be able to negotiate it when they connect.
  2. The strongest ciphers by default. Where the server chooses, it will prefer the strongest suites, without breaking compliant clients.
  3. Post-quantum certificate signatures. We’re planning how our internal certificate authorities will adopt post-quantum signatures. For publicly trusted certificates, the timing will depend on support from public certificate authorities and the clients that connect to Vespa.
  4. A full cryptographic inventory. Out of an abundance of caution, we are mapping where Vespa Cloud uses TLS, certificates, and signing keys so we can prioritize the remaining migration work and track it to completion.

What this means for you

Vespa Cloud customers. We handle the server-side rollout as part of our frequent, automatic platform upgrades. You need to keep the applications that connect to Vespa ready to upgrade. Check that your clients support TLS 1.3 and that you can update their TLS libraries or runtimes on short notice. Some changes may require a coordinated client upgrade, even when we manage the server side.

Self-hosted Vespa operators. You own both sides of the transition. Alongside upgrading your clients, your team needs to track Vespa and operating-system releases, test changes against your applications, and roll them out across your clusters. If you run Vespa on Kubernetes, the Vespa Enterprise Kubernetes controller can help you roll out Vespa upgrades in an orchestrated fashion. Your team still owns the rollout and any required TLS configuration or certificate changes. Be prepared to complete that work within days when a security update calls for it, and to repeat it if follow-up releases arrive in the same week. On Vespa Cloud, we do all that platform work for you.

Sources

Read more