Where Node.js uses cryptography: tls, crypto module and npm packages

Node.js uses cryptography in TLS connections, the node:crypto module, CA trust handling, release verification and npm registry signatures. This entry lists each place to record for a cryptographic inventory.

On this page

Where Node.js uses cryptography in your environment

An inventory entry for Node.js starts with the places where the runtime itself uses cryptography, because those are the places where a post-quantum decision would have to be made. The first is TLS, set up through tls.createSecureContext() for servers and clients, along with the process-wide TLS defaults. The second is the node:crypto module, which wraps OpenSSL hash, MAC, cipher, signature, and key encapsulation functions and is marked Stability 2 (Stable). The third is the trust side: which CA certificates Node.js accepts, chosen through the bundled Mozilla store (tls.rootCertificates) or through the --use-openssl-ca, --use-bundled-ca and --use-system-ca flags and the NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and SSL_CERT_DIR variables. The fourth is OpenSSL configuration, loaded through --openssl-config or OPENSSL_CONF. The fifth is npm package signature verification, which depends on registry signing keys that npm is moving from PGP to ECDSA.

The entry matters now because the answer depends on the build and the release line. The LTS lines listed on the Node.js previous releases page are v26 (Lithium), v24 (Krypton) and v22 (Jod). The OpenSSL version that matters is the one bundled by the specific build you run, not the Node.js version number alone: Node.js 24.5.0 shipped with OpenSSL 3.5.1 for official builds, and Node.js 22.20.0 bundles OpenSSL 3.5.2 in official or default-configuration builds. Builds that link to an external OpenSSL, which the release notes say covers third-party builds, follow that library instead. Confirm the bundled or linked OpenSSL version on each host with node -p process.versions.openssl rather than assuming it from the release line.

The engineer who runs the Node.js services should own this entry together with the security lead, since the runtime, the OpenSSL build, the trust store and the npm signing path each have different owners in most organizations. Record for each service the Node.js version, whether the build is official or self-compiled, the OpenSSL version reported at runtime, any --tls-min or --tls-max flags or --tls-cipher-list overrides, the CA sources in use, and whether --openssl-legacy-provider or --enable-fips is set. Those settings determine what a later assessment will find, so capturing them now saves rework.

Every area where Node.js uses cryptography

This table lists each place Node.js uses cryptography, the algorithm family from the project documentation, whether that area depends on public-key algorithms, and where it is configured. Use it as the starting row set for a cryptographic inventory, and confirm each setting in the Node.js version and build you actually run, since defaults differ across release lines.

AreaWhat it protects and algorithm familyDepends on public-key algorithmsWhere it is configured
TLS protocols and versionsProtects client and server connections. Default range is TLSv1.2 to TLSv1.3 in tls.createSecureContext().Yestls.DEFAULT_MIN_VERSION, tls.DEFAULT_MAX_VERSION, and --tls-min-v1.x and --tls-max-v1.x CLI flags
TLS cipher suitesSymmetric bulk encryption and hashing for TLS 1.3 (AES-GCM, ChaCha20-Poly1305). Default TLS 1.3 suites exclude CCM variants.Nocrypto.constants.defaultCoreCipherList at build time, --tls-cipher-list, or tls.DEFAULT_CIPHERS
TLS groups and key exchangeEphemeral key agreement for TLS. Groups include X25519 and hybrid X25519MLKEM768 when OpenSSL 3.5 or later is linked.YesecdhCurve option in tls.createSecureContext(); default 'auto' follows the linked OpenSSL
TLS signature algorithmsAuthenticates the server and client certificates. Options include RSA-PSS, ECDSA and ML-DSA variants where supported.Yessigalgs option in tls.createSecureContext(), available since v12.11.0
node:crypto moduleHashes, MACs, symmetric ciphers, signatures and key encapsulation. Asymmetric key types include rsa, ec, ed25519, x25519, ml-kem and ml-dsa.YesApplication code calling node:crypto; key types and parameters set per call
CA trust storesDecides which certificate authorities are trusted for TLS. Uses a bundled Mozilla store plus optional system or OpenSSL stores.Yes--use-openssl-ca, --use-bundled-ca, --use-system-ca, NODE_EXTRA_CA_CERTS, SSL_CERT_FILE, SSL_CERT_DIR
OpenSSL configurationLoads the OpenSSL library settings that govern all of the above, including the legacy provider and FIPS properties.Not applicable--openssl-config flag, OPENSSL_CONF variable, --openssl-legacy-provider flag
Release binary verificationChecks downloaded Node.js binaries with SHA-256 checksums and a releaser PGP signature.YesSHASUMS256.txt.asc, checked against keys from the nodejs/release-keys repository
npm registry signaturesVerifies package provenance and registry signatures. Moving from PGP to ECDSA, with only ecdsa-sha2-nistp256 keys currently supported by the npm CLI.Yesnpm CLI configuration and the registry signature keys published by npm
Management access and firmware signingNot documented by the Node.js project for this runtime. No statement found on management access or firmware signing.Not applicableNot documented; confirm with the vendor or the deployment platform owner

