Which LUKS functions depend on RSA and elliptic-curve keys

LUKS passphrase unlock uses symmetric key derivation, while FIDO2, PKCS#11, Clevis with Tang and TPM2 enrollments depend on public-key algorithms. The sources listed on this page show no post-quantum support in cryptsetup, Tang, Clevis or systemd-cryptenroll.

On this page

Which LUKS functions depend on RSA and elliptic-curve keys today

If you run LUKS on Linux servers, workstations or appliances, you need to know which unlock paths rely on public-key cryptography before you plan any post-quantum change. In cryptsetup 2.8.9, the passphrase and volume-key unlock paths do not rely on public-key algorithms. Unlock through a FIDO2 token, a PKCS#11 token or Clevis with Tang does rely on RSA or elliptic-curve keys. The sources listed on this page do not show any post-quantum support for these functions as of 2026-12-04. The facts below apply to cryptsetup 2.8.9 and to systemd-cryptenroll, which is the enrollment tool for LUKS2 volumes. Security, platform and endpoint teams that enroll hardware tokens or network-bound unlock on LUKS2 volumes should care most, because those enrollments are where public-key material sits.

The public-key dependencies sit in enrollment methods rather than in the core volume cipher. The systemd-cryptenroll documentation states that FIDO2 enrollment defaults to ES256, which is ECDSA over NIST P-256, with RS256 (2048-bit RSA) and EdDSA (Curve25519) as alternatives. For PKCS#11 tokens, an RSA key pair encrypts a random volume key, while an EC key pair uses ECDH to derive it. Tang uses the McCallum-Relyea exchange, an ECDH variant, and serves a JWS-signed key advertisement, so Clevis with Tang depends on elliptic-curve exchange and signatures. The Clevis README also states that its PKCS#11 pin supports only RSA, with RSA-PKCS-OAEP as the default mechanism. Confirm which pin and token type each volume uses by inspecting its enrolled keyslots, and record the algorithm for each one in your inventory.

For the next step, list each LUKS2 volume and its keyslots, and mark every keyslot that uses FIDO2, PKCS#11, or Clevis with Tang. Passphrase and keyfile slots need no public-key review for this question, but the header still carries the Argon2 derivation parameters that you should record. The cryptsetup 2.8.9 release notes list no post-quantum or default algorithm changes, and the systemd-cryptenroll and Tang documentation checked on the same date contain no post-quantum mention either. Ask the vendor or project for any planned change to these enrollment algorithms, and track their answers in the same inventory so the public-key slots are migrated first.

Public-key dependencies by LUKS component and version

This table lists each LUKS-related function, the component that provides it, the version or date the sources give, and whether it depends on RSA or elliptic-curve keys. Read the last column as the source that states each dependency, and confirm any setting against your own build or distribution before recording an answer.

FunctionComponent and versionPublic-key dependencySource
Passphrase keyslotscryptsetup, LUKS2 default format; latest tag v2.8.9 (Nov 23, 2026)No: passphrase keyslots use a key derivation function (Argon2 or PBKDF2), not public-key algorithmscryptsetup man page; cryptsetup-luksFormat man page
FIDO2 enrollmentsystemd-cryptenroll; LUKS2 volumes onlyYes: default credential algorithm es256 (ECDSA, NIST P-256); alternatives rs256 (2048-bit RSA) and eddsa (Curve25519)systemd-cryptenroll man page
PKCS#11 enrollmentsystemd-cryptenroll; LUKS2 volumes onlyYes: an RSA key pair wraps the volume key, or an EC key pair uses ECDH to derive itsystemd-cryptenroll man page
Clevis with TangClevis and Tang; sources do not give version numbersYes: Tang uses the McCallum-Relyea ECDH exchange and signs its advertisement with JWS (ES512 in the README example)Tang README; Clevis README
Clevis with the PKCS#11 pinClevis PKCS#11 pin; sources do not give version numbersYes, RSA only: the pin supports only RSA, with RSA-PKCS-OAEP as default mechanismClevis README
TPM2 enrollmentsystemd-cryptenroll TPM2 support; no version given in the sourcesThe sources name TPM2 enrollment but do not state its public-key dependency, so confirm with the vendor or the TPM2 documentationsystemd-cryptenroll man page
Post-quantum support in cryptsetupcryptsetup 2.8.0 and 2.8.9 release notesNone listed: neither release note names post-quantum algorithms, ML-KEM, ML-DSA or SLH-DSAcryptsetup 2.8.0 release notes; cryptsetup 2.8.9 release notes

Which LUKS components use public-key keys

