What is RFC 8391 (the XMSS specification)?

RFC 8391 is the IRTF specification for XMSS, a hash-based digital signature scheme. This page explains what it defines, where it appears and what it means for a migration.

On this page

What is RFC 8391 and why does it show up in post-quantum planning?

You most likely met RFC 8391 in a vendor answer, a standard reference or a tender requirement that asked about hash-based signatures. RFC 8391 is an Informational RFC from the IRTF, published in May 2018, that specifies XMSS (eXtended Merkle Signature Scheme) and XMSS^MT, its multi-tree variant. Both are stateful hash-based digital signature schemes: their security rests on the properties of cryptographic hash functions rather than on number-theoretic problems, and the RFC states that hash-based signatures withstand known quantum attacks as of its writing. The document also specifies WOTS+, the one-time signature scheme that XMSS builds on.

The term usually comes up in three places. Vendor security questionnaires ask whether a product can verify or issue XMSS signatures, firmware and software signing teams evaluate it as a candidate for code signing, and procurement or standards reviewers see it cited alongside NIST SP 800-208, which covers the same family (together with LMS and HSS) as a final NIST recommendation published in October 2020. When you read a vendor answer, check whether it names a specific parameter set, such as XMSS-SHA2_20_256, and whether it says which RFC or NIST document it follows.

The planning consequence that matters most is state. RFC 8391 says that if a secret key state is ever used twice, no cryptographic security guarantees remain, and that implementations should not use XMSS except in systems that prevent reuse of secret key states. Any migration plan that involves XMSS therefore needs a state management and backup process, and reviewers should ask a vendor how it prevents state reuse across restores, virtual machine clones and failover. The IETF and NIST have since published guidance on this topic, and the sources listed on this page are the place to start, including RFC 10033 on state and backup management, published in September 2026.

RFC 9802, a Proposed Standard from June 2025, defines X.509 identifiers for XMSS and XMSS^MT and describes firmware signing, software signing and CA certificates as suitable uses, while noting that stateful keys are generally not appropriate for end-entity certificates. Confirm with each vendor which parameter sets and key management practices it supports before you treat any XMSS deployment as in scope for your requirements.

Which names and identifiers refer to XMSS under RFC 8391?

This table lists the names, identifiers and parameter sets that RFC 8391 uses for XMSS, so reviewers can match a vendor's stated configuration to the specification. Read each row as a label you can search for in a product datasheet, certificate profile or assessment question. The main takeaway is that the RFC names several required parameter sets and a default, and a product may implement only some of them, so the set in use must be confirmed.

Identifier or nameWhat the sources sayWhat to confirm
Full titleXMSS: eXtended Merkle Signature Scheme, published in May 2018 as RFC 8391Confirm the document number and title match the reference cited in the vendor's documentation
RFC number and statusRFC 8391 is an Informational RFC from the IRTF, not an Internet Standards Track specificationCheck that the vendor does not describe it as an IETF standard or a formal internet standard
ComponentsDefines WOTS+ (one-time signature scheme), XMSS (single-tree scheme) and XMSS^MT (multi-tree variant)Ask which of these components the product implements, since a product may support only the single-tree form
Required parameter setsXMSS-SHA2_10_256, XMSS-SHA2_16_256 and XMSS-SHA2_20_256 are marked REQUIRED, all using SHA2-256 with n=32 and w=16Request the exact parameter set name from the product and compare it to these three entries
IANA registry values0x00000001 for XMSS-SHA2_10_256, 0x00000002 for XMSS-SHA2_16_256, 0x00000003 for XMSS-SHA2_20_256Verify the hexadecimal value the product places in its encoded keys or signatures matches the registry entry
Default parameter setXMSS-SHA2_20_256 is named as the defaultConfirm whether the product's default matches the RFC default, and whether the default is changeable
XMSSMT naming patternNames such as XMSSMT-SHA2_20/2_256 encode total tree height and number of layers, for example XMSSMT-SHA2_60/12_256Ask the vendor to state tree height and layer count for each multi-tree set it supports
Optional parameter setsSHA2-512, SHAKE128 and SHAKE256 sets are listed as optional in the IANA registryConfirm whether any optional set is used, since REQUIRED-only support differs from full registry support

