Which Node.js features and APIs depend on RSA and elliptic-curve keys

In Node.js, TLS key agreement, certificate and signature checks, and the node:crypto key types rely on RSA, Diffie-Hellman or elliptic-curve keys by default, and post-quantum options exist only in builds linked to OpenSSL 3.5 or later.

On this page

Which Node.js features depend on RSA and elliptic-curve keys today

If you are an assessor inventorying a Node.js service, or the npm and release-verification path that feeds it, the short answer is this: TLS handshakes, certificate and signature checks, and the asymmetric key types in node:crypto depend on RSA, Diffie-Hellman and elliptic-curve keys. Post-quantum key types and TLS groups exist only in builds that use OpenSSL 3.5 or later. Official Node.js 24.5.0 shipped with OpenSSL 3.5.1, and Node.js 22.20.0 bundles OpenSSL 3.5.2 in official or default-configuration builds, which does not affect third-party builds linked to an external OpenSSL. The current LTS lines listed on the Node.js release table checked on 2026-12-03 are v26 (Lithium), v24 (Krypton) and v22 (Jod).

The node:crypto module exposes rsa, rsa-pss, dsa, dh, ec, ed25519, ed448, x25519 and x448 key types, and the ecdhCurve option of tls.createSecureContext() sets the TLS groups offered in TLS 1.3, with a default of 'auto'. Node.js 24.7.0 added ML-KEM through crypto.encapsulate() and crypto.decapsulate(), and ML-DSA in crypto.sign() and crypto.verify(), when OpenSSL 3.5 is used. The ecdhCurve documentation uses X25519MLKEM768 as an example group name but does not say that a hybrid group is the default, so the default selection follows the linked OpenSSL library. Confirm the negotiated group in your own environment, for example with tlsSocket.getEphemeralKeyInfo(), which reports hybrid ML-KEM groups in builds with OpenSSL 3.5 or later.

Node.js has published no dated post-quantum roadmap in the sources checked for this page, and the README, CLI docs and release notes contain no statement about CNSA 2.0. Vendor-risk leads recording this answer should note that date as the last check and ask the project or the distributor for any commitments in writing. Engineers running Node.js servers and clients should inventory the build's OpenSSL version with node -p process.versions.openssl, and check whether any --tls-cipher-list or ecdhCurve settings override the defaults. Note that the --enable-fips flag does not by itself load or validate a FIPS provider.

Which Node.js version and feature lines expose which public-key options

This table compares, by Node.js feature and release line, which public-key options are available, from TLS defaults and signature settings to ML-KEM, ML-DSA and SLH-DSA support. Read each row against the version column, because a feature may exist only in a later line or only when Node.js is built with OpenSSL 3.5 or later. The main takeaway is that TLS defaults and classic RSA and elliptic-curve key types are present across lines, while post-quantum key types arrive from v24.6.0 onward and depend on the linked OpenSSL. Third-party builds linked to an external OpenSSL may differ from these rows.

Feature or settingVersion or line where it appearsSource and date checkedNotes for assessors
TLS default version rangeTLSv1.2 minimum, TLSv1.3 maximum (documented defaults)Node.js tls docs, checked 2026-12-04Can be changed process-wide with --tls-min and --tls-max CLI flags. Confirm the flags in the running process.
ecdhCurve default'auto' (tls.DEFAULT_ECDH_CURVE)Node.js tls docs, checked 2026-12-04'auto' follows the linked OpenSSL library. The docs do not state that a hybrid post-quantum group is the default.
sigalgs option in tls.createSecureContext()Available since v12.11.0Node.js tls docs, checked 2026-12-04Accepts lists such as RSA-PSS or ECDSA. Confirm the list used in your configuration.
Asymmetric key types in node:cryptorsa, rsa-pss, dsa, dh, ec, ed25519, ed448, x25519, x448Node.js crypto docs, checked 2026-12-04These classic types rely on public-key algorithms for signatures or key agreement.
ML-DSA key typesFrom v24.6.0 (per keyObject.asymmetricKeyType history)Node.js crypto docs, checked 2026-12-04Listed as ml-dsa-44, ml-dsa-65 and ml-dsa-87. Availability depends on OpenSSL 3.5 or later in the build.
ML-KEM key types and operationsFrom v24.7.0, via crypto.encapsulate() and crypto.decapsulate()Node.js release blog v24.7.0; crypto docs, checked 2026-12-04Listed as ml-kem-512, ml-kem-768 and ml-kem-1024. Confirm the OpenSSL version of your build.
SLH-DSA key types and signingFrom v24.8.0Node.js release blog v24.8.0, checked 2026-12-04Added as KeyObject, sign and verify support. Confirm support in your build before relying on it.
Web Crypto ML-KEM-768 and ML-DSA-65From v24.7.0Node.js Web Crypto docs, checked 2026-12-04The Web Crypto page does not list SLH-DSA. Confirm algorithm names against the docs for your line.
Bundled OpenSSL 3.5.xv24.5.0 (OpenSSL 3.5.1) and v22.20.0 (OpenSSL 3.5.2) in official buildsNode.js release blogs v24.5.0 and v22.20.0, checked 2026-12-04The v22.20.0 notes say this does not affect third-party builds linked to an external OpenSSL.
LTS and current linesv26 (Lithium), v24 (Krypton) and v22 (Jod) listed as LTS; v27 listed as AlphaNode.js previous releases, checked 2026-12-03Confirm the line your servers run against the release table on the day of your assessment.

