Does Keycloak support post-quantum cryptography?

As of the sources checked on 2026-12-03, no Keycloak release documents post-quantum key exchange or post-quantum token signatures. Work is tracked in open issues, and this page explains what each claim rests on.

On this page

Does Keycloak support post-quantum key exchange or signatures today?

You are probably here because an inventory, a vendor questionnaire or an approval form asks whether your Keycloak deployment supports post-quantum cryptography, and you need an answer you can record. Split the question in two. For key exchange, the Keycloak features guide documents no post-quantum or hybrid key exchange, and the tracking issue #43691 was still open as of 2026-12-03 with no linked pull requests. For signatures and certificates, ML-DSA support for OAuth and OpenID Connect is tracked in #43692, which was also open on that date with no milestone and no linked pull requests. Neither is documented as shipped. Record both answers separately, because a yes to one does not mean a yes to the other.

The latest release on the Keycloak release notes page was 26.8.2 when checked on 2026-12-03, and the page gave no release date for it, so confirm the release date and feature list against the release notes before you cite a version. The Keycloak source tree is ahead of that. The nightly Javadoc for 999.0.0-SNAPSHOT lists a GeneratedMlDsaKeyProviderFactory class in org.keycloak.keys, which shows ML-DSA key provider code exists in development. That class does not mean ML-DSA keys are released, and the documentation does not say they are. Do not treat a Javadoc entry as a supported configuration option.

For the questionnaire answer, state what is documented: no shipped post-quantum key exchange, no shipped post-quantum signatures, and open tracking issues that name the work. If your reviewer asks for a commitment or a date, Keycloak's own issue discussion does not give one. Parent issue #43690 names making post-quantum cryptography the default and deprecating legacy algorithms as non-goals for this stage. Ask your Keycloak vendor or support provider to confirm any roadmap in writing, and keep the date of that confirmation with your evidence.

Keycloak support by version and edition for post-quantum algorithms

This table compares the Keycloak release line, the 27.0 milestone and the nightly snapshot on post-quantum key exchange, post-quantum signatures or certificates, default behavior and the date each fact was checked. Read each cell as what the cited source documents on that date, not as a statement about what the project will ship. Where a cell says not documented, confirm the point in the release notes and features guide for the exact version you run before you rely on it. The main takeaway is that no release line the sources describe documents post-quantum key exchange or post-quantum signatures as shipped or enabled by default.

Release or buildPost-quantum key exchangePost-quantum signatures or certificatesOn by default or opt-inSource date
26.x line (latest 26.8.2)Not documented. The features guide lists no post-quantum or hybrid key exchange feature flag.Not documented. Issue 46336 lists RSA, ECDSA and EdDSA signatures, not ML-DSA. Issue 43692 has no milestone.Not documented. The 26.8.0 release notes add encrypted PKCS#8 HTTPS keys, not post-quantum options.Latest version 26.8.2 checked 2026-12-03, with no release date given.
27.0 milestoneNot documented as shipped. Issue 43691 proposes PQC_TLS_KEY_EXCHANGE, still open and unlinked to pull requests.Not documented as shipped. Issue 43692 (ML-DSA for OAuth and OpenID Connect) has no milestone and no linked pull requests.Not documented. Parent issue 43690 names making PQC the default as a non-goal for this stage.Issues 43691 and 43692 checked 2026-12-03.
Nightly snapshot (999.0.0-SNAPSHOT)Not documented. No key exchange feature appears in the cited Javadoc.Partly present in code. The Javadoc lists GeneratedMlDsaKeyProviderFactory, but the page does not say it is released.Not documented. The Javadoc does not state a default.Nightly Javadoc checked against the 2026-12-03 issue state.

Which algorithms Keycloak uses today and where they apply

Keycloak's current cryptography is built on public-key algorithms such as RSA, ECDSA and ECDH, and none of them are post-quantum. The cards below map each algorithm to the interface where it applies, so you can check which settings and keys to inventory before planning any change.

RS256 as the default token signature

Keycloak's maintainer-authored cryptographic inventory lists RS256 as the default algorithm for RSA keys, so realm keys signing access tokens, ID tokens and logout tokens use an RSA signature unless an administrator changes the key provider. RSA is a public-key algorithm and is not post-quantum. Check each realm's active key provider and its priority to confirm which key is signing tokens today.

