Migration order for hardware security modules

Hardware security modules are still listed as transitioning to post-quantum cryptography, so migration order depends on each vendor's support. Start with key movement and firmware, then move applications.

On this page

Where hardware security module migration should start

If your HSM team has to sequence a post-quantum move, start by assuming support varies by product. CISA's product categories list hardware security modules under Identity, Credential, and Access Management hardware in Table 3, which covers categories still transitioning to PQC standards, and CISA does not list HSMs among the categories where PQC-capable products are widely available. The sources reviewed for this page show that the first pressure points are HSM-to-HSM key movement, firmware level and the client application builds that call into the HSM. Those three areas decide whether you can move keys between units, whether the units can run the algorithms you need, and whether your applications keep working once the firmware changes. These sources are dated 4 December 2026, and this page is written for HSM administrators, platform engineers and security leads who own the sequence of that work.

Key movement comes first because backup, restore and synchronization between HSMs determine how keys reach new hardware. Thales describes hybrid PQC encryption for key synchronization, backup and restore in its Luna v7.9 material, so confirm with your vendor which release, and which mode, applies to your estate before you plan a sequence. Securosys describes its HSMs as supporting both legacy RSA and ECC algorithms and PQC algorithms during the transition, which means a mixed fleet may run for some time. Confirm, with the vendor, whether your current firmware can exchange keys with units on a newer release, and whether a restore from a PQC-enabled backup can run on an older unit. Those answers set the order in which units can be upgraded.

What each vendor source says about migration order

This table lists what each vendor source states about moving hardware security modules to post-quantum cryptography, with the product line, version or component and the document it comes from. Read each row as a fact about that one product and version, not as a ranking of vendors. The sources do not publish a single vendor-neutral migration order, so confirm the sequence for your own product and firmware with the vendor.

Vendor and productVersion or componentWhat the source saysSource and date
Thales LunaLuna v7.9Hybrid PQC encryption is named for key synchronization, backup and restore, which are the places where key movement between HSMs is affected. Plan these paths early.Thales Luna v7.9 blog, undated in the sources
Thales LunaLuna 8Existing customers can migrate without changing current applications, because the ancillaries and interfaces are the same. Confirm this against your integration before assuming it holds.Thales Luna 8 announcement, undated in the sources
Entrust nShieldv13.9.9 firmware and JDKML-KEM encapsulation and decapsulation through javax.crypto.KEM need Java 21. On Java 17 only ML-KEM key generation works. Supported JDKs are 17, 21 and 25.nShield v13.9.9 release notes, undated in the sources
Entrust nShieldv13.9.3 and later nCipherKM.jarThe type of M_EnquiryDataSix.seemachtype changed in v13.9.3. Applications built against earlier nCipherKM.jar files fail with NoSuchFieldError and must be recompiled.nShield v13.9.9 release notes, undated in the sources
Entrust nShieldSolo XC on 3.3.10 and the 5s bootloaderSolo XC units on 3.3.10 cannot upgrade directly and need an intermediate patch from Support. The 5s bootloader upgrades only once primary firmware is v13.4 or later, and the change cannot be reversed.nShield v13.9.9 release notes, undated in the sources
Entrust nShieldOpen issue NSE-70232, firmware 13.8 and laterUnder prolonged heavy MLDSA-44 signing or key generation, a 5s or 5c may log RC_SP_WRONG_PREAMBLE. Restarting restores it. Test sustained PQC signing load before you depend on it.nShield v13.9.9 release notes, undated in the sources
Entrust nShieldv13.9 and v13.9.9 support statusThe v13.9 release fixed a pkcs11extra.h file that wrongly referenced ML-DSA mechanisms. v13.9.9 is Standard-Term Supported, and Entrust recommends the v13.6 LTS release for long-term support.nShield v13.9.9 release notes, undated in the sources
SecurosysPQC hybrid operationSecurosys describes hybrid operations that combine classical RSA or ECC with PQC algorithms, and says its HSMs support both during the transition. Confirm which algorithms your firmware exposes.Securosys PQC page, undated in the sources
SecurosysCloudHSM Sandbox (SBX)The SBX mirrors the ECO user space for PQC migration testing and does not guarantee performance. Use it to test application behavior, not to size production capacity.Securosys PQC page, undated in the sources
UtimacoQuantum Protect simulatorThe free simulator uses the same APIs, configuration and management processes as the hardware, so work can move to production. The sources do not state the migration sequence for hardware units.Utimaco Quantum Protect release, undated in the sources
CISA product categoriesHardware security modules, ICAM Hardware rowHSMs sit under categories still transitioning, so PQC support varies by product. They are not in the widely available table, so do not assume the product you run already supports PQC.CISA product categories list, 23 January 2026