Where do practitioners meet RFC 8391 in real documents?

RFC 8391 rarely appears alone. It surfaces in vendor answers, certificate profiles, federal reference documents and tender language, and each setting asks a slightly different question about the same hash-based scheme. The cards below group those settings so you can check what each document actually commits to.

Vendor and HSM firmware signing answers

Vendors often answer post-quantum questionnaires by naming XMSS or XMSS^MT as the scheme used to sign firmware, HSM updates or software releases. Check whether the answer names a specific parameter set from RFC 8391, such as XMSS-SHA2_20_256, the default, and whether it says the signing state is managed. Ask which version of the product carries the scheme, since support can differ across firmware releases. Treat a mention of XMSS as a claim to verify, not a confirmed control.

RFC 8391 text

RFC 9802 X.509 identifiers for XMSS

RFC 9802 defines the X.509 algorithm identifiers that let a certificate carry XMSS or XMSS^MT keys. The identifier for XMSS is id-alg-xmss-hashsig, and the one for XMSS^MT is id-alg-xmssmt-hashsig, both with the parameters field absent. The RFC names firmware signing, software signing and CA certificates as suitable uses and says stateful keys are generally not appropriate for end-entity certificates. Check certificate profiles against these identifiers and their intended uses.

RFC 9802 record

NIST SP 800-208 as the companion

NIST SP 800-208 is the NIST recommendation for stateful hash-based signature schemes, covering LMS, HSS, XMSS and XMSS^MT. RFC 9802 requires XMSS and XMSS^MT key generation and signing to follow Section 7.2 of this publication, so federal and contractor reviewers will often ask for both documents together. When a tender names XMSS, confirm the vendor follows SP 800-208 for key generation and signing, not only RFC 8391 for the scheme definition.

NIST SP 800-208

State and backup guidance

RFC 8391 states that reuse of a secret key state removes its security guarantees, so any XMSS deployment depends on how state is stored, updated and backed up. RFC 10033 gives guidance on state and backup management for these schemes, and audit requests often ask how a vendor prevents state reuse. Ask for the procedure a vendor uses to stop a signing state from being restored or duplicated, and confirm it covers every system holding the key.

RFC 10033 record

Tenders and audit requests naming XMSS

Procurement teams and auditors increasingly list XMSS among acceptable post-quantum signature options in tender language and questionnaires. A requirement that names XMSS should be read against what it actually asks for: the scheme, the parameter set, the key-state controls and the intended use. Ask the bidder to state which parameter sets they support and where the signing state lives, rather than accepting a general statement that the product is post-quantum ready.

RFC 8391 text

IETF LAMPS certificate work

Certificate and CMS work in the IETF LAMPS working group is where RFC 9802 fits into the broader set of post-quantum certificate documents. Because RFC 8391 is an Informational RFC from the IRTF and not an Internet Standards Track specification, the LAMPS documents are the place to check how XMSS is carried in certificates. Follow LAMPS to see which certificate profiles are being written, and check that any profile you adopt names the RFC it relies on.

LAMPS working group

What does XMSS do in a system, described by role?

In a system, XMSS produces digital signatures: it is the scheme that lets a holder of a private key sign a piece of data so that anyone with the matching public key can verify who signed it and that the data was not altered. RFC 8391 describes it as a hash-based signature system, and the security of the scheme rests on the properties of cryptographic hash functions rather than on the number-theoretic problems used by RSA and elliptic-curve signatures. The RFC's abstract states that hash-based signatures withstand known quantum attacks as of the document's writing. In practice, the roles that fit XMSS are the ones where a signer produces a small number of signatures from a controlled key: signing firmware images, signing software release artifacts, and signing the certificates an organization issues as a certificate authority. RFC 9802 names firmware signing, software signing and CA certificates as suitable uses for XMSS and XMSS^MT keys, while noting that stateful keys are generally not appropriate for end-entity certificates.