Which TLS settings Node.js uses to choose protocols and algorithms

Node.js picks TLS protocol versions, cipher suites, key exchange groups and signature algorithms from defaults that can be changed at several levels. Each setting applies to a whole process or to a single secure context, so an inventory has to record where each value was set.

Default TLS version range

Node.js sets the default minimum TLS version to TLSv1.2 and the default maximum to TLSv1.3, exposed as tls.DEFAULT_MIN_VERSION and tls.DEFAULT_MAX_VERSION. The CLI flags --tls-min-v1.0, --tls-min-v1.1, --tls-min-v1.2, --tls-min-v1.3, --tls-max-v1.2 and --tls-max-v1.3 change this range for the whole process. Record the range of each running service, because a flag set at startup overrides the defaults for every connection the process opens.

TLS docs

Default TLS 1.3 cipher suites

The TLS 1.3 suites enabled by default are TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256 and TLS_AES_128_GCM_SHA256. The CCM suites TLS_AES_128_CCM_SHA256 and TLS_AES_128_CCM_8_SHA256 are not enabled by default. Confirm this list against the Node.js version you run, since a deployment can differ from the documented defaults if its build or flags change them.

TLS docs

Cipher list override with tls-cipher-list

The default cipher list is set at build time as crypto.constants.defaultCoreCipherList. You can replace it with the --tls-cipher-list command-line switch, which also works through NODE_OPTIONS, or by changing tls.DEFAULT_CIPHERS before any sockets are opened. A change to tls.DEFAULT_CIPHERS applies to the process from that point on, so check both the startup flags and the application code when you inventory a service.

CLI docs

Key exchange groups with ecdhCurve

In TLS 1.3, the ecdhCurve option of tls.createSecureContext() sets the supported TLS groups and key share groups as a colon-separated list, such as X25519 or X25519MLKEM768. It defaults to tls.DEFAULT_ECDH_CURVE, whose value is 'auto'. The docs do not state that a hybrid post-quantum group is the default, so the 'auto' choice depends on the OpenSSL library Node.js is linked against, and you should record the resolved groups instead of assuming them.

TLS docs

Signature algorithms with sigalgs

The sigalgs option of tls.createSecureContext() takes a colon-separated list of signature algorithms, such as RSA-PSS, ECDSA or rsa_pss_pss_sha512. It has been available since v12.11.0. Use it to see which signature algorithms a given secure context will accept or offer, and note that the option is set per secure context, not per process.

TLS docs

Recording settings per process and context

Process-wide settings come from CLI flags, NODE_OPTIONS and tls.DEFAULT_* values, while ecdhCurve and sigalgs are set on each secure context. An inventory should list each running Node.js service with its startup flags, its environment and any code that changes tls.DEFAULT_* or creates a secure context. Confirm the results in your own environment, because a service that shows no override may still inherit one from its container or init script.

