How to check WebAuthn library support for post-quantum credentials

To check whether your WebAuthn library can handle post-quantum credentials, confirm it verifies ML-DSA COSE algorithms (-48, -49, -50) on a supported runtime, then test registration and authentication end to end against an authenticator that actually produces ML-DSA keys.

On this page

Does your WebAuthn library verify ML-DSA passkeys today

A server-side WebAuthn library can verify post-quantum passkeys only if it implements the ML-DSA COSE identifiers (-48 for ML-DSA-44, -49 for ML-DSA-65 and -50 for ML-DSA-87) and runs on a runtime that supports ML-DSA. The sources list shipped support in WebAuthn4J 0.32.0, released 2 November 2026, and in SimpleWebAuthn. Authenticator support is still limited, so a library that verifies ML-DSA signatures does not mean your users have authenticators that can create them. Treat library support and authenticator support as two separate questions.

This matters first to relying parties and to the identity teams that run passwordless login on them. If your service accepts passkeys through a library, the library decides which algorithms it offers at registration and which signatures it will verify at login. A library that drops unknown algorithm identifiers, or one that cannot verify ML-DSA on your runtime, will fail those credentials, and your login flow will show it as a registration or assertion error rather than a clear unsupported-algorithm message. Platform and security teams should find out now, before any product owner asks for post-quantum credentials.

Start with the runtime. WebAuthn4J needs JDK 24 or later, or Bouncy Castle at runtime, for ML-DSA. It still compiles and runs on JDK 17, but its ML-DSA tests are skipped there. SimpleWebAuthn documents ML-DSA on Node v24.7.0 and later and Deno v2.8.2 and later, and it provides SettingsService.runtimeSupportsPQC() to check at runtime. Confirm your exact runtime version, not the family name, because the sources tie support to specific releases. Keycloak's issue records that ML-DSA was backported to JDK 21.0.13 and 17.0.21, but check the vendor documentation for the build you run.

Next, check the library's registration and verification path. In SimpleWebAuthn, pass the same supportedAlgorithmIDs list to generateRegistrationOptions() and verifyRegistrationResponse(), or responses carrying ML-DSA keys may be rejected. Confirm your publicKey column can hold the larger keys: 1,312 bytes for ML-DSA-44, 1,952 for ML-DSA-65 and 2,592 for ML-DSA-87, against 64 bytes for ECDSA P-256. Then run a test against a passkey test site or a test authenticator. Note that 1Password lists webauthn.io for ML-DSA testing, and a July 2026 Keycloak comment reports it working in Safari on macOS, but that comment called this suitable only for very early testing. The FIDO server requirements list -48, -49 and -50 as Recommended, so keep ES256 (-7) and EdDSA (-8) in pubKeyCredParams while you test.

Where WebAuthn credentials use public-key signatures today

This table lists each place a passkey or WebAuthn flow uses public-key signatures, from the credential public key through attestation to the relying party's verification step. The third column marks whether ML-DSA identifiers would touch that point, so you can check whether your library handles each one. Use it as a checklist against your own server and test authenticator.

ElementCurrent algorithmsTouched by ML-DSA identifiers
Credential public key (COSE)ES256 (-7), EdDSA (-8), RS256 (-257) per W3C WebAuthn Level 3 sample registrationYes, ML-DSA-44 (-48), ML-DSA-65 (-49) and ML-DSA-87 (-50) are new COSE values for this key
pubKeyCredParams in registration optionsRelying party lists accepted algorithms; ES256 and EdDSA are Required in the FIDO server draftYes, the server should accept -48 to -50 without dropping -7 and -8
Attestation statement signatureSigned by the authenticator's attestation key using the algorithm its certificate declaresYes, if an authenticator signs attestation with an ML-DSA key, which the sources do not confirm for shipping devices
Assertion signature at authenticationSigned by the credential private key over authenticator data and client data hashYes, a verifier must check ML-DSA assertion signatures when the stored key is ML-DSA
Relying party verification stepLibrary selects a verifier from the COSE algorithm identifier stored with the credentialYes, the library must support the AKP key type (value 7) and the three ML-DSA identifiers
Runtime or JDK support for verificationCryptographic provider available at runtimeYes, ML-DSA needs JDK 24 or later, or Bouncy Castle, in WebAuthn4J per its PR 1337
Challenge and client data handlingRandom challenge and origin checks in the client data JSONNo, these steps do not depend on the signature algorithm
Relying party ID and origin checksCompared as strings against the registered RP ID and originNo, these steps stay unchanged