The core building block is WOTS+, a one-time signature scheme: each key pair can sign once. XMSS combines many WOTS+ key pairs under a Merkle tree, so a single public key covers many possible signatures, and the RFC defines two variants by role. XMSS uses a single tree, which suits a signer that needs one bounded set of signatures from one key. XMSS^MT uses multiple layers of trees, which lets the total number of signatures grow while keeping each layer manageable; the RFC encodes the total tree height and number of layers in the parameter-set name. Choosing between them is a planning decision about how many signatures the key must produce over its life, and the RFC's signature-count and size tables are the place to check the trade-off for the parameter set you intend to use. Confirm which parameter set, and which variant, your vendor or standard profile requires before you commit to a key design.

The operational limit matters more than the algorithm choice. RFC 8391 states that if a secret key state is used twice, no cryptographic security guarantees remain, and that implementations should not use XMSS except in systems that prevent reuse of secret key states. This makes XMSS a stateful scheme, and the state (how many one-time keys have been consumed) must be tracked and backed up correctly. NIST SP 800-208 covers the stateful hash-based schemes in detail, and RFC 10033, published in September 2026, gives guidance on state and backup management. Before adopting XMSS for a role, confirm that your signing infrastructure can enforce single use of state, that HSM or signing service configuration prevents restoring an old state, and that your key-management procedures address this. Ask any vendor or implementer to show how they enforce state.

Is RFC 8391 an Internet standard, and who recommends it?

RFC 8391 is not an Internet Standards Track document. It was published in May 2018 as an Informational RFC from the IRTF, which means it describes the XMSS scheme for reference and does not set an IETF standard that implementations must follow. Teams that see the term in a vendor document or tender should not read it as evidence of an IETF standard. The Informational status is also true of the neighboring hash-based RFCs, including RFC 8554 for LMS, so the status alone does not separate XMSS from LMS.

The more relevant endorsements come from other documents. NIST published SP 800-208, Recommendation for Stateful Hash-Based Signature Schemes, as final in October 2020, and it covers XMSS and XMSS^MT alongside LMS and HSS. For certificates, RFC 9802, a Proposed Standard published in June 2025, defines X.509 identifiers for XMSS and XMSS^MT and requires key generation and signing to follow Section 7.2 of SP 800-208. RFC 9802 also says stateful keys are generally not appropriate for end-entity certificates, and names firmware signing, software signing and CA certificates as suitable uses. Check each document's exact scope before citing it for your system.

Confirm two points before relying on any of these references. First, RFC 10033, Hash-Based Signatures: State and Backup Management, was published in September 2026 as an Informational RFC and gives guidance on state and backup handling for these schemes, so review it alongside your own key-state procedures. Second, the sources listed here do not establish that any regulator or procurement body requires XMSS for a given system. Ask the relevant authority or vendor to name the document and clause they rely on, and do not treat any listing or recommendation as a claim of compliance.

Where does RFC 8391 sit among the hash-based signature documents?

The diagram starts with RFC 8391, which specifies XMSS and XMSS^MT, and links it to RFC 8554, which specifies LMS and HSS. NIST SP 800-208 covers both families together as stateful hash-based signature schemes. RFC 9802 carries XMSS and XMSS^MT keys into X.509 certificates and requires key generation and signing to follow NIST SP 800-208. RFC 10033 gives guidance on state and backup handling for all four schemes. Check which family, parameter set and certificate use your deployment relies on, because stateful keys are generally not appropriate for end-entity certificates.

How the hash-based signature documents relate to one another.

What should a migration team do about XMSS in its inventory?