Where TLS connections in Node.js rely on RSA and elliptic-curve keys

Most TLS connections that a Node.js application opens or accepts depend on RSA or elliptic-curve keys in two places: the key agreement that sets up the session, and the certificates that authenticate each side. The tls module controls both through tls.createSecureContext() and the options passed to tls.createServer(), tls.connect() and https. The key agreement group is set by the ecdhCurve option, which defaults to tls.DEFAULT_ECDH_CURVE, whose value is 'auto', so the group actually negotiated follows the OpenSSL library that Node.js is linked against. Certificate signatures are governed by the sigalgs option, which takes a colon-separated list such as RSA-PSS or ECDSA. Confirm which of these your application sets explicitly, because an unset option means you are depending on the defaults of the build.

The protocol version range is the next thing to check. By default, tls.createSecureContext() uses tls.DEFAULT_MIN_VERSION (TLSv1.2) and tls.DEFAULT_MAX_VERSION (TLSv1.3). The TLS 1.3 cipher suites enabled by default are TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256 and TLS_AES_128_GCM_SHA256. The CLI flags --tls-min-v1.3 and --tls-max-v1.2 change the range for the whole process, and --tls-cipher-list or NODE_OPTIONS can replace the default cipher list, so a process-level setting can override code-level choices. Check both the code and the start-up command or environment of each deployment.

Trust decisions decide which CA signatures a connection accepts. Node.js reads trusted CA certificates from a bundled Mozilla store (tls.rootCertificates), and the flags --use-openssl-ca, --use-bundled-ca and --use-system-ca plus the variables NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and SSL_CERT_DIR change which store is used. The tls documentation does not state that a hybrid post-quantum group is the default, so the negotiated group depends on the OpenSSL build. To find out what a live connection used, call tlsSocket.getEphemeralKeyInfo(), which reports a group name such as X25519MLKEM768 when Node.js is built with OpenSSL 3.5 or later, per the Node.js commit that added negotiated group reporting. Record the result per Node.js build, not per application.

How the answer changes by Node.js line and build source

Official Node.js binaries are the builds published on nodejs.org, and the release notes record the OpenSSL version each one ships with. The v24 and v22 lines received OpenSSL 3.5 series builds, which is the version that exposes post-quantum key types and hybrid key exchange groups in the Node.js API. The v26 line is listed as LTS in the release table checked on 2026-12-03, and its release notes cover the ML-KEM and ML-DSA export defaults.

  • v24 line: Node.js 24.5.0, released 2025-07-31, shipped with OpenSSL 3.5.1 for official builds.
  • v22 line: Node.js 22.20.0, released 2025-09-24, bundles OpenSSL 3.5.2 in official or default-configuration builds.
  • v24 post-quantum APIs: Node.js 24.7.0 added ML-KEM through crypto.encapsulate() and crypto.decapsulate(), and ML-DSA in crypto.sign() and crypto.verify(), when OpenSSL 3.5 is used.
  • v26 line: Node.js 26.0.0, released 2026-05-05, changed ML-KEM and ML-DSA PKCS#8 export to default to the seed-only format.
  • Verification: Release downloads are checked against the SHASUMS256.txt.asc file and releaser PGP signature.