LUKS volumes are unlocked with a passphrase or key file by default, which uses no public-key algorithms. Public-key cryptography enters when a LUKS2 volume is enrolled with a hardware token or when unlock is delegated to a network service, so each component below needs its own check.

systemd-cryptenroll token enrollment

systemd-cryptenroll works only on LUKS2 volumes and can enroll a passphrase, a recovery key, FIDO2 tokens, TPM2 chips and PKCS#11 tokens. FIDO2 enrollment defaults to ES256 (ECDSA over NIST P-256), with RS256 (2048-bit RSA) and EdDSA (Curve25519) as alternatives, so the credential is a public-key credential. Check which --fido2-credential-algorithm value each enrolled token uses, and confirm the algorithm with the systemd version you run.

systemd-cryptenroll docs

PKCS#11 token enrollment

For PKCS#11 tokens, an RSA key pair encrypts a random volume key with the public key, while an EC key pair uses ECDH to derive the volume key. Both paths depend on public-key algorithms, so the key type on each token determines which algorithm protects the volume key. Inventory the token key type and record it per enrolled device.

PKCS#11 token details

Tang key exchange and signing

Tang unlocks volumes through the McCallum-Relyea exchange, an ECDH variant, over a JOSE-based HTTP API. It serves a JWS-signed key advertisement at GET /adv, so both the exchange and the signature rely on elliptic-curve cryptography. The Tang README's key rotation example uses ES512 for signing and ECMR for exchange, and Tang does not require TLS or authentication, so check the network path to the server.

Tang README

Clevis JWE header storage

Clevis binds a LUKS volume by adding a random key as an extra passphrase and storing that key encrypted as a JWE in the LUKS header. The pin chosen determines the algorithm protecting that JWE: the Tang pin uses elliptic-curve exchange, while the PKCS#11 pin supports only RSA, with RSA-PKCS-OAEP as the default mechanism. Confirm which pin each volume uses and where its JWE is stored.

Clevis README

Passphrase keyslots and KDF defaults

Standard passphrase keyslots do not use public-key algorithms. The cryptsetup defaults are aes-xts-plain64 for the cipher and Argon2 (argon2id at build time) for LUKS2 key derivation, with LUKS1 limited to PBKDF2. These defaults are symmetric or hash-based, so they are not the public-key dependency to replace, but record them in the inventory so the answer is complete.

luksFormat man page

What the public-key findings mean

Enrollments and network unlock using public-key algorithms are the components that need post-quantum review. Passphrase keyslots and cipher defaults are not public-key dependencies. The cryptsetup, Tang, Clevis and systemd documentation checked on 2026-12-04 mention no post-quantum algorithms, so ask each project and vendor whether any planned change exists before treating this as settled.

cryptsetup project

How the answer changes by enrollment method

Passphrase and recovery key slots are the baseline unlock method and do not rely on public-key cryptography. The passphrase or recovery key is run through a password-based key derivation function, and the result unwraps the volume key stored in the keyslot. On LUKS2 the default derivation function is Argon2, while LUKS1 supports only PBKDF2, according to the cryptsetup documentation. The settings that change this behavior are the PBKDF choice and its parameters, not any public-key algorithm.

  • No public-key step: The keyslot is protected by a symmetric key derived from the passphrase, so no RSA or elliptic-curve key is involved.
  • PBKDF selection: The --pbkdf option on cryptsetup luksFormat and luksAddKey picks the derivation function, with --pbkdf-memory and --iter-time tuning its cost.
  • Keyslot count: LUKS1 supports up to 8 keyslots and LUKS2 up to 32, selected with --key-slot.
  • Keyfile input: --key-file reads the passphrase from a file or stdin, and crypttab can load a keyfile automatically from /etc/cryptsetup-keys.d/.
  • Build defaults: The cipher, key size and PBKDF defaults are compiled in and shown by cryptsetup --help, so confirm them on your own build.

Check which keyslots exist on each volume and confirm the PBKDF each uses, since these are the only unlock paths here without public-key dependence.

Where public-key operations sit in LUKS unlock paths

The diagram starts at the LUKS2 volume and branches into five unlock methods: passphrase, FIDO2, PKCS#11, Clevis with Tang, and TPM2. The passphrase path uses no public-key operation. FIDO2 enrollment defaults to ES256 (ECDSA over NIST P-256), with RS256 and EdDSA as alternatives. PKCS#11 uses RSA to wrap the volume key or ECDH to derive it, depending on the key type. Clevis with Tang depends on ECDH through the McCallum-Relyea exchange and on JWS signatures. Check each path against the cryptsetup-systemd version you run, since the sources do not describe post-quantum support for any of them.