Which HSM components to move first

Several HSM components can be worked in parallel once the inventory is complete, but they depend on each other: key synchronization and client libraries determine what can be moved and tested. The cards below set out each component, what the sources say, and what to confirm with the vendor before scheduling changes.

Key synchronization and backup

Key synchronization and backup move key material between HSMs and into backup sets, so they decide how keys reach new hardware. Thales says its Luna v7.9 release adds hybrid PQC encryption for key synchronization, backup and restore. Confirm with the vendor whether synchronization between an upgraded and a non-upgraded HSM is supported, and whether a backup taken before the change can be restored after it.

Luna v7.9 blog

Firmware and bootloader level

Firmware and bootloader level decides whether a unit can receive PQC support at all. The nShield v13.9.9 notes say Solo XC units on 3.3.10 cannot upgrade directly and need an intermediate patch from Support, and the 5s bootloader can be upgraded only once primary firmware is v13.4 or later, with no reversal. Plan each unit's upgrade path before any other change is scheduled.

nShield release notes

Client libraries and JDK or PKCS #11 headers

Client libraries and PKCS #11 headers are the layer applications compile against, so they set what a build can call. The nShield notes say ML-KEM encapsulation through javax.crypto.KEM needs Java 21, so on Java 17 only key generation works. They also say a PKCS #11 header change in v13.9 wrongly referenced ML-DSA mechanisms. Confirm the JDK version and header version each application is built with.

nShield release notes

ML-KEM and ML-DSA mechanism support

Mechanism support determines which PQC operations a unit can perform, and ML-KEM and ML-DSA are the two families to check. NIST FIPS 203 specifies ML-KEM for key establishment, with three parameter sets. The nShield notes record open issue NSE-70232, where prolonged heavy MLDSA-44 signing can log RC_SP_WRONG_PREAMBLE. Ask the vendor which parameter sets and mechanisms each firmware version supports.

NIST FIPS 203

The test environment

A test environment lets a team run PQC changes before production. Securosys offers a CloudHSM Sandbox that mirrors its user space for migration testing, and says it does not guarantee performance. Utimaco offers a free Quantum Protect simulator with the same APIs as the hardware. Confirm whether a simulator matches the production firmware and library versions, since behavior may differ.

Securosys PQC page

How the order changes by HSM product and version line

Thales says Luna 8 lets existing customers migrate without changing their current applications, because it keeps the same ancillaries and interfaces. For a team already on Luna, that means the application-side work may be smaller than the HSM-side work, but the sources listed on this page do not say how much of the crypto configuration itself carries over unchanged.

  • Key synchronization and backup: Thales's Luna v7.9 material names hybrid PQC encryption for key synchronization, backup and restore. Key movement between HSMs is one of the first places post-quantum behavior will be exercised, so plan that test early.
  • Application interfaces: Thales states that Luna 8 keeps the same ancillaries and interfaces. Confirm this against the exact client library and firmware version your applications load.
  • Version dependence: The Luna 8 claim is tied to that product line. Confirm the firmware and client versions your fleet runs before assuming the no-application-change path applies.
  • Partition and key inventory: Record which partitions hold keys that will need new algorithms, and which operations, such as signing or key wrapping, call them.
  • Vendor statements: The sources listed on this page do not say which Luna algorithms are supported on which firmware. Ask Thales for that matrix in writing.

Before you schedule the cutover, confirm with Thales which Luna 8 firmware and client versions carry the no-application-change statement, and what key synchronization requires during the hybrid period.

Sequence the migration: what to do first