Confirm the exact version with node -p process.versions.openssl and compare it with the release notes for your line before you assume a feature is present.

Which Node.js components and APIs carry public-key dependencies

Node.js relies on public-key cryptography in several places: TLS handshakes, asymmetric keys in node:crypto, signing and verification, the Web Crypto API, CA trust, and release and package verification. Each component below states what its public key does and what the checked sources say about post-quantum support, so you can record an answer for each one.

TLS and createSecureContext

TLS connections use public-key algorithms during the handshake to agree on keys and authenticate the server, and tls.createSecureContext() controls these choices through ecdhCurve, sigalgs and the cipher list. The ecdhCurve option sets the TLS 1.3 key share groups and accepts names such as X25519MLKEM768, but its default is 'auto', which follows the linked OpenSSL library rather than a documented hybrid default. The sigalgs option lists the signature algorithms offered, and the default cipher list can be replaced with --tls-cipher-list or by changing tls.DEFAULT_CIPHERS. Confirm the groups and algorithms your build negotiates in your own environment.

TLS docs

Asymmetric keys in node:crypto

The node:crypto module generates and holds asymmetric keys for rsa, rsa-pss, dsa, dh, ec, ed25519, ed448, x25519 and x448, which are used for key agreement or signatures. For RSA and DSA, generateKeyPair takes a modulusLength in bits and defaults publicExponent to 0x10001. Post-quantum key types are also listed: ml-kem-512, ml-kem-768, ml-kem-1024, ml-dsa-44, ml-dsa-65, ml-dsa-87, and SLH-DSA key support was added in v24.8.0. Check which key types your Node.js version exposes before you assume a post-quantum option is available.

Crypto docs

crypto.sign and crypto.verify

crypto.sign() and crypto.verify() create and check digital signatures with a private or public key, and these calls are where code-level signing depends on public-key algorithms. Node.js 24.7.0 added ML-DSA (FIPS 204) to these existing methods when OpenSSL 3.5 is used. Node.js 24.8.0 added SLH-DSA (FIPS 205) signing and verification with KeyObject. Check which algorithm and key type your application passes to these calls, and confirm the build's OpenSSL version before you rely on any post-quantum signature.

Web Crypto API

The Web Crypto API in Node.js is a separate interface from node:crypto, and it exposes public-key operations to code that follows the browser-style specification. The Node.js Web Crypto page lists ML-KEM-768 and ML-DSA-65 as supported algorithms since v24.7.0. The same page does not list SLH-DSA, so do not assume that SLH-DSA is available through this interface. Recheck the algorithm list for the exact Node.js release you run, because the list depends on the version and the OpenSSL library.

Web Crypto docs

CA trust and CLI root flags

Node.js verifies server certificates against a set of trusted CA roots, which determines whose public keys your connections accept. By default Node.js reads a bundled Mozilla store (tls.rootCertificates), and the flags --use-openssl-ca, --use-bundled-ca and --use-system-ca, along with NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and SSL_CERT_DIR, change which roots are used. The --openssl-config flag and OPENSSL_CONF load an OpenSSL configuration file. The checked sources do not describe post-quantum certificate roots, so confirm with your CA owner which certificate algorithms your chain uses.

CLI docs

Release and npm package verification

Node.js release downloads are verified with a SHASUMS256.txt.asc file that carries SHA checksums and a releaser PGP signature, checked against keys from the nodejs/release-keys repository. The npm registry is moving its signatures from PGP to ECDSA, and the npm documentation states that only ecdsa-sha2-nistp256 keys are currently supported by the npm CLI. Neither source describes post-quantum signatures for release or registry verification. Record the verification method your team uses and check the npm documentation for changes to supported key types.

npm signature docs

How a Node.js TLS handshake and its key settings connect

The diagram starts at a client that opens a TLS connection to a Node.js server, where tls.createSecureContext() sets the version range, the ecdhCurve option selects the key-exchange group, and sigalgs limits the signature algorithms for the server certificate. The OpenSSL library linked into the Node.js build supplies the actual groups and algorithms, and the default 'auto' selection follows that library. The hybrid group X25519MLKEM768 appears only when the linked OpenSSL is version 3.5 or later. Check the Node.js and OpenSSL versions in your build, then confirm the negotiated group with tlsSocket.getEphemeralKeyInfo() during testing.