Unlock methods for a LUKS2 volume and the public-key algorithms each one uses.

What to check on your LUKS volumes before a post-quantum review

This sequence produces a dated inventory of every LUKS volume, keyslot, token and network-bound pin, the public-key algorithms each one relies on, the cryptsetup and systemd versions in use, and the written vendor positions that a post-quantum review can rely on. Work through the steps in order, because each one supplies the inputs the next step needs.

  1. List every LUKS volume and its format

    Start on each host that holds LUKS volumes and record every block device that carries a LUKS header. Run lsblk -o NAME,FSTYPE,MOUNTPOINT to find them, then run cryptsetup luksDump on each device to confirm its format. The dump reports whether the header is LUKS1 or LUKS2 and shows the cipher, key size and hash in use. Record the host, device path and format in one table. This step is done when every device that reports a LUKS header appears in the table with its version, and devices you cannot read are flagged for follow-up.

  2. Enumerate keyslots, tokens and pins

    For each volume from the previous step, list every keyslot and every enrolled token or Clevis pin. The luksDump output shows occupied keyslots, and systemd-cryptenroll lists enrolled FIDO2, TPM2, PKCS#11 and recovery entries on LUKS2 volumes. Check /etc/crypttab for Clevis or key file entries and inspect the Clevis bindings on each volume. Note that LUKS1 supports up to 8 keyslots and LUKS2 up to 32, so count against the limit for the format. The step closes when each volume has a complete list of slots and enrolled mechanisms, including any slot that is not currently used.

  3. Record the public-key algorithms each mechanism names

    Go through each enrollment and record the public-key algorithm the sources name for it. FIDO2 enrollment defaults to ES256 (ECDSA over NIST P-256), with RS256 (2048-bit RSA) and EDDSA (Curve25519) as alternatives, so record which credential algorithm each token was enrolled with. A PKCS#11 token using an RSA key pair encrypts the volume key with the public key, while an EC key pair uses ECDH. Network-bound unlock through Tang depends on an ECDH variant called McCallum-Relyea and on signatures in the key advertisement, and Clevis PKCS#11 pins currently support only RSA. Mark any enrollment where the algorithm is not recorded in the configuration, and confirm it on the host. This step is done when every row names an algorithm or is flagged as unconfirmed.

  4. Record the cryptsetup and systemd versions in use

    On each host, record the installed cryptsetup version with cryptsetup --version and the systemd version with systemctl --version, because systemd-cryptenroll ships with systemd. Also note the version of the Clevis and Tang packages if they are installed, and the distribution and kernel release that ship them. The most recent cryptsetup tag the sources list is v2.8.9, which the release notes describe as a security bug-fix release that all users must upgrade to, so flag any host running an earlier version. This step is done when each host has its package versions recorded and each one is compared against the tag list.

  5. Confirm the vendor position on post-quantum support

    Ask the cryptsetup project, the systemd project, the Tang and Clevis maintainers, and your distribution vendor for their written position on post-quantum algorithms in LUKS and its tokens. The cryptsetup man page, FAQ, the 2.8.0 and 2.8.9 release notes, and the systemd-cryptenroll documentation, checked on 2026-12-04, contain no mention of post-quantum algorithms. The Tang and Clevis READMEs checked on the same date also contain no mention of post-quantum cryptography. Red Hat's July 23, 2026 post-quantum strategy lists updating LUKS to PQC-ready standards as a priority action, which states a goal rather than a shipped feature. Save each reply with its date and sender. This step is done when each vendor position is on file in writing, with the date it was received.

  6. Close the inventory with an owner and a date

    Combine the outputs of the earlier steps into a single inventory that lists each host, volume, keyslot, token or pin, algorithm, package version and vendor position. Assign a named owner to every row that is flagged as unconfirmed or unsupported. Date the inventory and store it where the post-quantum review can reach it. This is the input a review needs, and it closes the sequence when every row has an owner and every open question has a written next step.

What the LUKS vendors have not published on post-quantum support

LUKS depends on several projects beyond the core cryptsetup tool, including Tang, Clevis and systemd-cryptenroll. Each project's public documentation was checked on 2026-12-04, and none of them mentions post-quantum algorithms. Red Hat's strategy names LUKS as a goal, but that goal is not a shipped feature.

cryptsetup, the reference tool