CLI docs

Where Node.js certificates and keys live and how they are loaded

Server and client certificates and their private keys are supplied by the application, usually as PEM or DER files, buffers or KeyObject instances passed to tls.createServer(), https.createServer(), tls.connect() or tls.createSecureContext(). Node.js does not issue these credentials and does not decide when they rotate. The application owner, or the team that runs the certificate authority, makes those decisions and loads the new material into the process.

  • Server credentials: the key, cert and optional ca options of a TLS server, passed through tls.createSecureContext().
  • Client credentials: the key and cert options used for mutual TLS when Node.js is the client.
  • Who issues and rotates: the application owner or certificate team decides the issuing CA, the validity period and the rotation schedule, then reloads the process or secure context.
  • Key types: the key algorithm is whatever the certificate was issued with, so the inventory should record the key type and size from the certificate itself.
  • Storage: the page does not document hardware security module or TPM storage for these keys. Node.js reads key material from the file, buffer or KeyObject it is given.

Before relying on an inventory entry, confirm which Node.js version and OpenSSL build the process runs, and record the key algorithm of each certificate from the certificate file rather than from memory.

How administrators reach Node.js and what protects that path

Node.js has no management interface of its own. There is no built-in console, web administration page or remote shell that an administrator logs into to change how the runtime behaves. Instead, its cryptographic behavior is set when a process starts, through the command-line flags, environment variables and the NODE_OPTIONS variable that the hosting application or service manager passes in. For this topic, the controls that matter are --openssl-config and the OPENSSL_CONF environment variable, which load an OpenSSL configuration file, and --openssl-legacy-provider, which enables the OpenSSL legacy provider. The TLS version and cipher flags, such as --tls-min-v1.3 and --tls-cipher-list, and the CA store flags, such as --use-system-ca, follow the same pattern. Because NODE_OPTIONS can carry any of these flags into every process that inherits the variable, it is a common place for settings to be applied without anyone editing application code.

The Node.js vendor documentation does not describe a remote administration channel for the runtime. The tls, crypto and CLI pages cover what can be configured, not how a remote operator would reach a running process to change it, and the repository README and release notes checked for this page say nothing on that point either. The practical consequence for the inventory is that the record should describe how the hosting application is managed, not the runtime. For each deployed Node.js service, record who can change its launch command, its unit or container definition, its environment files and its deployment pipeline, and whether those changes are reviewed and logged. Confirm with your own team which of these paths exist in your environment, because they vary between a managed platform, a container orchestrator and a hand-run process manager.

Two protections matter most on this path. First, confirm that the node binary and any OpenSSL library it links were obtained from a trusted source and checked against the release checksums and signature that the Node.js project publishes in its SHASUMS256.txt.asc file. Second, confirm that the OpenSSL configuration file pointed to by OPENSSL_CONF or --openssl-config is owned and writable only by the accounts that should control cryptographic settings, because a changed file can alter the algorithms the process offers. Record the exact flags and variables used by each service, including any value set in NODE_OPTIONS, so that a later review can compare the live configuration against the inventory.

How Node.js releases and npm packages are signed and verified

Node.js binaries and npm packages each have their own verification chain, and neither depends on TLS alone. Knowing which keys, files and client versions are involved tells you what your build pipeline can control and what only the project or npm can change.

Release checksums and PGP signature

Each Node.js release publishes a SHASUMS256.txt.asc file that carries SHA-256 checksums for every downloadable artifact, plus a PGP signature from the releaser. Verifying the signature confirms the checksum list came from a known release signer, and the checksum confirms your download matches it. The signing keys are kept in the nodejs/release-keys repository, so verify against keys fetched from there rather than from the download server. Inventory where your team takes Node.js binaries from, since this check applies only when you run it.

Node.js verification docs

Release keys in nodejs/release-keys