Node.js TLS server settings and the OpenSSL library that supplies the groups.

Whether Node.js FIPS flags change the public-key answer

The --enable-fips flag does not, by itself, change which public-key algorithms Node.js uses or certify them. With OpenSSL 3, it only adds fips=yes to the default property query, which asks OpenSSL to prefer FIPS-flagged implementations when more than one is available. It does not load a FIPS provider or validate one. The same is true of crypto.getFips(), which reports the setting Node.js was started with, not whether a validated module is actually in use. Before recording any RSA or elliptic-curve algorithm as FIPS-approved, confirm with the vendor and your own build which OpenSSL provider is loaded, its module version and its validation status.

The --force-fips flag adds a stricter mode in v26.9.0 and later. It requires OpenSSL 3.4 or later and rejects operations that OpenSSL's FIPS indicator reports as non-approved. This makes the behavior more restrictive, but it still does not establish that a validated provider is present. Teams that depend on this mode should test the specific RSA, DH and ECDSA paths their applications use, because a rejected operation surfaces as a runtime error rather than a configuration warning.

The --openssl-config flag and the OPENSSL_CONF environment variable load an OpenSSL configuration file, and --openssl-legacy-provider enables the OpenSSL legacy provider. Each changes which algorithms OpenSSL offers to the process, so a configuration file or flag can add or remove public-key options without any change to Node.js code. Record the exact file, flags and environment variables in your inventory, because they determine the effective algorithm set. None of these settings is a validation or certification claim, and none should be presented as one in a vendor or audit response.

What to check first to answer the public-key question for a Node.js service

This sequence establishes which Node.js version and OpenSSL build a service actually runs, which TLS and cipher defaults apply, which certificates and key types are in use, and whether application code creates keys with explicit options. The result is a dated record that answers whether the service's connections, logins and signatures depend on RSA, Diffie-Hellman or elliptic-curve keys.

  1. Record the exact Node.js version and build source

    Run node --version on each host or container that runs the service and record the full version string, such as the release line and patch number. Also record whether the binary came from the official nodejs.org builds, a distribution package, a container base image or a build that links to an external OpenSSL, because the Node.js release notes say bundled OpenSSL updates do not affect third-party builds that link to an external OpenSSL. The step is closed when every running binary has a version and a recorded build source. Check the release line against the Node.js previous releases page to confirm whether it is still in LTS.

  2. Read the OpenSSL version bundled with the runtime

    Run node -p process.versions on each binary from the previous step and read the openssl entry. This is the library that actually performs the key exchange, signature and certificate work for the node:crypto and tls modules, so it is the value that matters for the public-key question. Record the OpenSSL version next to the Node.js version. The step is closed when each binary has a recorded OpenSSL version, and any binary linked to an external OpenSSL shows the version of that external library.

  3. List the TLS defaults and command-line overrides

    Print tls.DEFAULT_MIN_VERSION, tls.DEFAULT_MAX_VERSION, tls.DEFAULT_ECDH_CURVE and tls.DEFAULT_CIPHERS from a short script run under the same binary, and capture the effective command-line options from the service's startup configuration, including any --tls-min-*, --tls-max-*, --tls-cipher-list, --openssl-config or --openssl-legacy-provider flags and any NODE_OPTIONS or OPENSSL_CONF values. Record whether the ecdhCurve default is auto, which follows the linked OpenSSL library. The step is closed when the defaults and any overrides are written down for each service, and each override is traced to its source, whether that is a unit file, container spec or wrapper script.

  4. Inventory certificates and their key types

    List every certificate the service presents as a server, and every CA bundle it trusts, using the CA sources named in the Node.js CLI docs (the bundled Mozilla store, --use-openssl-ca, --use-system-ca, NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and SSL_CERT_DIR). For each certificate, record the key type and size, such as RSA with its modulus length or an elliptic-curve key, along with its issuer and expiry date. The step is closed when each leaf and CA certificate used by the service has a recorded key type, and the list states which CA source the service actually loads.

  5. Search code for explicit key generation and context options

    Search the service's source and its dependencies for calls to crypto.generateKeyPair and similar key-generation functions, and for calls to tls.createSecureContext or https and tls server options that set ecdhCurve, sigalgs, ciphers, minVersion or maxVersion explicitly. Note the algorithm, key size and curve named in each call, because explicit options override the defaults recorded in the earlier steps. The step is closed when every call site is listed with its file, its options and whether the key type is RSA, DSA, Diffie-Hellman or an elliptic-curve or other type. Calls in third-party packages should be noted separately and confirmed against those packages' documentation.

  6. Record vendor status from the project's published sources

    Check the Node.js crypto, tls and CLI documentation, the release notes for the installed version and the OpenSSL release notes for the bundled library, and record what each says about post-quantum key types and hybrid groups in that version. The Node.js release notes are the place to confirm when ML-KEM, ML-DSA and SLH-DSA support was added and in which release line, and the docs state that the --enable-fips flag alone does not load or validate a FIPS provider. Note any statement the sources do not make, such as the absence of a published post-quantum roadmap in the reviewed README, CLI docs and release notes. The step is closed when the sources, their dates and the exact version each statement applies to are written into the record for the service.