Moving HSM keys and applications to post-quantum cryptography works best as an ordered set of gated steps, where each step confirms the one before it is safe to build on. The sequence below starts with an inventory and a test environment, and ends only when production has been cut over and verified.

  1. Inventory the HSMs and build a test environment

    Record every HSM model, firmware version, client library and application that calls it, and note which products your vendor has classified as PQC-capable. Stand up a test environment that matches production APIs and configuration. Vendor simulators and sandboxes exist for several products, such as the Utimaco Quantum Protect simulator and the Securosys CloudHSM Sandbox, but the sources do not say whether they match your firmware or performance, so confirm that with the vendor. This step closes when you have a written inventory and a test environment you can reproduce.

  2. Check firmware and bootloader compatibility

    Confirm the firmware path for each device before changing anything. Some upgrades cannot be reversed, and the nShield notes say certain Solo XC units on 3.3.10 cannot upgrade directly and need an intermediate patch from Support, while a 5s bootloader upgrade is possible only once primary firmware is v13.4 or later and cannot be reversed. Also check the open issue NSE-70232, where prolonged heavy MLDSA-44 signing or key generation may log RC_SP_WRONG_PREAMBLE on 5s or 5c units. This step closes when every device has a confirmed upgrade path and a support or vendor answer recorded for any open issue that affects you.

  3. Move and back up keys under the new scheme

    Plan key movement and backup before cutover, because HSM-to-HSM key synchronization, backup and restore are affected by the change to hybrid PQC encryption. Thales's Luna v7.9 material names hybrid PQC encryption for these functions. Test a full backup and restore in the test environment, then confirm the restored keys work for your applications. This step closes when a restore from a backup taken under the new scheme succeeds in test and the result is written down.

  4. Test client libraries and runtime versions

    Test your client libraries against the JDK and runtime versions you run. For nShield, ML-KEM encapsulation and decapsulation through javax.crypto.KEM need Java 21, and on Java 17 only ML-KEM key generation works. Supported JDKs are 17, 21 and 25. Run the test on the version you plan to deploy and record the outcome for each mechanism you use. This step closes when a test on each target runtime completes the operations your application needs, with any gaps documented.

  5. Rebuild applications against the new libraries

    Rebuild applications against the updated client libraries. The nShield notes say the type of M_EnquiryDataSix.seemachtype changed in v13.9.3, so applications built against earlier nCipherKM.jar files fail with NoSuchFieldError and must be recompiled. Also check the pkcs11extra.h header fix in v13.9 if you build PKCS #11 code. This step closes when each application is rebuilt, recompiled against the new nCipherKM.jar, and passes its test suite without NoSuchFieldError.

  6. Cut over to production and verify

    Move production traffic in a planned window, with a rollback plan that uses the restore path you tested earlier. Run the same checks you ran in test against production, including signing and key-establishment operations, and watch device logs for errors such as RC_SP_WRONG_PREAMBLE. Confirm with your vendor which release they recommend for long-term support, since the nShield notes say v13.9.9 is Standard-Term Supported and Entrust recommends the v13.6 LTS release. This step closes when production passes the verification checks and the rollback path is documented as tested.

Where key movement and client builds sit in the migration path

The path starts with an inventory of every HSM, its firmware and the applications that call it, then moves to a test environment where the change can be rehearsed. Before any production change, the firmware check confirms the version each unit runs and whether an upgrade needs an intermediate step. HSM-to-HSM key synchronization and backup is the point where key material moves between units, so post-quantum support for that path must be confirmed for the exact version in use. The last steps rebuild client libraries and cut applications over. Two decision points sit on the way: a version mismatch at the firmware check, and a JDK mismatch at the client library rebuild, which can block ML-KEM calls on older runtimes. Use the vendor's release notes to settle each decision.

The migration order, with decision points for firmware version and JDK mismatches.

What vendors have not published and what to ask

The sources on this page do not settle several points that decide the migration order for hardware security modules. Each card names one gap, what the sources do not say, and the question to put to the vendor before you commit a plan.

A vendor-neutral migration order

The sources give no sequence for moving HSM key types, interfaces and applications to post-quantum algorithms that applies across vendors. CISA places hardware security modules in the transitioning list, not the widely available list, so PQC support differs by product and release. Ask each vendor which key types and operations it supports for PQC today, in what order it recommends enabling them, and which dependencies (drivers, client libraries, backup and key-sync paths) must move first.

Transitioning categories
Table 3
CISA product categories

Whether a version can move in place

The sources describe some upgrade paths but not a general rule for moving an existing HSM to a PQC-capable release without rebuilding the cluster or re-enrolling keys. Thales says Luna 8 lets existing customers migrate without changing current applications, and nShield notes that some units cannot upgrade directly. Ask whether your current model and firmware can take PQC in place, which intermediate patches are required, and whether any step is one-way.

nShield release notes

PQC timelines for each product line