The releaser public keys are published in the nodejs/release-keys repository, and the verification steps depend on that repository being the trusted source. Your build or image pipeline should pin the key set it uses and record which keys verified each artifact. Key rotation by the project changes which keys you need, so review the repository when a new release line starts. This is a dependency on project-controlled material that your team can monitor but cannot alter.

npm registry signatures moving to ECDSA

npm documents that registry signatures are moving from PGP to ECDSA. The npm CLI currently supports only ecdsa-sha2-nistp256 keys for verifying these signatures, so any future key type outside that set will not be checked by the current CLI. Confirm the signature status of packages your builds install, and watch the npm documentation as the transition progresses. The registry's signing keys and migration timing are controlled by npm, not by your organization.

npm registry signatures docs

Choices you control: build and npm CLI

Your team controls two things here: which Node.js build you install and which npm CLI version runs your installs. A build from an unofficial source or one that links to an external OpenSSL may verify differently from the official release, so record the build provenance. Keep the npm CLI current enough to support the signature types the registry publishes. These are the parts of the chain you can change directly, and they should appear in your inventory.

Choices only the project or npm control

The release signing keys, the contents of the release-keys repository, the algorithms npm uses for registry signatures and the CLI's list of supported key types are set by the Node.js project and by npm. Your organization can respond to these changes but cannot make them, so track them through their documentation and release notes. Record the dates you checked each source, since these statements can change.

What to record for each Node.js cryptographic item

This table lists the fields to capture for each Node.js cryptographic item, such as a TLS context, a node:crypto key or a bundled CA store. Record the value that applies to your build and deployment, since the Node.js release line, bundled OpenSSL version and configuration source can all change what a setting actually does. The example values come from the node:crypto documentation, where modulusLength sets RSA and DSA key size in bits and publicExponent defaults to 0x10001.

FieldWhat to recordNode.js example
Product and release lineNode.js exact version and LTS line as listed on the release tablev24.7.0 on the v24 (Krypton) line, checked on 2026-12-03
OpenSSL versionOpenSSL version bundled in the official build or linked from the host systemOpenSSL 3.5.1 in official Node.js 24.5.0 builds
OwnerTeam or person responsible for the application or service that runs Node.jsPlatform team owns the API gateway service
LocationFile path, environment variable or code location where the setting is definedNODE_OPTIONS, --tls-cipher-list, or the tls.createSecureContext() call in server.js
Protocol and version rangeTLS, SSH or other protocol, with minimum and maximum versionsTLS minimum TLSv1.2 and maximum TLSv1.3 by default
Algorithm and key sizeKey type, algorithm and size in bits as configuredRSA key with modulusLength 2048 and publicExponent 0x10001
Certificate issuer and expiryIssuing CA and expiry date for each certificate loaded by the processIssuer and notAfter date from the certificate file, confirmed with openssl x509
Configurable or fixedWhether the value can change at runtime or is fixed by the buildCipher list is set at build time and can be replaced with --tls-cipher-list
Confidentiality periodHow long the protected data must stay confidential, which drives urgencySet by the data owner, for example payment records held for several years

Which Node.js items depend on public-key algorithms

Several Node.js items rely on public-key algorithms, and each one needs its own entry in your inventory. TLS key exchange and certificate signatures are the most common: when a Node.js process acts as a TLS client or server, the handshake uses asymmetric key agreement and the certificates presented during it are signed with RSA, DSA, or elliptic-curve keys. The node:crypto module exposes asymmetric key types including rsa, rsa-pss, dsa, dh, ec, ed25519, ed448, x25519 and x448, and any application code that generates, signs with, or verifies using these keys depends on public-key algorithms. Release verification also falls in this group: Node.js release downloads are checked against a PGP signature in SHASUMS256.txt.asc, and npm registry signatures are moving from PGP to ECDSA, with only ecdsa-sha2-nistp256 keys currently supported by the npm CLI.