What the standards publish on ML-DSA in WebAuthn

The core question for a library team is which specification defines the post-quantum signature identifiers and which document a server should follow. NIST FIPS 204, Module-Lattice-Based Digital Signature Standard, was published as a final standard on 13 August 2024 and specifies the ML-DSA algorithms themselves. The encoding of those algorithms for WebAuthn is handled separately. RFC 9964, ML-DSA for JOSE and COSE, is a Proposed Standard dated May 2026 that specifies the COSE serializations of ML-DSA. The IANA COSE registry assigns ML-DSA-44 the value -48, ML-DSA-65 the value -49 and ML-DSA-87 the value -50, all referencing RFC 9964. It also registers the AKP key type as value 7 with pub (label -1) and priv (label -2). Confirm these values in your library's source and in the registry before relying on them.

The FIDO and W3C documents differ in status, and a test plan should treat them that way. The FIDO Alliance Server Requirements Review Draft of 26 February 2026 lists ML-DSA-44, ML-DSA-65 and ML-DSA-87 as Recommended, while ES256 (-7) and EdDSA (-8) remain Required. That draft says it is not intended to be a basis for any implementations, so a server should keep accepting ES256 and EdDSA regardless of what it sees there. W3C Web Authentication Level 3 is a Recommendation dated 25 August 2026, but its sample registration request lists only EdDSA, ES256 and RS256 as the algorithms a relying party will accept. Check your server's pubKeyCredParams against that list, and do not assume ML-DSA is included in it.

Two open items affect what you can promise. W3C WebAuthn issue 2417, opened on 22 April 2026 and still open under the "L4 WD02 Milestone", proposes ways for relying parties to move users to post-quantum algorithms without new credentials, and its outcome is not settled. Mozilla bug 2064183 records that the FIDO Metadata Service listed no certified authenticators supporting ML-DSA at the time of its triage, so relying parties cannot require these algorithms and expect them to work for the general public. When you test, record which algorithms each authenticator and platform actually returns, and keep ES256 as the fallback until the standards and the metadata catalogue say otherwise.

Which libraries and products have shipped ML-DSA support

Server libraries are where a relying party verifies ML-DSA signatures and decides which algorithms it offers. WebAuthn4J added ML-DSA-44, ML-DSA-65 and ML-DSA-87 support with pull request #1337, which was merged on 8 October 2026, and shipped it in release 0.32.0.RELEASE, published 2 November. Keycloak has since upgraded to WebAuthn4J 0.32.0, and its issue #50084 records that ML-DSA was backported to JDK 21.0.13 and 17.0.21.

  • WebAuthn4J 0.32.0: Adds ML-DSA support and requires JDK 24 or later, or Bouncy Castle at runtime. It still runs on JDK 17, with ML-DSA tests skipped when the algorithm is unavailable.
  • Bouncy Castle FIPS: The FIPS build does not yet provide ML-DSA inside its certified boundary, so those tests are skipped.
  • Keycloak: Its non-goals include making ML-DSA the default and migrating existing credentials.
  • SimpleWebAuthn: Works on Node v24.7.0 and later and Deno v2.8.2 and later. Call SettingsService.runtimeSupportsPQC() to check, and pass the same supportedAlgorithmIDs to both generateRegistrationOptions() and verifyRegistrationResponse().
  • Database column: Confirm the publicKey column can hold keys of 1,312 bytes (ML-DSA-44), 1,952 bytes (ML-DSA-65) or 2,592 bytes (ML-DSA-87), compared with 64 bytes for ECDSA P-256.

Confirm the library version and runtime you deploy against, since support depends on both. Check the release notes for your own version.