Default RSA key size
2048 bits
Keycloak issue 46336

RSA-PS and ECDSA token signatures

Beyond the default, Keycloak's inventory lists RSA signatures in the PS variant and ECDSA signatures with ES256, ES384 and ES512, along with EdDSA. These apply to realm signing keys and to token signing when a realm's key provider is set to use them. All of these are public-key signature algorithms and none is post-quantum. Confirm which signature algorithm each client expects, since changing the realm key type can affect clients that validate tokens.

Realm keys source

RSA-OAEP and ECDH-ES key encryption

The same inventory lists RSA-OAEP and ECDH-ES for key encryption, used where Keycloak encrypts a content key for a recipient. This sits beside token signing and is a separate function, so a signing change does not change it. RSA1_5 also remains available outside strict FIPS mode. Check which encryption algorithms are enabled for each client and realm, and whether a FIPS strict deployment disallows RSA1_5 by default.

Keycloak FIPS guide

SAML RSA_SHA1 and DSA_SHA1 flagged for removal

SAML support in the same inventory includes RSA_SHA1 and DSA_SHA1, which the inventory flags for removal. These apply to SAML assertion and request signing with federated service providers, not to realm token keys. Both are classical public-key algorithms and neither is post-quantum. Find which SAML clients still use these algorithms and plan a move to stronger options before any removal takes effect.

Keycloak issue 46336

TLS 1.3 with TLSv1.2 fallback

For HTTPS on the Keycloak server, the https-protocols option defaults to TLSv1.3,TLSv1.2, so TLS 1.3 is preferred and TLS 1.2 is the fallback. Key exchange in these handshakes is classical and is not post-quantum. Deprecated protocols are disabled by default, and a value the JRE does not support is silently ignored. Check the effective protocol list on each listener, including the management interface.

Default HTTPS port
8443
Keycloak TLS guide

Outgoing TLS trust and truststores

For connections Keycloak makes outward, such as to identity brokers, user federation and back-channel endpoints, trust comes from Java's default certificates plus any added with --truststore-paths. The generated truststore is PKCS12 by default and BCFKS in FIPS strict mode. The tls-hostname-verifier defaults to DEFAULT. These checks use classical certificates signed with public-key algorithms, so inventory the trusted issuers and the truststore format for each deployment.

Keycloak truststore guide

What Keycloak's post-quantum support depends on

Keycloak's post-quantum status rests on a chain of dependencies, and none of the links in that chain makes Keycloak support post-quantum cryptography on its own. The first link is the Java runtime. Keycloak 26.6.0 supports running on OpenJDK 25, but its server container image still uses OpenJDK 21 so that FIPS mode remains available. Java 24 is the earliest release with native ML-KEM and ML-DSA APIs, and a contributor's comment in issue #45168 says PQC work needs at least that version. Confirm which JDK your deployment actually runs, because the container image and a self-built or host-installed JDK may differ.

The second link is key exchange. Issue #43691 proposes hybrid key exchange in TLS 1.3, and it would depend on a JDK that includes JEP 527 and an experimental feature flag named PQC_TLS_KEY_EXCHANGE. That issue is still open and shows no linked pull requests, and the features guide does not list the flag. Treat the JDK version and the TLS configuration in your environment as separate questions, and do not assume that a newer runtime turns on hybrid key exchange.

The third link is FIPS mode. Strict FIPS mode needs the BouncyCastle FIPS jars, which Keycloak does not ship, so you must download them and add them to providers. The FIPS guide also recommends OpenJDK 21 for compliance. Strict mode additionally requires RSA keys of at least 2048 bits and disallows RSA1_5 by default. Before planning any change, confirm which JDK, which BouncyCastle version and which --fips-mode setting your deployment uses, since a runtime upgrade can conflict with the FIPS recommendation.

How to check what a Keycloak deployment negotiates today