This sequence finds every XMSS and XMSS^MT use in the estate, records the parameter set and key use for each one, and confirms that stateful keys are handled safely before anything is rolled out. The output is a verified list of systems and vendor answers that a migration team can act on.

  1. Search the inventory for XMSS identifiers

    The migration team searches the cryptographic inventory for XMSS and XMSS^MT across firmware images, hardware security modules, PKI tooling and code-signing systems. Search for the names, the IANA registry values from RFC 8391 (such as 0x00000001 for XMSS-SHA2_10_256 and 0x00000002 for XMSS-SHA2_16_256), and the X.509 identifiers from RFC 9802 (OID 1.3.6.1.5.5.7.6.34 for XMSS and 1.3.6.1.5.5.7.6.35 for XMSS^MT). The step is complete when every hit is listed with its system owner and the component that produces it.

  2. Record the parameter set and key use

    For each hit, the team records which parameter set the system runs, such as XMSS-SHA2_20_256 (the default in RFC 8391) or an XMSSMT variant, and what the key signs. Firmware signing, software signing and CA certificates are the uses RFC 9802 names as suitable, and the record should show whether a system uses the key for something else. The step is complete when each system has a row with its parameter set, signature size where the owner knows it, and key use.

  3. Confirm stateful key handling for each system

    RFC 8391 states that if a secret key state is used twice, no cryptographic security guarantees remain, and that XMSS should not be used except in systems that prevent reuse of secret key states. For each system in the list, the team asks how the signing state is stored, whether it is protected from rollback or cloning, and whether the system can be restored from backup without reusing state. The step is complete when each system has a documented answer on state storage and backup, and any system that cannot give one is flagged.

  4. Ask vendors about state and backup practice

    The team sends each vendor a written question asking which XMSS or XMSS^MT parameter set the product uses, how it manages signing state, and how it backs up that state. Reference RFC 10033, Hash-Based Signatures: State and Backup Management, published as an Informational RFC in September 2026, and ask the vendor to show how its approach fits that guidance. The step is complete when each vendor has responded in writing, and the answers are filed with the inventory row for that product.

  5. Test the configuration in a non-production environment

    Before any change reaches production, the team runs the chosen XMSS or XMSS^MT configuration in a test environment that mirrors the target system. The tests should confirm that signing works with the recorded parameter set, that state survives a restart, and that a restore from backup does not reuse a signing state. The step is complete when the test results are written up and signed off by the system owner, with any failures logged against the inventory row.

Which mix-ups cause errors in tenders and vendor answers?

RFC 8391 sits next to several terms that look alike in tenders, vendor questionnaires and audit requests. The cards below cover the confusions that most often lead to wrong answers, and each one names what to check in the vendor's reply before accepting it.

Confusing XMSS with LMS

XMSS and LMS are different schemes that appear together in NIST SP 800-208, which covers stateful hash-based signature schemes including LMS, HSS, XMSS and XMSS^MT. RFC 8391 specifies XMSS and XMSS^MT, while RFC 8554 specifies LMS and HSS. A vendor that says it supports "hash-based signatures" has not yet said which one. Ask for the specific specification and parameter set, and check that the answer names RFC 8391 when XMSS is meant.

RFC 8554 text

Treating the RFC as a standard

RFC 8391 is an Informational RFC from the IRTF, not an Internet Standards Track specification. A tender that asks for conformance to an "Internet standard" will not be met by pointing at RFC 8391 alone, and a vendor claiming standards-track status for it is making an error. Read the document status line in the RFC itself and ask the vendor to state the status in its own words, not as a marketing label.

RFC 8391 text

Mixing required and optional sets

The REQUIRED parameter sets are the SHA2-256 XMSS sets, marked REQUIRED in RFC 8391 and all using n=32 and w=16. The SHA2-512, SHAKE128 and SHAKE256 sets are listed as optional in the IANA registry. A vendor that supports only an optional set has not necessarily failed the RFC's baseline, but a reviewer should confirm which sets are in use before reading a claim of conformance as complete.

Assuming XMSS^MT names match XMSS

