Summary

  • Thom Wiggers, Kaveh Bashiri, Stefan Kölbl, Joshua Goodman and Stavros Kousidis published RFC 10033 in September 2026. It studies operational state and backup management for stateful hash-based signatures.
  • LMS, HSS, XMSS and XMSS^MT derive finite one-time signing keys from secret material. A mutable state records which indices were used; signing twice with the same one-time key makes forgery computationally feasible.
  • The signature and state update should behave as one atomic transaction. Process forks, VM clones, duplicate signers, partial transfers and restored older backups can all create a second reality with the same unused key.

Post-quantum cryptography often gets sold as an algorithm swap. Replace one signature primitive with another and the key-management blueprint remains. RFC 10033 exposes the part of that story that breaks: some hash-based signatures are stateful, and the state is doing real security work.

The private key contains a finite collection of one-time signatures, usually generated from a seed. The state tracks the next usable index. In a simple implementation it is a monotone counter. In a distributed one it may be a set of disjoint sectors, transferred ranges or merged fragments.

That mutable value is not bookkeeping around the key. It is part of the key’s safe use. Roll it backward, copy it into two signers or let a process fork after reading it, and two different messages can consume the same one-time key. An attacker who obtains both signatures can construct a forgery.

The signing event is a transaction

RFC 10033 sets a hard sequence. The system must never release a signature without irrevocably and correctly advancing its state. The combined operation should satisfy atomicity, consistency, isolation and durability.

Atomicity means the state update either commits completely or not at all. Consistency means before and after values describe valid progress through the one-time keys. Isolation keeps concurrent processes or devices from reusing the same index. Durability means a committed advance survives a crash, power failure or device loss.

That is a database problem inside a cryptographic signer. The RFC identifies a disk copy loaded into RAM, caches, a process fork, a cloned virtual machine and shared signers as ways two versions of the state can become active. A purpose-designed HSM can make the transaction easier to enforce. Software architecture and backup policy still decide what happens around it.

A backup can restore the wrong future

Ordinary backup logic protects availability: copy a secret, lose a device, restore the copy. Stateful HBS adds a second condition. The copy must not bring back signing indices that have already been consumed.

RFC 10033 says state backups must preserve the private key and mutable state while preventing rollback to an earlier usable range. The private key and state may be packaged together in some implementations, but the conceptual distinction remains useful: one is long-lived secret material, the other is a progression that must be maintained with integrity.

The document catalogs several operational approaches rather than declaring one universal answer. Multiple public keys can extend continuity while enlarging client key storage. Distributed multi-trees move signing capacity into separate modules but create a root-tree dependency and require strict authorization for subordinate roots. Sectorization can split one public key into independent signing ranges and reduce cross-device coordination, at the cost of implementation and path-storage complexity.

Key/state transfer must remove any usable source copy. Partial transfer and merging fragments require overlap checks, atomic operations, consistency, conflict handling and auditability. Time-based or pre-assigned states can limit coordination and waste capacity. Each pattern moves the risk; none makes a counter optional.

The backup design in Section 6 is especially careful. It creates unused bottom-level trees in advance, signs their roots with a top-level tree, exports a seed and validation material, and irreversibly deletes the seed and tree from the hardware module. Recovery imports one unused seed, reconstructs the tree, deletes the seed from the backup medium and checks the exported hash. The backup is a reserved future, not permission to replay the past.

Availability is not the same as safe recovery

Every cryptographic service needs a recovery story. A signer without a backup can lose its ability to issue signatures. A signer with a careless backup can keep issuing them after the safety condition has collapsed.

This is where governance becomes concrete. Who can restore? Which state generation is current? How is a cloned VM prevented from writing signatures? What happens when one process dies while state is committed in memory but not durable storage? Are concurrent devices drawing from one range or from disjoint sectors? Can an operator prove that a transferred source copy is unusable?

RFC 10033 also asks for warning thresholds before the finite signing reserve runs out. A system should raise an alert when a configured number of signatures remain. Exhaustion needs migration, rotation or new keys before the last useful index disappears. A warning that arrives after operations stop is an obituary.

Verifiers do not maintain the signing state. They trust the signer not to reuse it. Some deployments may retain signatures and look for repeated one-time indices, but detection after the fact shows a failure; it does not undo a forged capability already exposed.

When the stateful machinery is worth it

The RFC is careful about fit. Most applications, especially those that need an unrestricted number of signatures, should use stateless hash-based SLH-DSA or another post-quantum scheme such as ML-DSA. Stateful HBS can be appropriate when runtime, implementation size, signature size or key size makes the stateless alternatives impractical and the signing environment can be tightly controlled.

That is a narrow engineering decision, not a default migration path. Firmware signing, long-lived device roots and similar constrained uses can justify the operational machinery. A general-purpose API that signs without limit should not inherit it by fashion.

RFC 10033 supplies no implementation census, production incident or interoperability result. It does give teams a severe and useful model: a stateful signature is a withdrawal from a finite reserve. The signing service needs one authoritative ledger, durable commits, isolated writers, exhaustion warnings and a recovery process that reserves a future instead of resurrecting a used one.

Sources