cryptsetup is the reference implementation of LUKS and is licensed under GPL v2.0 or later. The 2.8.9 security release notes list no post-quantum changes and no default algorithm changes. The man page, FAQ, and 2.8.0 and 2.8.9 release notes, checked on 2026-12-04, contain no mention of post-quantum algorithms such as ML-KEM, ML-DSA or SLH-DSA. Ask the project whether any post-quantum work is planned for LUKS2 key protection.

cryptsetup project

Tang network-bound key server

Tang uses the McCallum-Relyea exchange, an ECDH variant, over a JOSE-based HTTP API, and signs its key advertisement. Its README, checked on 2026-12-04, contains no mention of post-quantum cryptography. Key rotation examples use ES512 for signing and ECMR for exchange, so any move to post-quantum key exchange would change how Tang keys are generated. Ask the project for its plans before planning network-bound unlock changes.

Tang README

Clevis unlock framework

Clevis stores a random key in the LUKS header as a JWE and supports Tang, TPM2, Shamir Secret Sharing and PKCS#11 pins. The PKCS#11 pin supports only RSA, with RSA-PKCS-OAEP as the default mechanism. Its README, checked on 2026-12-04, contains no mention of post-quantum cryptography. Ask whether the project will add a post-quantum pin, and when, before relying on PKCS#11 unlock for long-lived volumes.

Clevis README

systemd-cryptenroll token enrollment

systemd-cryptenroll supports only LUKS2 volumes and can enroll FIDO2, TPM2 and PKCS#11 tokens. The FIDO2 credential algorithm defaults to ES256, with RS256 and EdDSA as alternatives, and PKCS#11 enrollment uses RSA or ECDH. The documentation, checked on 2026-12-04, contains no mention of post-quantum cryptography. Ask the project which credential algorithms it will support after a post-quantum standard is adopted, and which token vendors will supply them.

systemd-cryptenroll docs

Red Hat strategy as a stated goal

Red Hat's post-quantum strategy page, dated July 23, 2026, lists updating LUKS and key escrow to PQC-ready standards as an immediate-priority action. This is a stated goal, not a shipped LUKS feature. The page does not describe an algorithm, a release or a configuration option. Ask Red Hat for the target release, the algorithms and whether hybrid modes are planned, and do not treat the goal as a support statement.

Red Hat PQC strategy

What can break or silently stay classical

Several LUKS enrollment methods keep public-key algorithms unless you change them, and a change may require more than a setting. In systemd-cryptenroll, --fido2-credential-algorithm defaults to es256 (ECDSA over NIST P-256), with rs256 (2048-bit RSA) and eddsa (Curve25519) as the alternatives. A PKCS#11 token enrollment also keeps its existing key type: an RSA key pair wraps the random volume key, while an EC key pair uses ECDH to derive it. Changing the algorithm or token therefore means re-enrolling the volume, not editing a running configuration. Check which key type each enrolled token uses with your token vendor's tooling before planning a change.

Clevis adds a separate constraint. The Clevis README states that its PKCS#11 pin currently supports only RSA, with RSA-PKCS-OAEP as the default mechanism. Any post-quantum plan that assumes PKCS#11 tokens can move to a different key type should first confirm that the Clevis pin you run accepts that type. The sources listed on this page do not say whether a future Clevis release will add non-RSA PKCS#11 support, so confirm that with the Clevis project directly and do not assume it.

Re-enrolling a volume is the risky step. Each method you add or remove changes which key slots exist, so before you rotate an enrollment, keep a passphrase available in a key slot that does not depend on the method you are replacing. Test the new enrollment and an unlock from a recovery path on a non-production volume first. The sources do not describe a procedure for migrating enrolled tokens in place, so treat any plan that relies on one as unverified until the vendor documents it.

Common questions about LUKS public-key dependencies

Is LUKS quantum safe?

The sources listed on this page do not show LUKS as quantum safe, and the cryptsetup project has published no post-quantum algorithm support in its man pages, FAQ or 2.8.x release notes, checked on 2026-12-04. LUKS2 defaults to AES-XTS for data and Argon2 for passphrase derivation, which are symmetric and memory-hard functions. The public-key parts are different: FIDO2, PKCS#11 and Clevis with Tang or PKCS#11 rely on ECDSA, RSA or ECDH. Those parts are where the quantum question applies, and the vendor has not said what it will do about them.

Which LUKS and cryptsetup versions should I check first?

Start with the version your distribution ships, then check it against the newest upstream release. The cryptsetup GitLab tags list v2.8.9, dated November 23, 2026, as the newest tag on 2026-12-04, and its release notes call it a security bug-fix release that all users must upgrade to. The main branch reports 2.9.0-git. Also record the systemd version if you use systemd-cryptenroll, and the Clevis and Tang versions if you use network-bound unlock, since each has its own public-key behavior.