XMSS^MT names encode a different structure from XMSS names. The XMSSMT-SHA2_20/2_256 and XMSSMT-SHA2_60/12_256 names show total tree height and number of layers, while XMSS-SHA2_10_256, XMSS-SHA2_16_256 and XMSS-SHA2_20_256 encode a single-tree height. Registry values also differ between the two families. When a vendor lists parameter names, check whether each one is an XMSS or an XMSS^MT parameter set, since a mismatch changes signature sizes and the number of signatures per key.

Assuming RFC 8391 covers X.509 use

RFC 8391 does not define X.509 encoding. RFC 9802, published in June 2025 as a Proposed Standard, defines the X.509 identifiers for XMSS and XMSS^MT, with OIDs 1.3.6.1.5.5.7.6.34 and 1.3.6.1.5.5.7.6.35. RFC 9802 also says stateful keys are generally not appropriate for end-entity certificates, and names firmware signing, software signing and CA certificates as suitable uses. A vendor answering a certificate question with RFC 8391 alone has not addressed the certificate format.

RFC 9802 record

Questions people ask about RFC 8391 and XMSS

What does RFC 8391 stand for?

RFC 8391 is the document titled "XMSS: eXtended Merkle Signature Scheme". XMSS is the name of the scheme the document describes, and RFC 8391 is the identifier the IETF gives the document. It was published in May 2018 by A. Huelsing, D. Butin, S. Gazdag, J. Rijneveld and A. Mohaisen. It is an Informational RFC from the IRTF (the Internet Research Task Force), not a document from the IETF's standards track. When a vendor or auditor writes "RFC 8391", they are pointing to that text. The full title is what you should quote in a tender or a compliance record, because it names the scheme as well as the document. Confirm the exact title and identifier against the RFC itself at the RFC Editor copy before you put them in a record.

Is RFC 8391 the same thing as XMSS?

Not exactly. XMSS is the scheme, and RFC 8391 is the specification that defines it. Readers often use the two terms interchangeably, which is fine in conversation, but a compliance record should be precise. RFC 8391 also specifies two related constructions: WOTS+, a one-time signature scheme that XMSS builds on, and XMSS^MT, a multi-tree variant. So when a vendor says "we support XMSS", ask which of these they implement, and which parameter sets they use. The parameter names carry the detail. XMSS-SHA2_20_256, for example, is a single-tree set with a specific hash function and output size. XMSSMT-SHA2_20/2_256 is a multi-tree set with its own layout. Support for one does not imply support for the other, and the sources do not establish that implementations of different parameter sets interoperate. Ask for the exact names.

Is RFC 8391 a standard, and is it binding on my organization?

RFC 8391 is an Informational RFC. It documents a design and its parameters, and it does not carry Internet Standards Track status. Compliance teams should treat that as a distinct category from a Proposed Standard or Internet Standard, and should not describe the RFC as a mandated standard. Government and industry guidance for hash-based signatures points to NIST SP 800-208, "Recommendation for Stateful Hash-Based Signature Schemes", which was published as final in October 2020 and covers LMS, HSS, XMSS and XMSS^MT. That is the NIST document most federal and regulated readers will be asked about. Whether either document is binding on your organization depends on your contracts, sector and customers, and the sources listed here do not establish any such obligation. Check with your compliance lead and any federal customer before you describe either document as a requirement.

Do the products I already run use XMSS or RFC 8391?

The only reliable answer comes from the vendor, and it should be specific. Most products do not expose their signature scheme in an obvious place, so you may need to ask for a written statement. Ask whether any component uses XMSS or XMSS^MT, which component, which parameter set, and in which role (for example, signing firmware, issuing certificates, or a internal tool). Ask for the version or build where the support starts. For certificate-based uses, the relevant identifiers appear in RFC 9802, which defines X.509 identifiers for XMSS (OID 1.3.6.1.5.5.7.6.34) and XMSS^MT (OID 1.3.6.1.5.5.7.6.35). A vendor that issues certificates with these identifiers should be able to point you to them. Record the answer per product and per version, since support often differs between releases. Where the answer is "not sure", treat the product as unassessed in your inventory.