What the Node.js project has not published and what to ask

The checked Node.js README, CLI docs and release notes contain no dated post-quantum roadmap, no CNSA 2.0 statement and no claim that a hybrid group is the default. Each card below names one gap, what to ask the project or your distributor, and where to check the answer.

No dated post-quantum roadmap

The Node.js README, CLI docs and release notes checked for this page contain no dated post-quantum roadmap. Ask the project whether it has published a timeline for post-quantum defaults, deprecations or removals, and on which release line each step would land. Check the project's release blog and changelog for each new major release, since a roadmap published there would be the first place it appears. Record the date you checked, because this answer can change without notice.

Node.js v26 release notes

No CNSA 2.0 statement

The checked project materials contain no statement about CNSA 2.0 for Node.js. CNSA 2.0 applies to national security systems, so a commercial organization should not read its absence as a requirement or a waiver. Ask the project, or the distributor that supplies your build, whether any CNSA 2.0 parameter set has been tested or documented for the release line you run. If a federal customer requires CNSA 2.0 alignment through a contract, ask that customer which evidence it accepts.

Node.js crypto docs

No statement that hybrid is default

The TLS docs do not say that a hybrid post-quantum group is the default. The ecdhCurve default is 'auto', which follows the linked OpenSSL library, so the group actually negotiated depends on that library and its version. To confirm what your build offers, check the ecdhCurve setting in your own configuration and inspect the negotiated group with tlsSocket.getEphemeralKeyInfo() in a test connection. Ask the project to state the default explicitly in its docs if it intends one.

Node.js tls docs

No SLH-DSA entry in Web Crypto

The Node.js Web Crypto docs list ML-KEM-768 and ML-DSA-65 as supported algorithms since v24.7.0, and the page does not list SLH-DSA. SLH-DSA is available through the node:crypto KeyObject, sign and verify methods from v24.8.0, so code that calls Web Crypto cannot use it through that API. Ask the project whether SLH-DSA will be added to Web Crypto and in which release. Check the Web Crypto page for each release, and check your code for any Web Crypto call that expects SLH-DSA before you assume it works.

Node.js Web Crypto docs

Post-quantum status in distribution builds

Node.js 22.20.0 bundles OpenSSL 3.5.2 in official or default-configuration builds, and the release notes say this does not affect third-party builds that link to an external OpenSSL. Distribution-packaged Node.js can link to a system OpenSSL of a different version, so the post-quantum algorithms it offers may differ from the official build. Ask your distributor which OpenSSL version its Node.js package links against and whether ML-KEM and ML-DSA are available in that build. Check the output of the package's version and crypto feature tests on a host you run.

Node.js v22.20.0 notes

Timing of default-on hybrid groups

OpenSSL 3.5.0 changed the default TLS keyshares to offer X25519MLKEM768 and X25519, but the Node.js docs do not say when a hybrid group becomes the default in a Node.js release. The default follows whichever OpenSSL version a build uses, so the timing depends on both the Node.js release line and the OpenSSL version bundled or linked. Ask the project for the release in which its default changes, and ask your distributor when its builds will move to an OpenSSL version that offers hybrid groups by default. Check each release's OpenSSL version in its release notes.

OpenSSL 3.5 release notes

What can go wrong when Node.js public-key settings are assumed to be post-quantum