Other items use only symmetric algorithms or hash functions, and they need less dependency analysis. The TLS 1.3 cipher suites enabled by default, TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256 and TLS_AES_128_GCM_SHA256, use AES-GCM or ChaCha20 for bulk encryption, and the hash and MAC functions exposed through node:crypto fall in the same category. Confirm which cipher list your build uses, because the default is set at build time and can be replaced with --tls-cipher-list or by changing tls.DEFAULT_CIPHERS. Even if a symmetric item is in use, the key exchange that established its key may still be public-key based, so check the handshake, not only the cipher suite name.

For the detailed dependency analysis of the public-key items, read the sibling topic on which Node.js features and APIs depend on RSA and elliptic-curve keys. That page covers which connections, logins and signatures rely on RSA, Diffie-Hellman or elliptic-curve keys. Record each item in your inventory with the Node.js version and OpenSSL build it runs on, since the post-quantum key types and hybrid groups depend on OpenSSL 3.5 or later.

How to gather the Node.js inventory data from your environment

This sequence produces a dated record of which Node.js version and OpenSSL build each service runs, the TLS settings and certificate sources in effect, and the packages that carry cryptography. Steps 1 to 4 need access to the running system, while steps 5 and 6 use files and vendor channels you can work with separately.

  1. Record the Node.js and OpenSSL versions

    On each host or container, run node --version to record the Node.js release line, then run node -p "process.versions" against the same binary to read the bundled OpenSSL version. This step needs shell access to the machine where the service runs, not only the build pipeline, because a container image or a system package can carry a different binary than the one on your workstation. Check the output against the release table at nodejs.org to confirm the release line is still LTS on the date you record it. The step is done when each service has a row with its Node.js version, OpenSSL version and build source, such as official binary, distribution package or a build that links an external OpenSSL. Note that third-party builds linked to an external OpenSSL may not match the bundled version listed in the release notes.

  2. Export effective TLS defaults from a running process

    From inside each running service, or from a diagnostic script loaded in the same environment, read tls.DEFAULT_MIN_VERSION, tls.DEFAULT_MAX_VERSION, tls.DEFAULT_ECDH_CURVE and tls.DEFAULT_CIPHERS, and record the output. This needs access to the running system or to a replica started with the same flags and environment, since the values can change at runtime and through command-line switches. Also record crypto.constants.defaultCoreCipherList, which is set at build time, so you can tell a build default from a value changed in code. The step is done when you have a snapshot per service with the minimum and maximum TLS versions, the ECDH curve setting and the active cipher list. If the cipher list or curve differs from the documented defaults, flag that service for review and record the reason.

  3. List flags and environment variables per service

    For each service, capture the full command line of the Node.js process and the values of NODE_OPTIONS, NODE_EXTRA_CA_CERTS, SSL_CERT_FILE, SSL_CERT_DIR, OPENSSL_CONF and any other variable your team has set for TLS. This step needs access to the running system, for example through the process table, the service unit file, the container spec or the orchestrator configuration, because command-line switches such as --tls-min-v1.2, --tls-cipher-list, --use-system-ca, --openssl-config and --openssl-legacy-provider are not visible from the code. Record --enable-fips and --force-fips separately if present, and note that --enable-fips on OpenSSL 3 only sets a property query and does not load a validated FIPS provider. The step is done when each service has a list of every flag and variable that affects TLS, crypto or CA loading, with its source file or manifest.

  4. Map CA sources and loaded certificates per service

    For each service, determine which CA source Node.js uses: the bundled Mozilla store exposed as tls.rootCertificates, the OpenSSL store, or the system store, based on --use-bundled-ca, --use-openssl-ca and --use-system-ca. Then list the certificate files named by NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and SSL_CERT_DIR, and the certificates each service loads in code, such as ca: or cert: options. This needs access to the running system and the service code or configuration, since certificates are often loaded at startup from mounted secrets. The step is done when each service has its CA sources, its extra certificate files, and the key types and sizes of the certificates it presents, read with openssl x509 or your certificate management tool. Keep this inventory with the service record so a later certificate change can be traced to a service.

  5. Inspect package-lock files for crypto dependencies

    In each repository, read package-lock.json or the lock file used by your package manager, and list dependencies that implement TLS, signing, hashing, key handling or certificate parsing, such as packages that wrap OpenSSL, bundle their own crypto or call the node:crypto module with key types you need to track. This step needs repository access but not the running system, so it can be done from source control. Note the version of each package and whether it ships native code that links its own OpenSSL build. The step is done when you have a list of crypto-relevant packages with versions, lock file paths and the date you read them, and each one is marked as using the Node.js crypto module, a bundled library or an external library.

  6. Check npm registry signature status for installed packages

    Use the npm documentation on registry signatures to check whether the packages you install are signed and how the signatures are verified in your pipeline. Per the npm documentation, signatures are moving from PGP to ECDSA, and the npm CLI currently supports only ecdsa-sha2-nistp256 keys, so record which key type your registry and pipeline use. Also record how you verify Node.js release binaries themselves: the release process publishes SHASUMS256.txt.asc, which carries SHA checksums and a releaser PGP signature checked against keys in the nodejs/release-keys repository. This step needs access to your build pipeline and registry configuration. The step is done when you have a record of signature verification status for your install path and the verification steps used for Node.js binaries, with the date you checked. If a package is unsigned, note it as a gap rather than an approved exception.

  7. Send vendor questions for gaps in the documentation

    Where the documentation does not show what you need, such as the OpenSSL build used by a distribution package, the support status of a specific key type in your edition, or the contents of a third-party build, send written questions to the vendor or distributor that supplies the binary. Ask which OpenSSL version is bundled, whether the build links an external OpenSSL, and whether it includes the ML-KEM or ML-DSA key types described in the Node.js crypto docs. 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 any project or vendor for a written position with a date. This step needs no access to the running system, but it depends on the answers. The step is done when each question has a written reply on file with its date and the name of the person who gave it.