This sequence records the Keycloak version, TLS settings, realm key configuration and the TLS group a client actually negotiates, so you have a dated, evidence-based picture of the current state. No post-quantum enablement setting is documented for Keycloak, so these steps observe and record the result without changing anything.

  1. Confirm the Keycloak version and JDK

    Run the server's version check and the Java runtime check on the host or container that serves Keycloak, then record both values with the date. Check the running version against the release notes page, which showed 26.8.2 as the latest version when we last checked on 2026-12-03, and note that the page did not give a release date. Also record the JDK, because Keycloak's FIPS guide recommends OpenJDK 21 for compliance, and the 26.6.0 release notes say the server container image continues to use OpenJDK 21 to support FIPS mode. Your check is done when you have the exact Keycloak build and the exact JDK vendor and version written down for this deployment.

  2. List the configured HTTPS protocols and cipher suites

    Read the effective values of the https-protocols and https-cipher-suites options from the startup configuration, the keycloak.conf file, or the command line. The TLS guide says https-protocols defaults to TLSv1.3,TLSv1.2 and that deprecated protocols are disabled by default. It also says a value the JRE does not support is silently ignored, so confirm that each protocol you expect is actually supported by your JRE. The guide says https-cipher-suites has no fixed default and that Keycloak selects a reasonable default when no value is given, so record the value your deployment uses, or record that none is set. Also list the https-port, which defaults to 8443, and the management interface https-management-* options if they are set. Your check is done when you have a written list of the protocols and cipher suites in effect, with a note of any value that was left at its default.

  3. Verify the HTTPS certificate source

    Identify how the HTTPS certificate reaches the server by checking whether https-certificate-file and https-certificate-key-file are set (PEM) or whether https-key-store-file is set (PKCS12 or JKS). The TLS guide says PEM files take precedence if both are configured, so note which set is actually in effect. If the private key is encrypted, the 26.8.0 release notes say the key password is supplied through --https-certificate-key-file-password, so record whether that option is in use without writing the password into your notes. Inspect the certificate with an OpenSSL command to record its public key type and size. Your check is done when you know which certificate source is active and which public key algorithm and size it carries.

  4. Check the active realm key provider and algorithm

    In the admin console or through the admin API, open each realm and review its keys, then note the provider, the algorithm and the priority of the active key. The realm keys documentation says each realm has one active key pair at a time, and that the highest provider priority is the active key. The documented key providers are rsa-generated, rsa for an uploaded PEM key, and java-keystore. The maintainer-authored cryptographic inventory in issue 46336 lists RS256 as the default for RSA keys and records a default RSA key size of 2048 bits, so confirm whether your realm still uses that default or has been changed. The same inventory notes that RSA keys below 2048 bits remain supported outside strict FIPS mode. Your check is done when you have the algorithm, key size and provider for the active key in every realm, plus the date each key was created.

  5. Record the FIPS mode and crypto provider state

    Check whether the fips feature is enabled and which fips-mode value is in effect. The FIPS guide says FIPS 140-2 mode is enabled with --features=fips, that --fips-mode defaults to non-strict, and that approved mode requires --fips-mode=strict. The guide also says strict mode requires RSA keys of at least 2048 bits and disallows RSA1_5 by default. If FIPS is on, confirm that the BouncyCastle FIPS jars are listed in the providers setting, since Keycloak does not ship them. Your check is done when you have written down whether FIPS is off, non-strict or strict, and which crypto providers are loaded.

  6. Negotiate with a TLS client and record the group

    From a separate host, connect to the Keycloak HTTPS port with a TLS client that reports the negotiated key exchange group. Use the port the TLS guide gives as the default, 8443, or the port your deployment uses. Record the protocol version, the cipher suite and the named group that the client reports for the connection. The observed result is the only evidence of what the deployment actually negotiates. Repeat the connection from each client type that your users rely on, because the negotiated group depends on the client as well as the server. Your check is done when you have the negotiated protocol, cipher suite and key exchange group for each client type, with the client name and version and the time of the test.

  7. Record the result and note what is not documented

    Write the results from the previous steps into one dated record, with the Keycloak version, JDK, protocol and cipher settings, certificate type, realm key algorithms, FIPS mode and the negotiated group for each client. Add a note that no post-quantum enablement setting is documented for Keycloak. The features guide lists no post-quantum or hybrid key exchange flag among its supported, preview, deprecated or experimental features. Issue 43691, which proposes hybrid key exchange, is still open, and no shipped release is documented as supporting post-quantum key exchange. Issue 43692 for ML-DSA signatures is also open with no milestone. Your check is done when the record states what was observed, what was not found in the documentation, and when the check was run.