The most common mistake is assuming a Node.js service negotiates post-quantum key exchange because the runtime supports it. Support and default behavior are different things. The ecdhCurve option in tls.createSecureContext() defaults to 'auto', and the Node.js TLS documentation does not say that a hybrid post-quantum group is the default. In auto mode the group list follows whichever OpenSSL library the binary links against. Node.js 24.5.0 shipped with OpenSSL 3.5.1 in official builds, and OpenSSL 3.5.0 is the release that changed default TLS keyshares to offer X25519MLKEM768 and X25519. A process linked to an older OpenSSL, or a third-party build that links an external OpenSSL (the Node.js 22.20.0 release notes say the bundled 3.5.2 does not affect those builds), can silently negotiate classical groups only. Confirm the linked OpenSSL version on each host with process.versions.openssl and check the negotiated group with tlsSocket.getEphemeralKeyInfo(), which reports the group name when built with OpenSSL 3.5 or later.

Explicit overrides can remove post-quantum groups even when the runtime could offer them. The --tls-cipher-list switch, its NODE_OPTIONS equivalent, and assignments to tls.DEFAULT_CIPHERS replace the default cipher list, and an ecdhCurve value that names only classical groups such as X25519 removes the hybrid option entirely. A configuration copied from an older hardening guide can carry this forward unchanged long after the runtime was upgraded. Signatures are a separate question. The sigalgs option accepts values such as RSA-PSS and ECDSA, and a certificate chain that uses RSA or ECDSA keeps the authentication side classical even when the key exchange is hybrid. Hybrid key exchange protects the session from recording, but it does not change the certificate. Inventory the certificate key types and signature algorithms separately from the key exchange groups.

Older clients and middleboxes can also change the outcome. Peers that do not offer a hybrid group will fall back to a classical one, and load balancers or inspection devices in the path may reject or mishandle larger key shares. Test the handshake with the clients you actually serve, not only with a current Node.js client. For stored keys, Node.js 26.0.0 changed ML-KEM and ML-DSA PKCS#8 export to default to the seed-only format. Any process that exports these keys, writes them to disk, and later reads them back in a different runtime version needs to be tested for the format change before the upgrade reaches production. Confirm which format existing stored keys use, and treat keys exported before the change as requiring a read test rather than an assumption.

Questions engineers and vendor-risk reviewers ask about Node.js public-key dependencies

Is Node.js quantum safe?

The supported facts do not allow a product-level claim that Node.js is quantum safe, and this page does not make one. What the facts show is narrower. The node:crypto module wraps OpenSSL, and since Node.js 24.7.0 it exposes ML-KEM (FIPS 203) through crypto.encapsulate() and crypto.decapsulate(), and ML-DSA (FIPS 204) through crypto.sign() and crypto.verify(), when built against OpenSSL 3.5 or later. Whether a given connection or signature uses these algorithms depends on the Node.js version, the OpenSSL library it is linked against, and the settings your application uses. Treat each use as something to test in your own environment, and record the exact version and configuration you verified.

Which Node.js version is needed for ML-KEM and ML-DSA?

The facts point to these minimums:

  • ML-DSA in crypto.sign() and crypto.verify() was announced with Node.js 24.7.0, released 2025-08-27.
  • ML-KEM through crypto.encapsulate() and crypto.decapsulate() was also announced with Node.js 24.7.0.
  • SLH-DSA key support arrived in Node.js 24.8.0, released 2025-09-10.
  • The Web Crypto API lists ML-KEM-768 and ML-DSA-65 from v24.7.0, and does not list SLH-DSA.

All of these depend on OpenSSL 3.5 or later. The OpenSSL 3.5.0 release, dated 8 April 2025, added these algorithms. Node.js 24.5.0 shipped with OpenSSL 3.5.1, so check the OpenSSL version your binary reports before relying on any of them.

Does moving Node.js to post-quantum algorithms cost extra?

The facts do not give cost figures, so ask your team or a vendor for them. The main cost drivers are: the engineering time to test each application on the new version, any rebuild needed if you compile Node.js against your own OpenSSL, staff time for certificate and key rotation, and testing against older clients and peers. Node.js itself is open source and its release downloads are free, so the one-time and recurring costs mostly sit with your engineering and operations staff, plus any outside services you hire. When you request a quote, ask for the scope, the environments covered, which Node.js and OpenSSL versions are targeted, and whether retesting is included.