Common questions about recording Node.js cryptography

Is Node.js quantum safe?

Node.js does not carry a quantum-safe claim, and no source supports one. What the facts support is narrower: the node:crypto module exposes ML-KEM (FIPS 203) through crypto.encapsulate() and crypto.decapsulate(), and ML-DSA (FIPS 204) through crypto.sign() and crypto.verify(), in Node.js 24.7.0 and later when built against OpenSSL 3.5 or later. SLH-DSA (FIPS 205) key support arrived in v24.8.0. Whether a given connection uses these algorithms depends on your configuration, not on the runtime alone. The default TLS group selection of 'auto' follows the linked OpenSSL library, and the project's documentation does not say that a hybrid post-quantum group is the default. Check the build and the negotiated group in your own environment rather than relying on a general label.

Which Node.js release line should we record in our inventory?

Record the exact version your production hosts actually run, plus its release line. As of the release table checked on 2026-12-03, the LTS lines are v26 (Lithium), v24 (Krypton) and v22 (Jod), and v27 is listed as Alpha. Capture the output of node --version and node -p process.versions.openssl on each host, since the bundled OpenSSL version is what determines which post-quantum algorithms the crypto module can use. Official Node.js 24.5.0 shipped with OpenSSL 3.5.1 and 22.20.0 bundles OpenSSL 3.5.2, so a line number alone does not tell you the cryptographic capability. Record both values, and note any host that runs a different build.

Does the bundled OpenSSL differ from a third-party Node.js build?

Yes, it can. The Node.js 22.20.0 release notes say the bundled OpenSSL 3.5.2 applies to official or default-configuration builds, and that this does not affect third-party builds that link to an external OpenSSL. A distribution package, container image or custom build may link a different OpenSSL version, so the crypto module's behavior follows whichever library the binary actually loads. Confirm this on each host with node -p process.versions.openssl and check which provider is active. Do not assume that a Node.js version number identifies the OpenSSL build behind it.

Does producing a Node.js cryptographic inventory cost extra?

