Can a SAML federation move to post-quantum keys today?
A SAML federation can prepare for post-quantum keys now, but the signature algorithm switch itself is not yet a standard step. The XML Signature identifiers needed for SAML signing have not been published as final: as of 4 December 2026, the identifiers for ML-DSA, SLH-DSA and ML-KEM in XML Security are defined only in the individual Internet-Draft draft-eastlake-rfc9231bis-xmlsec-uris, which is not endorsed by the IETF and whose latest revision is -11, dated 19 November 2026. The W3C strategy issue on post-quantum suites for XML Signature and XML Encryption, opened 17 November 2024, is still open, with no W3C or OASIS working group assigned. Identity providers, service providers, federation owners and partner teams are all affected, because a signing key change touches every entity that consumes the metadata.
The preparation work is inventory and coordination. Start by listing every signing and encryption certificate in use, the metadata each entity publishes, and which partners consume that metadata and how they pick keys. The SAML Metadata Interoperability Profile says keys for future use may be included in metadata to prepare a migration, and that each KeyDescriptor holds only one certificate, so a move to a new key type needs an additional KeyDescriptor rather than a replacement. Expired keys should be removed after rollover, and compromised keys must be removed from metadata, since producers cannot rely on consumers checking revocation. Owners should also confirm which parties rely on the metadata alone and which read the algorithm listings in the Metadata Algorithm Support profile, because consumers choose the first mutually supported algorithm subject to local policy. That profile warns of step-down attacks, so partners should be prepared to reject algorithms they consider insufficient.
Where SAML uses public-key signatures and certificates today
This table maps each place a SAML federation uses public-key material and shows whether post-quantum signature work touches it now. Read the status column first: signing certificates and metadata are the items a signature algorithm change reaches, while XML Encryption and key transport are not yet changed by it. The main takeaway is that the signing path is the part to plan around, and that its algorithm identifiers depend on XML Security work still in progress.
| Item | Where it appears | What it does | Touched by post-quantum signature work now? |
|---|---|---|---|
| Signed assertions | SAML Response and Assertion elements | Carry the IdP's XML Signature so the SP can verify the login | Yes, through the signing algorithm and key |
| Signed responses (POST binding) | Browser-delivered SAML Response | The SAML 2.0 Technical Overview says a POSTed assertion MUST be signed | Yes, the signature must be produced with the new algorithm |
| Signing certificates | KeyDescriptor use="signing" in metadata | Let the consumer extract the public key used to verify signatures | Yes, a new key type needs an additional KeyDescriptor |
| Algorithm support elements | alg:SigningMethod and alg:DigestMethod in md:Extensions | List the algorithms an entity supports, in order of preference | Yes, this is where a post-quantum signing method would be advertised |
| Encryption certificates | KeyDescriptor use="encryption" in metadata | Publish keys that the other side uses to encrypt assertions to this entity | No, not yet changed by signature work |
| XML Encryption and key transport | EncryptedAssertion and encrypted key elements | Wrap symmetric keys with the recipient's public key | No, key transport is not yet covered by the XML Security identifiers |
| Keys for future use | Extra KeyDescriptor elements during rollover | Prepare the other side before the old key is retired | Yes, the Interoperability Profile allows these during migration |
| Revoked or compromised keys | Removed from metadata | Must be removed, since producers cannot rely on consumers checking revocation | Yes, affects rollover steps |
What the standards bodies have published and where XML Signature stands
Start with what is settled. NIST published FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) as final standards on 13 August 2024, and published NIST IR 8547, Transition to Post-Quantum Cryptography Standards, in final form on 27 October 2026, obsoleting the November 2024 initial public draft. Those documents define the primitives and the transition guidance, but they do not define how a SAML assertion or metadata file names an algorithm. That work sits with OASIS and the XML Security specifications. Before you plan any change, read IR 8547 for the dates it sets for deprecating and disallowing quantum-vulnerable algorithms, and check with your federation partners and any federal customers how those dates apply to your contracts. The sources listed on this page do not give a date by which your own federation must change.
On the SAML side, the OASIS SAML Metadata Algorithm Support profile already lets an entity list the algorithms it supports, using alg:SigningMethod and alg:DigestMethod inside md:Extensions, with optional MinKeySize and MaxKeySize attributes. Producers list methods in order of preference, consumers pick the first mutually supported method subject to local policy, and the profile warns about step-down attacks in its section 2.6. The SAML 2.0 Errata E81 changed the text that once required support for RSA with the rsa-sha1 identifier. It now says that any algorithm defined for use with XML Signature MAY be used, for SAML Core section 5.4.1 and SAML Metadata section 3.1.1. That change opened the door to new algorithms, but it does not name one.
The gap is in XML Signature itself. As of 4 December 2026, the identifiers for ML-DSA, SLH-DSA and ML-KEM in XML Security are defined only in the individual Internet-Draft draft-eastlake-rfc9231bis-xmlsec-uris. Its latest revision is -11, dated 19 November 2026. The IETF has not endorsed it, its header says Standards Track, it expires 23 May 2027, and it would obsolete RFC 9231 if approved. The W3C strategy issue on post-quantum XML Signature and XML Encryption (w3c/strategy #484, opened 17 November 2024) is still open, names SAML as the main driver, and has no W3C or OASIS working group assigned, with the IETF draft as the active vehicle. Treat any identifier from that draft as provisional. Confirm the exact URI with your library vendor before you put it in metadata, and do not assume a library's ML-DSA support covers SAML signing.
For planning, the practical point is that the algorithm identifier is a configuration setting, and the key is a separate event. The flipbox saml-sp plan treats signature algorithm as a setting with key rollover, so a later switch needs a settings change and key rotation. Track the Santuario work (PR 651, approved on its DOM side on 8 October 2026, with a 4 December 2026 reviewer asking that it and #652 be integrated for a release) and the authentik position, which states that SAML signing with ML-DSA will follow once XML Signature publishes an identifier. Ask each vendor for a dated statement of which XML Signature identifiers their release signs and verifies.
Which libraries and products have shipped support
Identity providers are where a federation's signing keys usually live, so their post-quantum status sets the first constraint on a migration. The authentik project is the clearest public example in the sources. Its November 2026 post reports ML-DSA support for certificates, OIDC tokens and passkeys, while SAML signing is not yet covered.
- Shipped release: ML-DSA support arrived in authentik 2026.11 for certificates, OIDC tokens and passkeys.
- SAML status: The authentik post says SAML signing with ML-DSA "will follow once XML Signature publishes an algorithm identifier for it."
- Dependency: The SAML path waits on an XML Security identifier, not on authentik alone.
- Scope of the release: Confirm which of the three listed areas your deployment uses before assuming the feature applies to your federation.
- Other providers: The sources in this section do not name other identity providers with shipped ML-DSA SAML signing.
For any identity provider in your federation, check its release notes and SAML configuration for the exact algorithm list it signs with, and confirm the version your partners' consumers run.
XML signature libraries decide whether a SAML service provider or identity provider can verify and produce post-quantum signatures at all. The Apache Santuario project is the library the sources track most closely for ML-DSA in XML Security. Its status is still a pull request, not a release.
- PR 651: The Santuario ML-DSA pull request was approved on its DOM side on 8 October 2026.
- Integration remark: On 4 December 2026, a reviewer said PR 651 and PR 652 should be integrated soon for a release.
- Release status: As of the sources listed here, the integration is not yet a shipped release. Check the Santuario release notes for the version that contains it.
- Identifier dependency: ML-DSA identifiers in XML Security are defined only in an individual Internet-Draft, draft-eastlake-rfc9231bis-xmlsec-uris, which is not endorsed by the IETF and expires 23 May 2027.
- No shipped SAML signing: The sources list no shipped SAML ML-DSA signing in any XML signature library.
Before you test a library, confirm which algorithm identifiers it accepts in XML signatures and whether it exposes them through its SAML layer.
Certificate authorities produce the ML-DSA certificates a federation would publish in metadata. Microsoft's Active Directory Certificate Services (AD CS) has documented ML-DSA requirements, and they constrain how a federation's CA must be built before any certificates are issued.
- New installation only: ML-DSA CAs must be newly installed. In-place migration of an existing CA is not supported.
- Parallel hierarchy: Microsoft says to build a parallel hierarchy to test issuance before any production use.
- Enrollment limits: ML-DSA enrollment through NDES is not currently available.
- Template restriction: ML-DSA certificate templates must not use Key Encipherment or Key Agreement.
- Size impact: Microsoft lists ML-DSA signatures at 2,420 to 4,627 bytes and public keys at 1,312 to 2,592 bytes, larger than classical keys, so test metadata and message size.
Confirm the CA version and template configuration in your own environment against the Microsoft AD CS ML-DSA overview before issuing certificates for a federation.
The flipbox saml-sp project takes a configuration-first approach to the signature algorithm. Its plan treats the algorithm as a setting paired with key rollover, so a later switch becomes a settings change plus key rotation rather than a code change. The sources describe this as a plan, not a shipped capability.
- Configuration setting: The signature algorithm is planned as a configuration value, tracked in flipbox saml-sp issue 277.
- Key rollover: A later switch depends on rotating to a key of the new type, which means rolling metadata as well.
- Status: The sources describe the approach as the project's plan. They do not record a released version that signs SAML assertions with ML-DSA.
- Dependency: A configuration switch still needs a library that can produce the target signature, so the SAML library tab above applies here too.
- Metadata: Each rollover needs an additional KeyDescriptor, since each one holds a single certificate.
Read the open issue for the current design, and check the project's releases before you plan a configuration change that depends on it.
What changes in size, compatibility and operations
Moving a SAML federation to post-quantum keys changes what goes into assertions and metadata, how keys are rolled over, and how the certificate authority behind them is built. The four points below are the ones that most often shape the plan, and each one has a check to run before partners are asked to change anything.
Larger signatures and public keys
Microsoft lists ML-DSA signatures of 2,420 to 4,627 bytes and public keys of 1,312 to 2,592 bytes, both larger than classical key values. Those sizes flow into assertions and metadata, so a signed response and an entity descriptor carrying a post-quantum certificate will both grow. Before rollout, test whether your SAML processors, HTTP header and form size limits, and any partner message size limits accept the larger payloads. Measure real messages from your own stack rather than assuming the sizes stay within existing limits.
Microsoft ML-DSA overviewOne certificate per KeyDescriptor
The SAML Metadata Interoperability Profile says each KeyDescriptor holds only a single certificate, so a rollover to a new key type needs an additional KeyDescriptor rather than an edited one. Plan metadata with both the current and the new key present during the transition. Keys intended for future use may be published ahead of time, and expired keys should be removed once the rollover is complete. Confirm that each partner's metadata parser accepts multiple KeyDescriptor entries before you publish.
New CA hierarchy for ML-DSA
Microsoft's AD CS documentation says ML-DSA CAs must be newly installed, in-place migration of existing CAs is not supported, and a parallel hierarchy should be built to test issuance. Enrollment through NDES is not currently available for ML-DSA, and ML-DSA templates must not use Key Encipherment or Key Agreement. If your signing certificates come from a CA that uses NDES, plan a separate issuance path for the new keys and confirm current enrollment options with your CA vendor before setting dates.
AD CS ML-DSA overviewStep-down attack and algorithm negotiation
The SAML Metadata Algorithm Support profile warns of step-down attacks and says entities should be prepared to reject insufficiently secure algorithms. Consumers must enforce their own algorithm policy and not accept whatever a partner lists first, because producers list algorithms in order of preference and consumers pick the first mutually supported one subject to local policy. Before rollout, check how each service provider and identity provider in your federation selects and rejects algorithms, and record which algorithms each partner's metadata advertises.
Metadata Algorithm Support profileWhat to do now, in order
This sequence turns a SAML federation's signing and encryption keys into a tested, partner-agreed plan before any key changes. Each step ends with a record that shows which keys, algorithms and metadata entries are ready, and which still wait on a partner or a standard.
Inventory signing and encryption certificates
The identity team lists every signing and encryption certificate in the federation, along with the metadata entries that carry them, the entity each one belongs to, and the expiry date of each certificate. Use the metadata files you publish and the ones your partners have imported, because the two can drift apart. The step is done when every KeyDescriptor is accounted for in a single inventory that names its owner and its current algorithm.
Confirm each partner's signature algorithm support
For each partner, check which signature algorithms its SAML and XML Signature library can process, and read the alg:SigningMethod and alg:DigestMethod entries in its metadata if it publishes them. The OASIS Metadata Algorithm Support profile says absence of these elements means no information, not lack of support, so ask the partner directly where the metadata is silent. The step is done when each partner has a written answer on the algorithms it accepts.
Build a parallel test certificate hierarchy
Microsoft's AD CS documentation says ML-DSA certificate authorities must be newly installed, because in-place migration of an existing CA is not supported. Build a separate test hierarchy beside the production one and issue test certificates from it, using templates that do not include Key Encipherment or Key Agreement. The step is done when test certificates issue successfully and their key usage matches the template. Note that the same documentation says ML-DSA enrollment through NDES is not currently available.
Test assertion and metadata size with larger values
Microsoft lists ML-DSA signatures of 2,420 to 4,627 bytes and public keys of 1,312 to 2,592 bytes, which are larger than classical keys and signatures. Run test assertions and metadata documents that carry these values through your identity provider, service provider and any intermediate proxies, and check size limits, parser behavior and HTTP header or form post limits. The step is done when a full test login completes with post-quantum values in the test metadata.
Add a future key only when partners can consume it
The Metadata Interoperability Profile says a key for future use may be included in metadata to prepare a migration, and that each KeyDescriptor holds only one certificate, so a new key type needs its own KeyDescriptor. Add that second entry only for partners who have confirmed in step two that their library can consume it. The step is done when each partner's acceptance is recorded next to the entry it applies to.
Remove expired and compromised keys from metadata
The profile says expired keys should be removed from metadata once the rollover is complete, and that compromised keys must be removed. Producers must not rely on consumers checking revocation, so the removal itself is the control. Apply these removals on the schedule each partner's profile requires, and confirm the change with the partner. The step is done when the published metadata contains no expired or compromised certificate.
Record the rollover plan with partner dates
Write the rollover plan as one document: the inventory from step one, each partner's confirmed algorithms, the test results, the KeyDescriptor changes, and the agreed date for each partner's switch. Flag any partner whose answer is still open. The XML Signature identifiers for ML-DSA are still in an unendorsed IETF draft as of 4 December 2026, so mark the signing algorithm as pending for any partner where that matters. The step is done when every partner has a dated entry and an owner.
Where the signing key and metadata sit in a SAML login flow
The identity provider signs the assertion with its private key, and the matching certificate is published to the service provider through a KeyDescriptor in the entity's metadata. The service provider reads that certificate to verify the signature. Supported algorithms are listed in md:Extensions as alg:SigningMethod and alg:DigestMethod elements, and the service provider should reject any signing method below its local policy. When planning a move, check the signing certificate, the algorithm list and the partner's metadata refresh schedule, since a new key type needs its own KeyDescriptor.
The identity provider signs the assertion, and the service provider verifies it using the certificate and algorithm list from metadata.
Which risks the sources name and how to notice them
The sources name four risks that matter when a SAML federation changes its signing keys and algorithms. Each one shows up in metadata, in partner behavior or in the identifiers a team builds against, so each has a check that can be run before a change reaches production.
Step-down attacks on algorithm choice
The SAML Metadata Algorithm Support profile warns in section 2.6 that step-down attacks are possible, and says entities should be prepared to reject algorithms that are not secure enough. During a migration, both the old and new algorithms may be listed, so an attacker who can alter metadata or responses could push a consumer toward the weaker one. Check that each consumer applies a local policy that refuses algorithms below your minimum, and confirm that a downgraded response is rejected in a test federation. Ask each partner which algorithms its consumer will accept.
Algorithm Support profileCompromised keys left in metadata
The SAML Metadata Interoperability Profile says compromised keys MUST be removed from metadata, and that producers MUST NOT rely on consumers checking revocation. A key that stays published after a compromise can keep being trusted by partners that never check revocation. When a key is retired, remove it from the published metadata, and make sure your process for retiring keys covers every federation partner, not only the ones you notify.
Metadata Interoperability ProfilePartners rejecting larger metadata
Microsoft's AD CS documentation lists ML-DSA public keys of 1,312 to 2,592 bytes and signatures of 2,420 to 4,627 bytes, which are larger than values for classical keys. Metadata that carries new keys, and assertions that carry new signatures, can grow past what a partner's parser or message limits accept. Test a metadata document and a signed assertion with the new key types against each partner's endpoint before rollover, and record any size limits or parsing errors they report.
AD CS ML-DSA overviewBuilding on an unendorsed draft identifier
As of 4 December 2026, the identifiers for ML-DSA, SLH-DSA and ML-KEM in XML Security are defined only in the individual Internet-Draft draft-eastlake-rfc9231bis-xmlsec-uris, at revision -11 dated 19 November 2026. The IETF has not endorsed it, and it would obsolete RFC 9231 if approved. Code that hard-codes these identifiers may need to change before the document is final. Keep algorithm URIs in configuration rather than in code, and check the datatracker status before each release.
IETF draft datatrackerWhat is not settled yet for SAML signatures
The main open item for SAML signatures is that the XML Signature layer has no post-quantum algorithm identifiers settled in a standards body. The W3C strategy issue w3c/strategy #484, opened on 17 November 2024, names SAML as its main driver and is still open. Its discussion describes no W3C or OASIS working group assigned to post-quantum XML Signature, with the IETF draft as the active vehicle. Identity teams planning a federation move should treat the signing algorithm as unresolved at the XML layer, even though the underlying NIST standards are final. The sources do not give a date for completion.
The only active vehicle is the Internet-Draft draft-eastlake-rfc9231bis-xmlsec-uris, whose latest revision is -11, dated 19 November 2026. That draft defines the identifiers for ML-DSA, SLH-DSA and ML-KEM in XML Security, and it would obsolete RFC 9231 if approved. As of 4 December 2026 it is not endorsed by the IETF, and it expires on 23 May 2027. Confirm its status on the IETF datatracker before relying on any identifier in a metadata or configuration change, and do not treat a draft identifier as a settled value for partners to implement.
The practical consequence is that SAML signing with ML-DSA is waiting for an XML Signature identifier. The authentik post of 3 November 2026 says ML-DSA support arrived in authentik 2026.11 for certificates, OIDC tokens and passkeys, while SAML signing with ML-DSA will follow once XML Signature publishes an algorithm identifier. For a federation plan, this means certificate and key preparation can start, but the signing algorithm in assertions and metadata should be set as a later configuration step, with partners agreeing on the identifier only once it is published.
Questions federation owners ask about this move
Does my SAML federation have to move to post-quantum keys now?
The sources on this page do not say that a SAML federation must change now, and no deadline for SAML signing is stated here. What they do show is that the SAML side is not ready yet. As of 4 December 2026, the identifiers for ML-DSA in XML Security are defined only in an individual Internet-Draft, draft-eastlake-rfc9231bis-xmlsec-uris, whose latest revision is -11 dated 19 November 2026 and which the IETF has not endorsed. The W3C strategy issue on post-quantum XML Signature is still open with no working group assigned. The practical question for your team is therefore not whether to switch today, but whether your identity provider and service provider software can carry the new algorithms when you decide to. Confirm your own compliance obligations with your regulators and contract owners, since this page does not establish them.
What should I ask my identity provider vendor about ML-DSA SAML signing?
Ask whether SAML assertion signing with ML-DSA is supported today, and if not, what they are waiting for. The authentik post of 3 November 2026 says ML-DSA support arrived in authentik 2026.11 for certificates, OIDC tokens and passkeys, and that SAML signing with ML-DSA will follow once XML Signature publishes an algorithm identifier for it. Ask for the version and edition where any support appears, and whether it covers assertion signing, metadata signing or both. Ask how they will handle the XML Signature identifier once it is final, whether a settings change plus key rotation is the expected path, and what test environment they provide for a parallel rollout. Ask whether they support a second signing certificate in metadata during rollover. Get the answers in writing, tied to a named release.
Does the SAML encryption side change when I move signing to post-quantum keys?
The sources on this page address signing and metadata, not SAML encryption, so do not assume the encryption path changes or stays the same. SAML 2.0 Errata E81 changed the text so that any algorithm defined for use with XML Signature may be used, applying to SAML Core section 5.4.1 and SAML Metadata section 3.1.1. The sources do not give ML-KEM identifiers for XML Encryption. Microsoft's AD CS guidance also says ML-DSA certificate templates must not use Key Encipherment or Key Agreement, which means encryption certificates need separate planning. Treat encryption as its own workstream, check with each library and identity provider what it supports for XML Encryption, and test both directions of traffic before you commit.
Will my federation partners need a new metadata file?
Partners will generally need updated metadata when you add a new signing key, because the OASIS SAML Metadata Interoperability Profile says keys for future use MAY be included in metadata to prepare a migration. Each KeyDescriptor holds only one certificate, so a rollover to a new key type requires an additional KeyDescriptor rather than replacing the existing one. Expired keys SHOULD be removed after the rollover is complete, and compromised keys MUST be removed right away. Plan the sequence so the new key is published before any assertion uses it, and the old key remains available until partners confirm they have consumed the updated metadata. The Algorithm Support profile lets an entity list the signing methods it supports in order of preference, so consider publishing that too. Agree the exact cutover window with each partner in writing.
Can my team plan and test this in-house, or should we get outside help?
Your team can plan and test the work in-house if it has the people and a safe test environment, and an outside partner can cover parts of it. The work has several separate tracks: certificate issuance, metadata exchange with partners, library and identity provider support, and testing of message size. Microsoft notes that ML-DSA signatures run from 2,420 to 4,627 bytes and public keys from 1,312 to 2,592 bytes, larger than classical keys, so message and metadata size should be tested. For AD CS environments, Microsoft says ML-DSA CAs must be newly installed, that in-place migration of existing CAs is not supported, and that a parallel hierarchy should be built to test issuance. DeployOpen plans, implements and tests self-hosted identity platforms inside client infrastructure, and offers security testing and compliance readiness support. Scope and deliverables would be agreed in writing before work begins, and DeployOpen does not publish prices.
How long will the move take, and what drives the timeline?
The sources on this page do not give a duration for a SAML migration, so confirm durations with your vendors and in your own test runs. The main drivers are whether your identity provider and service provider libraries support the new algorithm, how many partners must update metadata, and how long each partner needs to consume a new key. NIST published IR 8547 in final form on 27 October 2026, obsoleting the November 2024 initial public draft, and that document is the reference to check against your own transition plan. Build time for a parallel certificate hierarchy, plus testing of message size and partner cutover, which all add to the timeline. Ask each vendor and partner for their own lead time in writing.
What does the migration cost, and what will drive the price up or down?
The sources on this page do not give a cost figure for a SAML federation migration, so the reader should ask for a quote built from a written scope. Cost components typically include internal engineering time, vendor licensing or upgrade fees, new certificate authority work, partner coordination, and retesting. One-time costs cover planning, configuration and the first rollover. Recurring costs cover rotation, monitoring and updates to metadata as partners change. Costs rise with the number of partners, the number of applications that consume assertions, and any need for a new certificate hierarchy. Ask for line items for each of these, the assumptions behind them, and which items recur.
How DeployOpen works on this
DeployOpen approaches a SAML federation move as a written, staged change: first an inventory of signing and encryption certificates, metadata and partner dependencies, then a parallel build and test, then a coordinated rollover. Each stage produces documents your identity, partner and security teams can review before anything changes in production.
How we scope
- Inventory every SAML entity, signing certificate, encryption certificate and metadata file your federation publishes or consumes.
- Record which partners rely on each KeyDescriptor, and which algorithms each side currently advertises in metadata extensions.
- Agree the written scope, deliverables and timeline with you before any work starts, since most engagements are fixed-scope.
How we build
- Build a parallel test environment for certificate issuance and SAML signing, separate from production identity infrastructure.
- Test assertion signing and metadata exchange with the algorithms you plan to use, and measure resulting message and metadata sizes.
- Configure signature algorithm as a setting with key rollover, so a later algorithm change needs a configuration change and key rotation.
How we hand over
- Deliver a rollover runbook covering metadata publication, partner notification, the window where old and new keys coexist, and cleanup of expired keys.
- Document test results, including any consumer that rejects a new algorithm, so partners can confirm compatibility for the versions they run.
- Provide written configuration and evidence for your security and compliance reviewers to examine.
How we support
- Support is available as a retainer for upgrades, library version changes and re-testing as SAML and XML Signature standards evolve.
- Ongoing testing can re-run the partner interoperability checks whenever a library, identity provider or partner endpoint is upgraded.
- Ask us to review any algorithm identifier you adopt against the current state of the relevant specifications before it reaches production.