What changes in key size and compatibility

Post-quantum ML-DSA credentials change two things a WebAuthn deployment depends on: how large keys and signatures are, and which algorithms the server accepts at each step of the ceremony. The four cards below cover what to check in your database schema, your runtime and library versions, your option handling, and your plans for existing users, so you can test before any credential is requested.

Key and signature sizes

RFC 9964 Table 1 gives ML-DSA-44 a public key of 1312 bytes and a signature of 2420 bytes. The same column for ECDSA P-256 is 64 bytes for the public key, so a schema built around short EC keys will not hold ML-DSA values. ML-DSA-65 is 1952 and 3309 bytes, and ML-DSA-87 is 2592 and 4627 bytes. The RFC warns that these sizes may be a problem where bandwidth, memory or processing is limited. Check the passkey public key column and any signature field before you request ML-DSA credentials, and confirm that your registration payload size limits accept the larger values.

RFC 9964 text

Runtime requirements for libraries

The libraries do not run ML-DSA the same way everywhere. WebAuthn4J needs JDK 24 or later, or Bouncy Castle at runtime, for ML-DSA. It still compiles and runs on JDK 17, and its ML-DSA tests are skipped when the algorithm is unavailable, so a passing build on JDK 17 does not prove ML-DSA verification works. SimpleWebAuthn says ML-DSA works on Node v24.7.0 and later and Deno v2.8.2 and later. Call SettingsService.runtimeSupportsPQC() at startup and log the result, so a runtime that lacks support fails visibly and does not reject credentials silently.

SimpleWebAuthn PQC docs

Matching supportedAlgorithmIDs across calls

SimpleWebAuthn documents that you must pass the same supportedAlgorithmIDs list to both generateRegistrationOptions() and verifyRegistrationResponse(). If the list used at options time differs from the list used at verification, responses carrying ML-DSA keys may be rejected. Store the list in one shared configuration value, and write a test that performs a registration with ML-DSA-44 enabled and verifies it with the same configuration. Also confirm that the server accepts -48, -49 and -50 in pubKeyCredParams while still keeping the Required ES256 (-7) and EdDSA (-8) entries, since the FIDO server draft lists those as Required.

SimpleWebAuthn PQC docs

Existing credentials are not migrated

Keycloak's work on ML-DSA lists migrating existing credentials as a non-goal, and it also excludes making ML-DSA the default. A user who registered an ES256 passkey keeps that credential. A new ML-DSA credential has to be created by a new registration, and the W3C issue on relying party transitions (issue #2417, opened 22 April 2026) is still open with no settled method for moving users in place. Plan your rollout as a parallel path: new registrations can offer ML-DSA, old credentials keep working, and your recovery and account-linking flows must handle users who hold both kinds. Ask your identity vendor or library maintainer whether they have a migration path in their release notes before you rely on one.

Keycloak issue 50084

How to test your WebAuthn library for ML-DSA support