What Keycloak does not yet support or has not published

Keycloak has no shipped release documented as supporting post-quantum key exchange or signatures, as of 2026-12-03. The cards below cover the open issues, the design questions and the items the project has not published, so reviewers can record what is missing and check it against each release.

Hybrid or pure PQ key exchange in shipped releases

Issue #43691 proposes hybrid key exchange in TLS 1.3, gated behind an experimental feature flag named PQC_TLS_KEY_EXCHANGE and dependent on a JDK with JEP 527. As of 2026-12-03 the issue remains open with the 27.0 Development Milestone and no linked pull requests. The features guide does not list the flag, so no shipped release is documented as supporting post-quantum key exchange. Check the features guide and release notes for each version before recording a result.

Issue 43691

ML-DSA keys and token publication

Issue #43692 tracks ML-DSA signing for OAuth and OpenID Connect, including publishing ML-DSA keys and issuing and verifying ML-DSA-signed tokens. As of 2026-12-03 it has no milestone, no linked pull requests and 3 of 9 sub-issues complete. A nightly Javadoc class, GeneratedMlDsaKeyProviderFactory, shows key provider code exists in the development tree, but the sources do not say it is released. Ask Keycloak for the release that ships ML-DSA token signing and JWK publication.

Issue 43692

SAML signature support

Issue #45168, a spike opened 2026-01-06 and still open, notes that post-quantum work needs at least Java 24 for native ML-KEM and ML-DSA APIs. It also records an IETF draft work stream for post-quantum XML signatures that would affect SAML. Any SAML deployment that depends on signature algorithms should treat SAML post-quantum signing as unpublished. Ask the vendor for the SAML signature algorithms planned and the dependency on the IETF draft's status.

Issue 45168

Hybrid token signatures

A maintainer comment in discussion #40496, dated 2025-10-22, states that hybrid signatures are not supported by JWS. Hybrid token signing therefore has no documented path in the current JWT format. Reviewers should record that hybrid signing for tokens is unsupported and ask whether the project plans a different token format.

Discussion 40496

Default migration away from legacy algorithms

Parent issue #43690, opened 2025-10-24, states that making post-quantum cryptography the default and deprecating legacy algorithms are non-goals for this stage. Issue #46336 still lists RS256 as the default RSA signing algorithm and records that RSA keys below 2048 bits remain supported outside strict FIPS mode. Deployments must set algorithms themselves. Ask the vendor whether a default change is planned and for which release.

Issue 43690

FIPS validation status for post-quantum algorithms

The FIPS guide covers FIPS 140-2 mode with BouncyCastle jars added by the operator, and it names no post-quantum algorithms. Strict mode disallows RSA1_5 by default and requires RSA keys of at least 2048 bits. Nothing in the sources states a FIPS validation status for ML-DSA or ML-KEM in Keycloak. Ask the vendor for the module, version and validation status before relying on any post-quantum algorithm in a FIPS deployment.

Keycloak FIPS guide

How Keycloak differs by distribution and deployment

The open-source Keycloak server is the standard release that you download, install and run on your own Java runtime. Its post-quantum status depends mostly on the JDK you pair it with and on the providers you configure, not on the Keycloak release alone. The sources used here show no shipped release that supports post-quantum key exchange or post-quantum signatures for tokens.

  • Key exchange: The TLS guide documents the https-protocols option, which defaults to TLSv1.3,TLSv1.2, and an https-cipher-suites option with no fixed default. No post-quantum or hybrid key exchange group is documented as a configurable option.
  • Realm keys: Realms generate RSA key pairs by default, and the realm keys documentation lists the rsa-generated, rsa and java-keystore providers. Keycloak issue #46336 lists RS256 as the default signing algorithm and 2048 bits as the default RSA key size.
  • Token signing: Issue #43692 for ML-DSA signing of OAuth and OpenID Connect tokens was still open as of 2026-12-03 with no milestone and no linked pull requests.
  • Default algorithms: The maintainers state in issue #43690 that making post-quantum cryptography the default and deprecating legacy algorithms are non-goals for this stage.