Does upgrading LUKS to post-quantum cryptography cost extra?

The sources listed on this page do not give a price or effort figure for a post-quantum LUKS upgrade, and no vendor licensing change for it appears in them. Cost usually comes from the systems around the volume: re-enrolling FIDO2, TPM2 or PKCS#11 tokens, redeploying Tang servers and key files, and testing boot and recovery paths. Ask the distribution or consulting partner for a written quote that separates one-time re-enrollment work from recurring key rotation and monitoring.

What breaks if LUKS keys or tokens move to new algorithms?

Changing the public-key part of a LUKS unlock path affects how the volume opens at boot, not the data cipher itself. The sources show that systemd-cryptenroll enrolls FIDO2 with ES256 by default, with RS256 and EdDSA as alternatives, and that PKCS#11 uses RSA or EC key pairs. Clevis with Tang uses ECMR key exchange and JWS signatures, so a Tang key change requires re-binding clients. Test each enrolled method and keep a passphrase or recovery key available before changing anything, because a failed unlock can lock a volume.

Which LUKS unlock methods depend on public-key cryptography?

Four are named in the sources. FIDO2 tokens enrolled with systemd-cryptenroll depend on public-key credentials, with ES256 as the default. PKCS#11 tokens use RSA to wrap the volume key, or ECDH with an EC key pair. Clevis with Tang uses the McCallum-Relyea exchange, an ECDH variant, plus JWS signatures on the key advertisement. Clevis with PKCS#11 supports only RSA, with RSA-PKCS-OAEP as its default mechanism. Passphrases and the default AES-XTS data cipher do not depend on public-key algorithms.

What should I ask the LUKS vendor about post-quantum plans?

LUKS has no commercial vendor in the sources, since the cryptsetup GitLab project does not name an owner. Ask the project maintainers or your distribution vendor these questions in writing: whether any post-quantum algorithm is planned for LUKS2 keyslots, FIDO2 and PKCS#11 enrollment, or Clevis pins, and on what timeline. Ask whether hybrid key exchange is planned for Tang, and which release will carry it. Red Hat's July 23, 2026 strategy lists updating LUKS to PQC-ready standards as an immediate-priority action, which is a stated goal and not a shipped feature.

Can my team plan and make the LUKS changes itself?

Many teams can inventory and test the work in-house. The inventory steps are to list which slots use FIDO2, PKCS#11, TPM2, Clevis or keyfiles, and to record the cryptsetup, systemd and Tang versions in each. Testing needs a staging host and a recovery passphrase. Outside help is worth considering when the volumes protect regulated data, when Tang servers serve many clients, or when boot and recovery must be proven for compliance evidence. DeployOpen can plan and implement these changes in the client's own environment under a fixed scope agreed in writing.

How DeployOpen helps teams review LUKS public-key dependencies

DeployOpen helps teams establish which LUKS functions depend on RSA and elliptic-curve keys, from FIDO2, PKCS#11 and Tang or Clevis unlock paths to the key protections in each volume's header. The work is scoped in writing, built and tested inside your own environment, and handed over with documentation your security and compliance teams can review.

How we scope

  • Engagements are fixed-scope, with the systems, volumes and unlock methods in review agreed in writing before work starts.
  • The written scope lists which LUKS2 volumes, enrollment types and network-bound unlock setups are included, and which are excluded.
  • Scope also states whether the review covers only existing enrollments or also the cryptsetup and systemd versions in use.

How we build

  • We inventory each volume's key slots and enrolled tokens, noting which use FIDO2, PKCS#11, TPM2, Tang or passphrases.
  • We record the algorithms and parameters each enrollment uses, such as ES256, RS256, RSA-PKCS-OAEP or the Tang ECMR exchange.
  • We test the enrollments in a lab copy of your environment so that unlock behavior is confirmed before anything changes in production.

How we hand over

  • You receive a written dependency inventory listing each LUKS function that relies on public-key cryptography, with its version and setting.
  • The report notes where public-key dependencies were confirmed by testing and where they rest on documentation, so reviewers can see the difference.
  • Handover includes the commands, configuration keys and file locations needed to repeat the inventory on your own systems.

How we support

  • Ongoing support and continuous review are available as retainers, useful when cryptsetup or systemd versions change.
  • Before any upgrade, we can confirm with the vendor which post-quantum support, if any, is documented for your release.
  • Confirm with the LUKS and Tang maintainers and your own change records any point the public sources on this page do not cover.

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.