This sequence checks whether your server-side WebAuthn library can register and verify ML-DSA passkeys, from runtime and storage prerequisites through to a recorded, repeatable result. Each step produces a check you can record, so the outcome tells you what your stack accepts, not what the standard merely allows.

  1. Confirm the library release and runtime

    Identify the WebAuthn library and version you run, and the runtime it executes on. For WebAuthn4J, ML-DSA support is in release 0.32.0.RELEASE, which needs JDK 24 or later, or Bouncy Castle available at runtime. On JDK 17 the library still compiles and runs, but the ML-DSA tests are skipped when the algorithm is unavailable. For SimpleWebAuthn, the documentation says ML-DSA works on Node v24.7.0 and later, and Deno v2.8.2 and later. Call SettingsService.runtimeSupportsPQC() if you use SimpleWebAuthn, and record the result. You are done when you have a written library version and runtime version that match a supported combination.

  2. Confirm the passkey public key column fits ML-DSA keys

    Check the database column that stores passkey public keys before you request ML-DSA credentials. The SimpleWebAuthn documentation lists public keys of 64 bytes for ECDSA P-256, against 1,312 bytes for ML-DSA-44, 1,952 bytes for ML-DSA-65, and 2,592 bytes for ML-DSA-87. RFC 9964 gives the same public key sizes and warns that larger keys can be a problem for deployments with limited bandwidth, memory or processing capacity. Confirm the column, and any fixed-width field in your schema or API, can hold up to 2,592 bytes. Record the column type and its maximum size. You are done when the schema check passes for the largest parameter set you intend to accept.

  3. Check that pubKeyCredParams accepts ML-DSA and keeps classical algorithms

    Build a registration request whose pubKeyCredParams includes the ML-DSA identifiers -48 (ML-DSA-44), -49 (ML-DSA-65) and -50 (ML-DSA-87), registered in the IANA COSE registry. Keep ES256 (-7) and EdDSA (-8) in the same list. The FIDO Server Requirements review draft lists ES256 and EdDSA as Required and the ML-DSA identifiers as Recommended, so a server that drops the Required algorithms when it adds ML-DSA fails this check. Inspect the generated options and confirm all five identifiers are present. You are done when the outgoing options contain -48, -49, -50, -7 and -8.

  4. Run registration and authentication against an ML-DSA authenticator

    Run a full registration and then an authentication against an authenticator that produces ML-DSA key pairs. WebAuthn4J's pull request adds a test authenticator that can generate ML-DSA keys, and the 1Password announcement says ML-DSA passkeys are supported in version 8.12.44 and later, created only for sites that support them. Webauthn.io is named in the sources as a testing site for ML-DSA passkeys, and a July 2026 Keycloak comment reports it working with Safari on macOS, which is suitable for early testing only. Record which authenticator and client you used, and whether registration returned an ML-DSA key. You are done when both ceremonies complete and the stored credential's algorithm is recorded.

  5. Verify the supportedAlgorithmIDs list is identical on both calls

    The SimpleWebAuthn documentation says to pass the same supportedAlgorithmIDs list to both generateRegistrationOptions() and verifyRegistrationResponse(). If the lists differ, responses with ML-DSA keys may be rejected. Log or diff the list at each call during the test run, and confirm the contents and order match. If you use a different library, check its documentation for the equivalent setting, because the sources here do not describe how other libraries handle algorithm lists. You are done when the two logged lists are identical and the verification step accepts the ML-DSA response.

  6. Record the results and the versions tested

    Write down the library name and version, the runtime and its version, the database column type and size, the authenticator and client used, and the algorithm of each credential created. Note which tests were skipped, for example ML-DSA tests skipped on JDK 17. Record the date of the test. Keep this record with the configuration so a later upgrade can be compared against it. The sources note that ML-DSA is not the default in every product and that existing credentials are not migrated automatically, so record whether any credentials were created with ML-DSA or only tested in a sandbox. You are done when the record lets another engineer repeat the test on the same versions and reach the same result.

Where ML-DSA sits in a passkey registration flow

The diagram starts at the relying party, which builds registration options with a supportedAlgorithmIDs list that includes ML-DSA identifiers (-48, -49, -50) only after confirming runtime support. The authenticator returns a credential public key in COSE form, and the algorithm value in that key tells the server which signature scheme to verify. The server then checks the response against the same list it used to build the options. Pass the identical list to both steps, because responses with ML-DSA keys may be rejected otherwise. Confirm your library's runtime requirements for your version before enabling ML-DSA.

Passkey registration showing where the ML-DSA algorithm list is set, returned and verified.

Risks a WebAuthn library test can expose

A test of a WebAuthn library for ML-DSA credentials can fail in ways that look like authenticator problems but come from the server. The four risks below each have a distinct signal, so a failed test can be traced to its cause before the library is trusted with real credentials.

Algorithm lists that differ between calls

SimpleWebAuthn's documentation says to pass the same supportedAlgorithmIDs list to both generateRegistrationOptions() and verifyRegistrationResponse(). If the lists differ, responses carrying ML-DSA keys may be rejected at verification. The signal is a verification error on a registration that the authenticator completed successfully. To check, configure one list in a single place, run a registration, and confirm the algorithm offered at options time is accepted at verification.

