Blog/Blog

Post-Quantum Migration Starts With an Inventory

|
8 min
Authors
Devin
Devin Bernosky
Post-Quantum Migration Starts With an Inventory
Be the first to hear news and subscribe here.
Key links
Share

This is part 1 of three posts. Part 2 builds the rest of the inventory and keeps it current, and part 3 covers planning the migration and pushing the configuration.

The series is written for the people who manage migration as well as the people who carry it out. Each section starts with what it means for the organization and then gets into details, including code and configuration for engineers. If you’re here for the big picture, the text around the code should hopefully tell the story on its own.

Post-quantum cryptography (PQC) went from a research topic to a deadline this year. Governments in the US, Europe, and the UK have set dates for moving off the encryption most networks use today. They all want the same thing first: a list of where your cryptography lives and what it protects.

The urgency comes from the concept that a person or organization can harvest now and decrypt later. Someone can record your encrypted traffic today and keep it until a large enough quantum computer can decrypt it. The estimates of how large that computer needs to be keep coming down. If the data has to stay confidential for years, sending it over today’s encryption exposes it today.

If you use NetBox, much of that inventory already has a home. NetBox records VPN tunnels (the encrypted links between sites) and the devices at either end, so that’s where this series starts building the cryptographic inventory and the migration plan that comes out of it.

Where the deadlines come from

In the US, OMB’s June memo M-26-15 says every firewall and VPN concentrator that terminates TLS or IPsec must support PQC key exchange. TLS and IPsec protect management sessions and site-to-site tunnels. Key exchange is how the two ends agree on the secret key that protects their traffic.

The White House’s Executive Order 14412 directs OMB to require PQC key establishment on high-value and high-impact systems by the end of 2030, then PQC signatures by the end of 2031. On December 1, 2026, the NSA published an advisory that recommends taking an inventory of cryptography, starting with TLS, IPsec, SSH for remote access, PKI (the certificates that identify systems), and code signing to verify software.

Europe is working to similar dates. The EU’s coordinated roadmap asks member states to take first steps by the end of 2026 and move high-risk systems by 2030. The UK’s NCSC wants discovery and a plan by 2028, with priority migrations by 2031. In January, the G7 Cyber Expert Group proposed a roadmap for migrating critical financial systems by 2030 to 2032.

Those dates leave little room as quantum hardware estimates fall. In 2025, Craig Gidney, software engineer on the quantum computing team at Google Research, estimated that a computer with fewer than a million noisy qubits could break RSA-2048 in under a week. RSA-2048 is the public-key encryption much of today’s internet relies on. In March 2026, Google Quantum AI put the 256-bit secp256k1 elliptic curve behind Bitcoin signatures at under 500,000 physical qubits.

Why the network team gets the ask

Key exchange comes before signatures in the US timeline because that’s what people who harvest now and decrypt later are targeting. Recorded traffic can be decrypted later, but a signature can’t be forged after the fact.

On most networks, those exchanges happen in the IPsec tunnels between branches and datacenters, SSH sessions to routers and switches, TLS on management interfaces, and MACsec encryption on some links between switches. Those connections end on network and infrastructure gear, so when someone asks where the cryptography lives, the request lands with the networking team.

How long the data has to stay secret determines where you start. A rule developed by Michele Mosca, deputy director of the Institute for Quantum Computing at the University of Waterloo, adds that lifetime to the years your migration takes. If the sum is longer than the time until a quantum computer can break the encryption, in Mosca’s words, “we have a serious problem today.” A branch tunnel carrying payment traffic that must stay confidential for ten years needs its migration planned this year.

Next you need to know what each device can support. CISA’s PQC product categories list still puts networking hardware and software in the transitioning group. Support depends on the vendor and release, so knowing which device terminates a connection isn’t enough. You need its platform and software version, and you need to know what that version can do.

Many network teams already keep every device, link, address, and circuit in NetBox. If it’s your network and infrastructure system of record, most of that answer is already there.

What the inventory needs to hold

Canada’s ITSM.40.001 lists the fields the inventory needs. CycloneDX 1.6 defines a standard file format for handing it over, the cryptography bill of materials (CBOM), which describes algorithms, certificates, protocols, and related key material in much the same way as a software bill of materials describes code.

