> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Post-quantum readiness

> Protect Infisical data at rest and in transit against attacks by quantum computers.

A large enough quantum computer could break the public-key algorithms that most systems use today, such as RSA, ECDSA, and the elliptic-curve key exchange in TLS. An attacker can record encrypted traffic now and decrypt it later, once a quantum computer can break the key exchange that protected it.

[Post-quantum cryptography](https://csrc.nist.gov/projects/post-quantum-cryptography) (PQC) replaces these algorithms with ones that a quantum computer can't break. This page summarizes Infisical's support for post-quantum cryptography.

| Area | Post-quantum | Setup |
| - | - | - |
| [Data at rest](#data-at-rest) | ✓ | None (except [legacy projects](#legacy-projects)) |
| [Data in transit, Infisical Cloud and dedicated](#infisical-cloud-and-dedicated-instances) | ✓ | None (the client has to support `X25519MLKEM768`) |
| [Data in transit, self-hosted](#self-hosted-instances) | ✓ | Configure your load balancer or ingress |
| [Signatures in Certificate Manager and KMS](#post-quantum-signatures) | ✓ | Choose an ML-DSA key (Enterprise plan) |

## Data at rest

Infisical encrypts secrets and other sensitive data at rest with [AES-256-GCM](https://infisical.com/docs/internals/security.md#cryptography), a symmetric cipher. Quantum attacks don't break AES-256, so you don't need to configure anything for data at rest.

> [!TIP]
>
> If you self-host Infisical and generated `ENCRYPTION_KEY` with `openssl rand -hex 16`, the key has 128 bits of entropy. To get a full 256-bit key, [rotate the encryption key](https://infisical.com/docs/self-hosting/guides/rotating-the-encryption-key.md).

### Legacy projects

A small number of projects created before Infisical moved to KMS encryption still use the original end-to-end encryption scheme. This protects project keys with X25519, a classical algorithm that isn't post-quantum.

We're already working on moving these projects to KMS encryption, automatically where we can. On Infisical Cloud, owners of projects that can't be moved automatically will be contacted and given 60 days to migrate or export them. Projects still on the legacy scheme after that will be deleted.

> [!NOTE]
>
> Self-hosted projects are never deleted automatically.

## Data in transit

TLS protects data between clients and Infisical. To keep recorded TLS traffic from being decrypted later, the server that terminates TLS has to offer `X25519MLKEM768`, a hybrid key exchange group for TLS 1.3. The group combines the classical X25519 key exchange with ML-KEM, the post-quantum key exchange that NIST standardized in [FIPS 203](https://csrc.nist.gov/pubs/fips/203/final).

The client has to support the group too. If a client connects with TLS 1.2, or doesn't support the group, the connection uses classical key exchange. The following clients support the group:

* The [Infisical CLI](https://infisical.com/docs/cli/overview.md)
* Current versions of Chrome, Edge, Firefox, and Safari
* Applications built with Go 1.24 or later
* Applications that use OpenSSL 3.5 or later

### Infisical Cloud and dedicated instances

Infisical Cloud (US and EU) and dedicated instances offer `X25519MLKEM768`, so you don't need to configure anything.

### Self-hosted instances

If you self-host Infisical, configure the load balancer or ingress that terminates TLS in front of Infisical to offer `X25519MLKEM768`. The production hardening guide has the [settings for an AWS Application Load Balancer and NGINX](https://infisical.com/docs/self-hosting/guides/production-hardening.md#post-quantum-key-exchange).

### Connection check

To check that an Infisical instance offers `X25519MLKEM768`, run the following command with OpenSSL 3.5 or later, replacing `<your-infisical-domain>` with the domain of your instance, such as `app.infisical.com`:

```bash theme={"dark"}
openssl s_client -connect <your-infisical-domain>:443 -tls1_3 -groups X25519MLKEM768 </dev/null
```

If the instance offers the group, the output includes `Negotiated TLS1.3 group: X25519MLKEM768`.

## Post-quantum signatures

A digital signature proves who signed something, such as a certificate that a certificate authority issued or a release that a code signing key signed. A quantum computer could forge RSA and ECDSA signatures, which would let an attacker pass off a forged certificate or release as genuine.

Infisical supports ML-DSA, the post-quantum signature algorithm that NIST standardized in [FIPS 204](https://csrc.nist.gov/pubs/fips/204/final), on the [Enterprise](https://infisical.com/pricing) plan:

* [Certificate Manager](https://infisical.com/docs/documentation/platform/pki/reference/pqc-algorithms.md): certificate authorities and certificates with ML-DSA-44, ML-DSA-65, or ML-DSA-87 keys
* [KMS](https://infisical.com/docs/documentation/platform/kms/keys.md): sign and verify keys with ML-DSA-44, ML-DSA-65, or ML-DSA-87

Before you issue ML-DSA certificates or sign with an ML-DSA key, check that every system that verifies the signatures supports ML-DSA, such as an application that uses OpenSSL 3.5 or later.

> [!NOTE]
>
> Signatures are less urgent than key exchange, because recording traffic now doesn't help an attacker forge signatures later. A forged signature only works while systems still trust the key it claims to come from. Move to post-quantum signatures first for keys that systems trust for many years, such as root certificate authorities and keys that sign firmware.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.