Before you rely on this tab, confirm the exact release you run in the release notes, which listed 26.8.2 as the latest version when checked on 2026-12-03, and confirm any post-quantum key exchange feature against the features guide. Ask the vendor whether a later release changes these points.

What changes for clients and operators if post-quantum support arrives

If Keycloak adds post-quantum support, the first things an operator would touch are the TLS settings that terminate client connections. The https-protocols option currently defaults to TLSv1.3,TLSv1.2, and the Keycloak TLS guide says a value the JRE does not support is silently ignored. That means a future hybrid key exchange setting could appear to be configured while never taking effect on a given JDK. Operators should check which JDK the server runs, confirm the effective protocol list after any change, and test with a client that negotiates TLS 1.3 before assuming the new setting is active. The issue tracking hybrid TLS 1.3 key exchange (#43691) says it would depend on a JDK with JEP 527, so the JDK version is the first thing to verify.

Realm keys are the second area. Each realm has one active key pair at a time plus any number of passive keys, and the highest provider priority becomes the active key. The Keycloak realm keys documentation suggests creating new keys every three to six months. A post-quantum change to signing would mean new key providers or new algorithms, so operators should plan how passive keys are retained during the transition and confirm which tokens and relying parties still depend on the old key. The maintainer discussion (#40496) says token signing is lower priority than TLS because tokens are short-lived, but it also says hybrid signatures are not supported by JWS and that JWK publication of PQC keys was not settled. Relying parties that fetch the realm's JWKS should therefore be treated as unknowns until the vendor publishes its approach.

Certificate reload is the third area. Keycloak reloads HTTPS certificates and keystores every hour by default (https-certificates-reload-period, default 1h), with a minimum of 30 seconds, and -1 disables reload. Replacing a server certificate with a post-quantum or hybrid certificate would therefore take effect within an hour unless the period is shortened or the server is restarted, which an operator should confirm during any rollout. Teams should also confirm what they can verify in their own environment, since the facts do not state how clients that do not support new algorithms will behave against a changed server.

What to do next, by situation

Each team starts from its own situation and ends with a documented answer it can give a questionnaire, a contracting officer or an engineering backlog. The steps below separate what is shipped in Keycloak 26.x from what is still in development, so no team records support that the sources do not show.

  1. Confirm the installed Keycloak version

    The engineer running the deployment checks the exact server version in the admin console or with the server's version output, then compares it with the release notes page. The latest version the notes listed on 2026-12-03 was 26.8.2, but that page gave no release date, so the team should record the version it runs rather than assume it is current. The step is done when the version and the check date are written in the evidence file.

  2. Record the no-shipped-support finding

    A security lead answering a questionnaire today records that no shipped Keycloak release documents post-quantum key exchange. The features guide lists no post-quantum or hybrid key exchange flag among supported, preview, deprecated or experimental features, and issue #43691 proposing hybrid TLS 1.3 key exchange was still open on 2026-12-03 with no linked pull requests. The same applies to signatures: issue #43692 for ML-DSA tokens was open with no milestone. The finding should cite both sources and the 2026-12-03 check date, and state the version it covers.

  3. Document current algorithms and settings

    The engineer lists the algorithms that Keycloak uses today, so the questionnaire answer describes the real configuration. The maintainer inventory in issue #46336 names RS256 as the default RSA signature, HS512 for symmetric keys and a 2048-bit default RSA key size, with ES and EdDSA options also listed. The team also records its own realm key providers and TLS protocol settings, since the TLS guide's default is TLSv1.3 and TLSv1.2. The step is done when the list is attached to the evidence file, labelled as the team's configuration on a stated date.

  4. Confirm any CNSA 2.0 requirement with the contracting officer

    A team holding a federal contract that cites CNSA 2.0 asks the contracting officer in writing what the contract requires and which systems it covers. The NSA advisory and CNSA 2.0 apply to national security systems, so they should not be treated as binding on a commercial deployment on their own. The answer should be recorded with the contract clause and the officer's reply. The step is done when the team knows which obligations, if any, apply to its Keycloak instance and has the written confirmation on file.

  5. Track the open post-quantum issues

    A team preparing for future support watches the three open issues and the parent tracker: #43690 for the overall PQC readiness work, #43691 for hybrid TLS key exchange and #43692 for ML-DSA tokens. The parent issue states that making PQC the default and deprecating legacy algorithms are non-goals for this stage. The team sets a notification on each issue and records the status on the review date. The step is done when the watch list and the review schedule are written down with the owner's name.

  6. Test on nightly builds in a non-production environment

    An engineer who wants early exposure to ML-DSA code can run a nightly build in an isolated test environment, never in production. The nightly Javadoc lists a GeneratedMlDsaKeyProviderFactory class, which shows development code exists, but the sources do not say it is released. The test should use no production realm, keys or certificates, and results should be recorded as nightly-only findings. The step is done when the test report states the build used, the environment and that the output does not describe a supported release.

What to ask the Keycloak project or your distributor

The supplied facts show where Keycloak's post-quantum support is still open: key exchange, token signing, key publication and FIPS validation. Each card below is a question to put to the Keycloak project, a commercial distributor or your own FIPS module vendor, with a note on what to check in the answer.

Target release for hybrid TLS key exchange

Issue #43691 proposes hybrid key exchange in TLS 1.3 behind an experimental flag named PQC_TLS_KEY_EXCHANGE. It has a milestone of 27.0 Development, is still open as of 2026-12-03, and shows no linked pull requests. Ask the project for the release in which this will ship, and whether it will depend on a JDK with JEP 527. Confirm that the flag appears in the features guide before planning around it.

Issue 43691

ML-DSA signing without FIPS validation

Issue #43692 aims to publish ML-DSA keys and to issue and verify ML-DSA-signed OAuth and OpenID Connect tokens. It has no milestone and 3 of 9 sub-issues complete. Ask whether ML-DSA signing will ship in a release that runs in strict FIPS mode, and if so, whether the BouncyCastle FIPS module used for it carries a validation that covers ML-DSA. Ask for that validation's certificate number in writing.

Issue 43692

Publication of PQC keys in JWK

In discussion #40496, a maintainer said that JWK publication of PQC keys was not settled, and that hybrid signatures are not supported by JWS. Ask the project for its current position on how ML-DSA public keys will be represented in JWKS endpoints, and whether relying parties in your environment can parse them. Ask which JOSE and JWK specifications the project follows for the encoding, and when that choice will be documented.

Discussion 40496

Distributor or commercial support statements

The supplied facts document no distributor or commercial edition statement about post-quantum support. If you buy Keycloak through a distributor or a commercial subscription, ask in writing whether that edition ships any post-quantum algorithm, which release it applies to, and whether it carries any support commitment. Ask also whether the distributor's build of the BouncyCastle FIPS jars differs from the upstream build.

BouncyCastle FIPS algorithm coverage

The FIPS guide says the BouncyCastle FIPS jars must be added to providers, because Keycloak does not ship them. Ask which BouncyCastle FIPS version your deployment uses, and whether that version provides the same post-quantum algorithms that Keycloak's code expects. Check the answer against the version you run in production, because strict mode also applies its own rules to RSA key sizes and to RSA1_5.

Keycloak FIPS guide

Common questions about Keycloak and post-quantum readiness

Is Keycloak quantum safe?

No product statement supports that claim, and the Keycloak documentation does not describe a post-quantum key exchange or signature feature as released. The TLS guide, realm key guide and FIPS guide cover classical algorithms only, such as RSA and elliptic-curve keys. Keycloak's post-quantum work is open as of 2026-12-03: hybrid key exchange in TLS 1.3 (issue #43691) and ML-DSA token signing (issue #43692) are still in progress, and the parent readiness issue (#43690) names making post-quantum cryptography the default as a non-goal for this stage. Ask the Keycloak project or your vendor which release, if any, ships each feature before you record an answer.

Which Keycloak version should I run for post-quantum cryptography?

No released version is documented as supporting post-quantum key exchange or signatures. The latest version on the release notes page when checked on 2026-12-03 was 26.8.2, which did not list a release date, and the features guide lists no post-quantum or hybrid key exchange flag. Issue #43691 targeted Keycloak 27 but shows no linked pull requests, and issue #43692 has no milestone. For planning, ask for the release in which each feature is documented, and test any development build in a non-production realm before relying on it.

Does enabling post-quantum support in Keycloak cost extra?

The sources supplied for this page do not give pricing for Keycloak post-quantum features, and Keycloak is open-source software. Cost usually comes from the work around it: upgrading the JDK, testing clients and adapters, staffing the migration, and any support contract. Keycloak's FIPS mode needs BouncyCastle FIPS jars that you download and add yourself, and the Keycloak documentation says it is not shipped with the product. Ask the vendor or your implementation partner for a written scope that lists each component, who pays for it, and which items recur, such as support or key rotation.

What breaks if I turn on post-quantum settings in Keycloak?

Nothing in the documented release can be turned on for post-quantum algorithms, so the practical risks today are in the settings you already control. The FIPS guide notes that strict mode requires RSA keys of at least 2048 bits, disallows RSA1_5 by default, and does not support the default argon2 password hashing. Issue #46336 records that RSA keys below 2048 bits remain allowed outside strict FIPS mode. Test any change in a staging realm, and check each client, SAML partner and adapter, because a key or algorithm change can stop a login that worked before.

Are SAML single sign-on flows affected by post-quantum changes in Keycloak?

SAML is on the list of work that is not yet settled. Issue #45168 records an IETF draft work stream for post-quantum cryptography in XML signatures, which would affect Keycloak's SAML support, and the issue is still open as of its last check. Issue #46336 also flags RSA_SHA1 and DSA_SHA1 for removal from SAML. Keycloak has not published a SAML post-quantum design in the sources supplied. Confirm the status of the IETF draft and any Keycloak change with your SAML partners before you change signing algorithms.

Are Keycloak tokens at risk first, or is TLS the priority?

The Keycloak maintainer stianst said in discussion #40496, on 2025-10-22, that token signing is lower priority than TLS. His reasoning is that tokens are short-lived, while store-now-decrypt-later attacks on recorded TLS traffic are the bigger concern. He also said hybrid signatures are not supported by JWS and that publishing post-quantum keys in JWK format was not settled. Treat that as one maintainer's view at a point in time, and review your own exposure: long-lived tokens or long-lived signing keys change the risk.

Can my team plan and test Keycloak post-quantum readiness in-house?

Yes. Planning, testing and evidence preparation can be done in-house, and the documentation sources are public: the TLS guide, the realm keys guide, the FIPS guide, and the Keycloak issues named on this page. Inventory the realm keys, TLS settings, truststores, client algorithms and SAML partners first, then test changes in a staging environment. If you want outside help, DeployOpen can plan the migration, test your Keycloak deployment and document the evidence, and it does not issue audit reports or certifications. Ask for a written, fixed scope before work starts.

How DeployOpen works on this

DeployOpen approaches the question of whether Keycloak supports post-quantum cryptography by first confirming which release, JDK and configuration an organization runs, then testing what the release actually does. Work is scoped in writing before it starts, and the findings are handed over with the evidence needed for internal review.

How we scope

  • Confirm the Keycloak release, JDK version and container image in use, since support differs by version and edition.
  • Agree in writing which realms, TLS endpoints, token flows and SAML integrations are in scope for the readiness review.
  • Identify which features the team will ask about, such as realm key providers, TLS key exchange and ML-DSA token signing, and check their status for your release.

How we build

  • Inventory realm keys, key providers and the algorithms in use, including RS256 defaults and RSA key sizes, against the features guide and release notes.
  • Test TLS settings such as https-protocols and https-cipher-suites on a staging instance to see which key exchange groups are negotiated in practice.
  • Run FIPS strict mode and non-strict mode checks where the customer requires them, recording the effect on RSA key sizes and RSA1_5.

How we hand over

  • Deliver a written findings report that separates what the shipped release supports from what remains open or only in development.
  • Include exact configuration keys, file names and versions tested, so the customer's engineers can reproduce each result.
  • Provide a dated vendor-status summary that the customer's vendor-risk reviewers can file alongside their own records.

How we support

  • Offer ongoing support as a retainer for teams that need to recheck status after each Keycloak release.
  • Retest configuration changes and upgrades against the original findings and report any differences.
  • Keep the findings current as upstream issues such as the open post-quantum key exchange and ML-DSA work change status.

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.