The sources do not give dated PQC availability for each HSM product line or for each planned release. Ask each vendor for the release in which the PQC mechanisms you need become generally available, whether they are in long-term support, and whether any are gated behind a licence, a hardware revision or a separate module. Get those dates in writing, since they set when your own migration can start.

Securosys PQC page

Performance under sustained ML-DSA load

Open issue NSE-70232 records that under prolonged heavy MLDSA-44 signing or key generation, a 5s or 5c unit may log RC_SP_WRONG_PREAMBLE, and a restart restores it. The issue was first seen in 13.8 firmware, and the sources do not say whether it is fixed in later releases. Ask Entrust whether NSE-70232 is resolved in your target firmware, and ask every vendor for measured throughput and error rates under sustained ML-DSA signing before you size a deployment.

nShield release notes

What breaks during the move and why

The sources record several specific points where an nShield move breaks existing work, and each one changes what a migration plan must schedule. The first is an application compatibility break. The nShield v13.9.9 release notes say the type of M_EnquiryDataSix.seemachtype changed in v13.9.3, so applications built against earlier nCipherKM.jar files fail with NoSuchFieldError and must be recompiled. Any Java application that links the nShield jar and was built before v13.9.3 should be treated as needing a rebuild and retest, not a drop-in library swap. Confirm which jar version each application was built against before scheduling the firmware move.

The second group concerns the Java runtime and the Solo XC path. The same release notes say ML-KEM encapsulation and decapsulation through javax.crypto.KEM need Java 21, so on Java 17 only ML-KEM key generation works. The supported JDKs listed are 17, 21 and 25, which means a team that stays on 17 can generate ML-KEM keys but cannot complete the encapsulation path. On hardware, Solo XC units on 3.3.10 cannot upgrade directly and need an intermediate patch from Support. The 5s bootloader can be upgraded only once primary firmware is v13.4 or later, and that bootloader upgrade cannot be reversed. Treat the bootloader step as a one-way change that needs a rollback plan decided before it starts.

The third group is defects that affect signing and headers. The nShield notes record open issue NSE-70232: under prolonged heavy MLDSA-44 signing or key generation, a 5s or 5c may log RC_SP_WRONG_PREAMBLE, and restarting the unit restores it, with the issue first seen in 13.8 firmware. The v13.9 fixes also include a pkcs11extra.h file that wrongly referenced ML-DSA mechanisms after adopting the PKCS #11 3.2 header, so builds that include it need checking against the fixed release. Confirm the status of NSE-70232 and the header fix with Entrust for your exact firmware before relying on either in production.

Questions HSM teams ask about migration order

Which hardware security module should we move to post-quantum cryptography first?

Start with the HSMs that hold keys for your highest-impact systems and that other systems depend on. The CISA product categories list places hardware security modules under identity, credential and access management hardware in a row that is still transitioning, so PQC support varies by product and by version. Rank your HSMs by three things: which keys they protect, how many applications call them, and whether their current firmware already supports the algorithms you need. A device that cannot yet run the target algorithms should be scheduled for replacement or an upgrade path rather than migrated first. Confirm the support status of each model and firmware line with the vendor before you set the order.

Does moving our HSMs to post-quantum algorithms require a firmware or software upgrade?

Usually yes, and the upgrade path differs by vendor. For Entrust nShield, the v13.9.9 release notes say that ML-KEM encapsulation and decapsulation through javax.crypto.KEM require Java 21, so on Java 17 only key generation works, and supported JDKs are 17, 21 and 25. The same notes say Solo XC units on firmware 3.3.10 cannot upgrade directly and need an intermediate patch from Support, and that the 5s bootloader can be upgraded only once primary firmware is v13.4 or later and cannot be reversed. Check your runtime versions and your firmware baseline before planning. Thales says Luna 8 lets existing customers migrate without changing current applications, since it keeps the same ancillaries and interfaces. Confirm the exact upgrade steps for your model with the vendor.

Will moving to post-quantum HSM support cost extra?

The cost depends on what your current hardware and licenses already support. Typical cost components include new or replacement hardware where the current device cannot run the target algorithms, vendor license or feature fees for PQC support, professional services for upgrade and testing, staff time for application changes and recompilation, and ongoing support contracts. Some costs are one-time, such as hardware replacement and migration work, while support and license fees recur. The sources on this page do not give a price for any HSM vendor's PQC upgrade. When you request a quote, ask the vendor which license and firmware tiers include PQC, whether any upgrade fee applies, and what the support contract covers after migration. Ask your own team to estimate application rework separately, because it often drives the total.