SimpleWebAuthn PQC docs

Database truncation of large keys

ML-DSA public keys are far larger than an ECDSA P-256 key. SimpleWebAuthn's documentation lists 64 bytes for P-256 against 1,312 bytes for ML-DSA-44, 1,952 for ML-DSA-65 and 2,592 for ML-DSA-87. A publicKey column sized for the older key can silently truncate or refuse the new one. The signal is a failed insert or a stored key that no longer verifies. Confirm the column type and length before requesting ML-DSA credentials.

SimpleWebAuthn PQC docs

Bouncy Castle FIPS boundary gap

WebAuthn4J's Bouncy Castle FIPS tests are skipped because BC-FIPS does not yet provide ML-DSA inside its certified boundary. A deployment that must run inside a FIPS-validated module cannot assume ML-DSA verification is covered by that boundary today. The signal is a skipped test rather than a passed one. Read the test report for skipped ML-DSA cases, and if the deployment depends on FIPS validation, ask the library maintainers and your validation authority how verification is covered.

WebAuthn4J PR 1337

Results from browsers and test sites

A July 2026 comment on Keycloak issue 50084 reported that ML-DSA worked with webauthn.io and Safari because Apple's macOS API implements it, and called this suitable for very early testing only. A successful run against those tools does not show that your library or your users' authenticators will behave the same way. The signal is a pass that cannot be repeated against a second authenticator. Treat browser-based results as a first check and confirm with at least one other authenticator before relying on them.

Keycloak issue 50084

What is still open for ML-DSA in WebAuthn

The main open question for ML-DSA in WebAuthn is how a relying party moves existing users to post-quantum algorithms without asking them to register new credentials. W3C issue 2417, opened on 22 April 2026, raises exactly this problem under the "L4 WD02 Milestone" and proposes ways to handle it. The issue is still open, so relying parties should not assume a standard migration path exists. Until it closes, plan for users whose credentials are ES256 or EdDSA to stay on those algorithms, and confirm your server can keep verifying them alongside any new ML-DSA keys.

Authenticator and platform support is also limited. A Mozilla Bugzilla triage comment in bug 2064183 says the FIDO Metadata Service (v276) lists no certified authenticators that support ML-DSA, so a relying party cannot require post-quantum algorithms and expect them to work for the general public. The same comment says Chromium appears to be working on ML-DSA only on Android, and that Windows platform APIs do not list the algorithm. Before you rely on any browser or platform, check the current FIDO Metadata Service listing and the vendor's release notes for the versions your users run.

Finally, do not treat ML-DSA as the default. The FIDO Server Requirements review draft of 26 February 2026 lists ML-DSA identifiers as Recommended, while ES256 and EdDSA remain Required, and the Keycloak issue 50084 records that making ML-DSA the default and migrating existing credentials are non-goals. Test that your server accepts -48, -49 and -50 in pubKeyCredParams without removing the Required algorithms, and treat any move of existing credentials as an open design decision to confirm against the standards and your own identity policy.

Common questions about WebAuthn library post-quantum support

Is upgrading my WebAuthn library enough to accept post-quantum passkeys?

No. A library upgrade is necessary but not sufficient. WebAuthn4J added ML-DSA support in release 0.32.0.RELEASE, published 2 November 2026, and SimpleWebAuthn documents ML-DSA support as well. Your application still has to request the ML-DSA algorithm identifiers, pass the same supported algorithm list to both registration steps, and store keys that can be far larger than the ones you hold today. Confirm the behavior with a test registration against the exact version you run, since the sources only describe what each release lists.

Which runtime do WebAuthn4J and SimpleWebAuthn need for ML-DSA?

The runtime decides whether ML-DSA works at all. WebAuthn4J needs JDK 24 or later, or Bouncy Castle at runtime. It still compiles and runs on JDK 17, but its ML-DSA tests are skipped when the algorithm is unavailable. The Keycloak issue records that ML-DSA was backported to JDK 21.0.13 and 17.0.21, which removes the need for Bouncy Castle there. SimpleWebAuthn documents ML-DSA on Node v24.7.0 and later and Deno v2.8.2 and later, and it provides SettingsService.runtimeSupportsPQC() to check at startup. Verify your runtime version before you rely on either library.