What changes for my systems if they use XMSS?

The most important change is operational, not cryptographic. RFC 8391 states that if a secret key state is used twice, no cryptographic security guarantees remain, and it says implementations should not use XMSS except in systems that prevent reuse of secret key states. That makes XMSS a stateful scheme: the signer must track and persist state, and a restored backup or a cloned virtual machine can cause state reuse. RFC 10033, "Hash-Based Signatures: State and Backup Management", was published in September 2026 as an Informational RFC and gives guidance on state and backup handling for LMS, HSS, XMSS and XMSS^MT. In practice you should expect work on key-state storage, backup procedures, HSM or signing-service design, and runbooks for recovery. RFC 9802 also notes that stateful keys are generally not appropriate for end-entity certificates, and names firmware signing, software signing and CA certificates as suitable uses. Plan around that narrower set of uses.

What should I ask a vendor about RFC 8391 and XMSS?

Ask questions you can check against a document or a configuration. Start with the scope: which products, versions and components use XMSS or XMSS^MT, and which parameter sets they use, including whether the set is a REQUIRED one in RFC 8391 (XMSS-SHA2_10_256, XMSS-SHA2_16_256 and XMSS-SHA2_20_256). Ask how the vendor manages secret key state, how it prevents reuse during restore, failover and cloning, and whether the design follows the guidance in RFC 10033. Ask which NIST and IETF documents the implementation follows, for example NIST SP 800-208 Section 7.2 for key generation and signing, which RFC 9802 requires for certificate use. Ask for evidence: the test results, the release notes and any independent assessment, with names, dates and version numbers. Ask whether the vendor's own statements are supported by a third-party certificate or validation, and if so, for the module name, version and issuer. Put the answers in writing and keep them with your inventory.

How do RFC 8391 and the NIST FIPS standards relate?

They are separate documents with different roles, and they should not be confused. RFC 8391 is an IETF Informational RFC that specifies the XMSS and XMSS^MT schemes. NIST FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) were published as final standards on 13 August 2024, and they are NIST's post-quantum standards for key encapsulation and signatures. XMSS is a stateful hash-based scheme and is not one of the FIPS 203, 204 or 205 algorithms. Where a document asks whether your systems use "NIST post-quantum standards", answer with the FIPS names. Where it asks about hash-based signatures specifically, point to NIST SP 800-208 and RFC 8391 together. The sources do not establish that XMSS is a replacement for any FIPS algorithm, so avoid describing it that way in your records.

How DeployOpen works on this

DeployOpen helps teams decide where RFC 8391 applies in their environment and what changes are needed to use it. We scope the work in writing, build and test the configuration, and hand over documentation that compliance and security reviewers can check. Our role is implementation and evidence, not certification.

How we scope

  • We confirm which systems, signing workflows or certificate uses would involve XMSS or XMSS^MT parameter sets.
  • We agree the written scope, deliverables and timeline with you before any work starts, as engagements are fixed-scope.
  • We ask which state-management controls exist, since RFC 8391 warns that reuse of a secret key state removes security guarantees.

How we build

  • We set up or review XMSS and XMSS^MT signing within the self-hosted environment you control, following NIST SP 800-208 where it applies.
  • We configure the parameter sets your scope requires, such as XMSS-SHA2_20_256, and document the choice and its signature sizes.
  • We test that signing systems prevent key state reuse, since the RFC says XMSS should not be used where reuse is possible.

How we hand over

  • We deliver documentation of the configuration, parameter choices, key state handling and the systems in scope.
  • We provide evidence your compliance and security teams can review, which is prepared for assessment but is not an audit or attestation.
  • We walk your engineers through operation, backup and state management so the handover is usable after the engagement ends.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial scope is delivered.
  • We can retest signing configurations when parameter sets, libraries or state-management procedures change.
  • Ask us to confirm the sources for any standard you cite, such as RFC 9802 for X.509 use, against your own environment.

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.