What breaks when Node.js is upgraded to a post-quantum build?

The facts name several points to check, not a fixed list of breaks:

  • Default TLS groups: the default ecdhCurve value is 'auto', and the tls docs do not say a hybrid group is the default. The selection follows the linked OpenSSL library, so the negotiated group can change after an OpenSSL upgrade.
  • PKCS#8 export: from Node.js 26.0.0, ML-KEM and ML-DSA PKCS#8 export defaults to a seed-only format. Code that parses exported keys may need changes.
  • Cipher lists and CA sources: the default cipher list, the CA trust sources and the OpenSSL configuration file can all change behavior after an upgrade.

Test TLS handshakes, key import and export, and signature verification in a staging environment, and compare the results with the previous version.

What should we ask the Node.js project or our distributor?

Ask for the following, and record the answers with dates:

  • Which Node.js release lines are LTS, and which Node.js version your application targets. As of the release table checked on 2026-12-03, v26, v24 and v22 are LTS, and v27 is Alpha.
  • Whether the Node.js build you use links against OpenSSL 3.5 or later, and which OpenSSL version it reports.
  • Whether your distributor builds Node.js against its own OpenSSL, and whether it has published a notice about that choice. The Node.js 22.20.0 release notes say the bundled OpenSSL does not affect third-party builds that link to an external OpenSSL.
  • Any published statement from the project about post-quantum plans. The Node.js repository README, CLI docs and release notes checked for this page contain no statement about CNSA 2.0 or a dated post-quantum roadmap, so ask for a written position if you need one.
Can our team do this alone, or do we need outside help?

Many teams can start the work in-house. The steps are an inventory of where your applications call node:crypto or TLS, a test of the target Node.js and OpenSSL versions, and a staged rollout with rollback. Outside help is useful when you have many services, limited staff time, or a need for documented test evidence for an assessor. DeployOpen plans, implements, tests and documents self-hosted platforms inside your infrastructure, and prepares evidence for compliance assessments, but it does not issue audit reports or certifications. Scope and deliverables are agreed in writing before work starts.

Do the --enable-fips or --force-fips flags mean the cryptography is validated?

No. The facts say the --enable-fips flag with OpenSSL 3 only adds fips=yes to the default property query. It does not load or validate a FIPS provider. The crypto.getFips() function likewise does not establish that a FIPS provider is loaded or validated. The --force-fips flag adds a strict mode in v26.9.0 that rejects operations the OpenSSL FIPS indicator reports as non-approved, and it requires OpenSSL 3.4 or later. Even so, that mode is not a validation. To confirm validation status, check which FIPS provider and certificate your OpenSSL build uses, and ask an accredited assessor to review it.

How DeployOpen helps assess and plan Node.js public-key changes

DeployOpen works through the places where Node.js uses RSA, Diffie-Hellman and elliptic-curve keys: TLS connections, the node:crypto module, certificate trust and package signature checks. We start from your own Node.js versions, OpenSSL builds and application code, then document which public-key dependencies you actually have before any change is planned.

How we scope

  • We confirm which Node.js release lines, such as v22, v24 or v26, and which OpenSSL builds your services run.
  • We list the TLS endpoints, client connections and node:crypto uses in your code that depend on RSA, DH or EC keys.
  • Engagements are fixed-scope, with the systems covered and deliverables agreed in writing before work starts.

How we build

  • We record the ecdhCurve, sigalgs and cipher settings in use and check them against the defaults in the Node.js TLS documentation.
  • We test whether your Node.js builds link to the bundled OpenSSL or an external one, since that changes which algorithms are available.
  • We check the key types your code generates, such as rsa, ec and ed25519, and note where ML-KEM or ML-DSA key types would apply.

How we hand over

  • You receive an inventory of public-key uses across services, with the Node.js version, OpenSSL build and file or setting for each.
  • The report separates confirmed facts from items that still need checking with the vendor or in your own environment.
  • Each open question is listed with an owner, so your security and platform teams can answer it after the engagement ends.

How we support

  • Ongoing support is available as a retainer for upgrades, Node.js release changes and retests of the inventory.
  • We can rerun the inventory after each Node.js release line change, such as a move from v22 to v24 or v26.
  • Continuous testing can be added to watch for changes in TLS defaults, CA trust settings and key handling in your services.

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.