Most of those fields already live in a well-kept NetBox instance. Part 2 adds the missing algorithm and certificate records.

Inventory fieldWhere it lives in NetBoxAvailability
Component using cryptographyDevice, virtual machine, serviceAll editions
Vendor and product versionManufacturer, device type, platform (one platform per OS version)All editions
Network security zoneSite, location, VRF, tagsAll editions
Current cryptographic configurationIKE and IPsec proposals and policies, config contextAll editions
Owner and point of contactTenant, contactsAll editions
Algorithms, certificates, protocol endpointsNetBox Custom Objects types modeled on CycloneDXFree plugin, public preview on NetBox Enterprise
Migration statusCustom fieldsAll editions
Hardware support end datesNetBox Data Exchange (NDX) lifecycle dataNetBox Cloud, NetBox Enterprise Premium

 

The examples we’ll walk through use a NetBox Cloud instance modeled on a bank, with firewall pairs at every site and a few extranet routers connecting it to a card processor and a payment network.

Start with the VPN models

A CISO or examiner usually starts by asking which connections use the weakest settings and where they go. Without a record, you have to log into every firewall and router to find out and then do it again the next quarter. With the VPN configuration in NetBox, you can query it.

NetBox has recorded tunnels since v3.7. IKE is the protocol two VPN endpoints use to negotiate keys, and an IKE proposal holds the settings they agree on before bringing up a tunnel. It names the encryption algorithm, an integrity algorithm that detects changes to traffic, and the Diffie-Hellman group that sets the math for the key exchange. Proposals, policies, tunnels, and tunnel endpoints are all linked, filterable NetBox records.

The script below uses pynetbox, the Python client for the NetBox API. It reads every IKE proposal and flags legacy groups and algorithms, then follows each flagged proposal through its policy and profile to the tunnels and devices using it.

find_weak_ike.pyPython

At the bank, the script finds four tunnels. Two connect recently acquired branches, the third is an IKEv1 link to the card processor using 3DES and group 5, and the fourth is a planned recovery tunnel still on group 14.

$ python find_weak_ike.pyOutput

Each of those tunnels has a site, device, and owner in NetBox, so the output is a short risk list with someone to follow up with for each. The same filter works in the NetBox UI without a script.

IKE proposals filtered to legacy groups and algorithms

Some of this work is overdue with or without a quantum computer. Groups 1, 2, and 5, along with 3DES, have been weak for years. Group 14 and the elliptic-curve groups 19 to 21 still hold up against today’s attacks, but a quantum computer breaks all of them. Every proposal without a post-quantum exchange belongs in the PQC migration, including the ones that look healthy today.

Vendors handle the quantum risk with hybrid key exchange, where the tunnel keeps its classical Diffie-Hellman exchange and adds a post-quantum exchange alongside it. As long as either one holds, the connection stays protected. The post-quantum algorithm is ML-KEM, standardized by NIST as FIPS 203. Cisco IOS XE 26.1, FortiOS 7.6.1, and PAN-OS 11.2 already ship it for IPsec.

RFC 9370 lets an IKEv2 negotiation carry up to seven additional key exchanges alongside the initial one. The IANA key exchange method IDs for ML-KEM-512, ML-KEM-768, and ML-KEM-1024 are 35, 36, and 37, and the IETF document defining them is in the RFC Editor queue.

In NetBox, an IKE proposal holds one Diffie-Hellman group and has no ML-KEM choice, so its core fields can’t describe a hybrid exchange. A multi-select custom field on the proposal, with ML-KEM-512, ML-KEM-768, and ML-KEM-1024 as its choices, records the extra exchange alongside the classical group.

The field shows on the proposal and works as a filter in the list view. Scripts can also query it through the REST and GraphQL interfaces. This proposal records ML-KEM-768.

IKE proposal with ML-KEM-768 recorded as an additional key exchange

That covers the tunnels. SSH on every device, TLS on management interfaces, and the certificates behind them still need records of their own, and a list typed by hand goes stale within a month. Part 2 uses NetBox Custom Objects for those records and fills them from the network automatically.