The main cost is staff time to find where Node.js runs and to read its configuration, and any tooling you buy to scan code and dependencies is an additional line item. The work itself is largely one-time for the first inventory, then recurs with each release upgrade, new service or dependency change. Costs rise with the number of applications, hosts, container images and npm dependencies that pull in cryptographic packages, and with how many environments need review. Ask a provider to state the scope in writing: which hosts, which applications, which evidence is produced, and whether a retest is included. The project does not publish a cost figure for this work, so use your own host count and effort estimates as the basis.

What should we ask the Node.js project about post-quantum plans?

Ask the project for dated statements on support, not general assurances. The Node.js repository README, the CLI docs and the release notes checked for this inventory contain no statement about CNSA 2.0 or a dated post-quantum roadmap, so you should request that position in writing from the project or the vendor that packages it. Useful questions include: which release lines will receive post-quantum algorithm support, what default TLS group selection will apply, what OpenSSL version each line will bundle, and what notice period applies to deprecations. Record the date of each answer and the version it applies to, since the project's positions can change between releases.

Can our team collect the Node.js cryptography data alone, or do we need help?

Your team can collect most of the data alone if it has access to the hosts, the container images and the application source. The core steps are to record the Node.js and OpenSSL versions on each host, list the TLS settings in use (including the --tls-min-v1.2 and --tls-max-v1.3 family of flags, the --tls-cipher-list switch and the ecdhCurve option), identify where applications load CA certificates, and check whether --enable-fips or --force-fips is set. Outside help is most useful for dependency analysis across many npm packages, for validating what the binaries actually negotiate, and for producing evidence in a form that an assessor will accept. DeployOpen can plan, implement and document such an inventory inside your own infrastructure as a fixed-scope engagement, with scope agreed in writing before work starts.

Does enabling FIPS mode in Node.js make it post-quantum compliant?

No, and the facts do not support that conclusion. The --enable-fips flag with OpenSSL 3 only adds fips=yes to the default property query and does not load or validate a FIPS provider. The crypto.getFips() function likewise does not establish that a FIPS provider is loaded or validated, so reporting a FIPS value from it is not evidence of a validated module. The --force-fips flag has a strict mode, added in v26.9.0, that rejects non-approved operations reported by the OpenSSL FIPS indicator, and it requires OpenSSL 3.4 or later. Record these settings as configuration facts, and ask your assessor which validation evidence they will accept.

How DeployOpen helps build a cryptographic inventory for Node.js

DeployOpen scopes a cryptographic inventory of the Node.js applications you run, covering TLS settings, node:crypto usage and the npm packages that carry their own cryptography. The output is a written record of where public-key algorithms appear, which Node.js release and OpenSSL version each system runs, and what needs to be confirmed before any upgrade planning begins.

How we scope

  • We agree in writing which Node.js applications, services and release lines are in the inventory before work starts.
  • We confirm which TLS entry points are in scope, including servers using tls.createSecureContext() and any mTLS client connections.
  • We record the scope against the Node.js LTS lines in use, since the release table lists v26, v24 and v22 as LTS as of the check date.

How we build

  • We review TLS configuration, including minimum and maximum versions, cipher lists and the ecdhCurve and sigalgs settings in use.
  • We trace node:crypto calls for RSA, DSA, DH, EC and Ed25519 or X25519 key use, and record the key sizes set in generateKeyPair calls.
  • We check the OpenSSL build each runtime links to, and whether CA trust comes from the bundled store or from system or environment sources.

How we hand over

  • You receive an inventory record per application listing each protocol, certificate, key type and dependency that uses public-key cryptography.
  • Each finding notes the Node.js version, OpenSSL version and configuration flag it applies to, so the record stays accurate after upgrades.
  • Open questions for your vendors or your own environment are listed separately, so you can confirm them before any upgrade decision.

How we support

  • Engagements are fixed-scope, and the inventory is delivered against the scope agreed in writing at the start.
  • Ongoing support, upgrades and re-inventory after Node.js or dependency changes are available as a retainer.
  • We can refresh the inventory when a new Node.js release line changes default TLS, crypto or CA behavior in your environment.

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.