Can our own team migrate the HSMs in-house, or do we need outside help?

Your team can run the migration if it has HSM administration skills, access to vendor documentation and support, and the time to test. Outside help is most useful for the steps that carry the most risk: upgrading across firmware gaps, coordinating key synchronization and backup between HSMs, and retesting applications. Vendors such as Thales describe hybrid PQC encryption for key synchronization, backup and restore, and that path is where HSM-to-HSM key movement is affected, so it needs careful planning in any case. If you bring in a partner, agree the scope, deliverables and timeline in writing before work starts. DeployOpen plans, implements and tests self-hosted platforms in a client's own infrastructure and runs fixed-scope engagements on that basis, but it does not issue vendor certifications or audit reports.

What should we ask the HSM vendor before we set the migration order?

Ask for written answers on the points that determine sequence and risk:

  • Which algorithms, parameter sets and firmware versions the product supports today, such as ML-KEM-512, ML-KEM-768 and ML-KEM-1024 as specified in NIST FIPS 203.
  • Whether hybrid operation (classical plus PQC) is supported, and for how long legacy algorithms remain available during the transition.
  • Which upgrade steps are required for each model, and whether any direct upgrade path is blocked.
  • How key synchronization, backup and restore work with PQC enabled, and whether HSMs in a cluster must run the same version.
  • Known open issues, with issue IDs and the firmware where they were first seen.
  • Whether a simulator or sandbox is available for testing before production.

CISA and its partner agencies have published a quick-reference list of questions to ask vendors, which is a useful starting checklist.

Is our hardware security module quantum safe once we move it?

No single product or configuration can be called quantum safe as a blanket claim, so avoid describing your HSM that way in an audit or a customer answer. What you can state is which algorithms the HSM supports, which of your keys and operations use them, and which firmware and runtime versions you are running. The CISA publication of 23 January 2026 lists hardware security modules in a table of categories that are transitioning to PQC standards, not in the table of widely available PQC-capable products, so support is still uneven across the category. Record your actual status per device and per key, and treat any vendor statement as something to verify against the release notes for your version.

How does a simulator or sandbox help with migration order?

A simulator or sandbox lets you test application changes, key workflows and upgrade steps before touching production HSMs. Utimaco offers a free Quantum Protect simulator that uses the same APIs, configuration and management processes as its hardware, so work done there can move to production. Securosys offers a CloudHSM Sandbox (SBX) that mirrors the ECO user space for PQC migration testing, and the vendor states that it does not guarantee performance. Use a test environment to find breaking changes, such as the recompilation issue in nShield v13.9.3 where a changed field type caused NoSuchFieldError in applications built against earlier nCipherKM.jar files. Test results from a sandbox do not prove production performance, so plan a staged rollout after testing.

How DeployOpen helps plan and run HSM migrations

DeployOpen approaches migration order for hardware security modules as a scoped engineering exercise, starting from the HSMs and key workflows your organization actually runs. We help sequence the work so that key synchronization, backup and restore, and application integrations are checked before any change reaches production.

How we scope

  • Agree in writing which HSM models, firmware versions and key workflows the migration order covers.
  • List HSM-to-HSM key movement, backup and restore paths, and applications that call the HSM, so each dependency is named before sequencing.
  • Confirm with each vendor whether post-quantum support is available for your model and firmware, since CISA lists HSMs as a category still transitioning.

How we build

  • Build a staging copy of the HSM estate and test hybrid key synchronization and backup restore before any production change.
  • Check application builds against vendor library and runtime requirements, such as JDK versions where the vendor notes call them out.
  • Test vendor simulators or sandbox environments for PQC migration, noting that they may not reflect production performance.

How we hand over

  • Deliver a written migration order with each step, its dependencies, its rollback path and the owner who approves it.
  • Record tested firmware, library and application versions alongside each step so the sequence can be audited later.
  • Document known open issues from vendor release notes and the workaround or retest result for each one.

How we support

  • Run retests after each vendor firmware or library upgrade that touches a step in the migration order.
  • Offer ongoing support and upgrades as a retainer, scoped in writing alongside the initial engagement.
  • Review vendor support notices and advisories as they are published, and update the migration order to match.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.