Does testing ML-DSA passkeys require a real ML-DSA authenticator?

Not for the first pass. WebAuthn4J's pull request adds a test authenticator that can generate ML-DSA key pairs, so server verification can be exercised without hardware. A real authenticator is still needed to confirm end-to-end behavior. The sources report that webauthn.io and Safari work with ML-DSA through Apple's macOS API, and that 1Password supports ML-DSA passkeys from version 8.12.44, announced 20 October 2026, but only for sites that request them. Mozilla's bug comments say Chromium support appears limited to Android and that Windows platform APIs do not list the algorithm. Treat these as early testing, not production assurance.

Should I ask my passkey vendor for RFC 9964 and -48 to -50 support?

Yes, ask for the specific identifiers and the test evidence. RFC 9964 is a Proposed Standard dated May 2026 that defines ML-DSA for COSE, and the IANA registry assigns ML-DSA-44 as -48, ML-DSA-65 as -49 and ML-DSA-87 as -50. The FIDO Server Requirements review draft of 26 February 2026 lists these as Recommended, not Required, and it keeps ES256 (-7) and EdDSA (-8) as Required. Ask the vendor whether it accepts -48 to -50 alongside those, how it handles the AKP key type, and whether it has tested them against the authenticators you expect your users to hold.

Can my team run this WebAuthn post-quantum test in-house?

Often yes, if your engineers can run the library's test suite and a test registration. The work covers checking the runtime version, confirming the database column can hold the larger keys (for example 1,312 bytes for ML-DSA-44 against 64 bytes for ECDSA P-256), updating the algorithm list in both registration calls, and reviewing the result. Outside help is useful when the application uses many relying party flows, when you need evidence for an assessment, or when staff have no time for the cross-version testing. Ask any provider for a written scope that names the library versions and the tests it will run.

How much larger are ML-DSA passkey keys and signatures, and why does it matter?

They are much larger, and the difference affects storage and performance. RFC 9964 Table 1 gives public key and signature sizes of 1312 and 2420 bytes for ML-DSA-44, 1952 and 3309 for ML-DSA-65, and 2592 and 4627 for ML-DSA-87. The RFC warns that these sizes may be a concern where bandwidth, memory or processing capacity is limited. SimpleWebAuthn's documentation advises confirming the passkey publicKey column can hold these values before requesting them. Check your schema, your message size limits and any client that caches credentials before you enable the algorithms.

How DeployOpen works on this

DeployOpen starts by mapping which WebAuthn library and runtime your passkey service actually uses, then tests whether it accepts ML-DSA credential algorithms on the same paths your users take. The work produces a dated support matrix and a tested upgrade plan that your team can review and keep.

How we scope

  • Inventory the WebAuthn library, version and runtime (JDK, Node or Deno) used by your relying party.
  • Confirm which authenticators and browsers your users rely on, and which ones your scope will test.
  • Agree the written scope, deliverables and timeline in writing before any testing begins.

How we build

  • Build test registration and authentication flows that request ML-DSA-44, ML-DSA-65 and ML-DSA-87 alongside ES256 and EdDSA.
  • Verify that pubKeyCredParams still includes the Required algorithms ES256 (-7) and EdDSA (-8) during each test.
  • Check that the passkey public key storage column can hold ML-DSA keys, which are 1,312 bytes or larger.

How we hand over

  • Deliver a support matrix listing library version, runtime, algorithm identifiers and the test results for each.
  • Document configuration changes, including passing the same supportedAlgorithmIDs list to registration and verification.
  • Provide a written upgrade plan covering fallback behavior, so you can decide whether to roll changes out gradually.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, which covers library updates as the ecosystem changes.
  • Re-run the test suite when you upgrade the WebAuthn library, the runtime or the authenticator set you support.
  • Confirm with your library maintainer and the vendor documentation whether a given version fully supports the algorithms you need.

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.