ERC-8373 Quantum-resistant signature transition binding (Post-Quantum Anchored Key-Binding)

Draft · Signatures & auth · created 2026-08-05

An identity signature migration standard that pre-binds a classical signing key to a quantum-resistant key, anchors it in a public record, and requires rejecting an artifact if it lacks a valid quantum-resistant companion signature after a cutoff time set by the verifier.

Why it is needed

Current Ethereum accounts and most Web3 and AI agent identities are based on elliptic curve signatures such as ECDSA or Schnorr. If a quantum computer running Shor's algorithm emerges, these signatures could be forged. The danger lies not in records already on chain, but in the fact that signatures appearing after quantum computers emerge can no longer be trusted. The common fix of simply attaching an additional quantum-resistant signature has a structural weakness. Verification of that additional signature is optional, so an attacker who has stolen a key can simply omit it, and this is indistinguishable from a normal historical record. Protection must therefore rest on a publicly published binding made in advance and a cutoff time enforced by the verifier, where the absence of a quantum-resistant companion signature after the cutoff is itself grounds for rejection.

In depth

The binding statement and content address

The binding statement is a JSON object with four required fields: schema, secp256k1_pubkey, pq_pubkey, and algorithm. The content address is the sha256 of the bytes normalized via RFC 8785 JCS, and member formats are fixed. secp256k1_pubkey is either a 0x-prefixed 40-character hex address or a 64-character lowercase BIP-340 x-only key, pq_pubkey is fixed-length lowercase hex, and algorithm is one of ML-DSA-44/65/87 or SLH-DSA-SHA2/SHAKE-128s/f, among others. Case in the address also goes into the hash as-is, so a checksummed-case rendering and a lowercase rendering produce different statements.

The four stages of statement admission (Admission)

Consumers check, in this order: 1) size (JCS bytes at most 2x2592+1024=6208 bytes), 2) shape (a JSON object whose values are strings, integers, or one level of nested objects), 3) canonical form (the raw bytes match the JCS output exactly, integers within +/-(2^53-1)), and 4) member name length (each at most 64 bytes). A failure at step 2 must be reported as 'unsupported shape', and a failure at step 3 as 'not canonical'.

Anchoring and classical proof of possession

A content address must be anchored to a public timestamping substrate before it can be trusted. If anchoring is done via an Ethereum transaction, the transaction must be sent directly from the classical address being bound, and this anchor transaction itself stands in for the classical proof of possession. Accepting a separate classical signature in its place is forbidden. The genesis binding must additionally have the PQ key sign the entity's own content address (or declared carrier) as well, completing mutual proof of possession.

Companion signatures and signature verification rules

A PQ companion signature is a detached signature over the 32-byte content address that the original artifact already has; embedding a tag inside the object itself is forbidden, since that would change the identifier and invalidate the existing anchor. Verification must use the pure verification operation of FIPS 204/205 with a zero-length context, and must not be substituted with hex text replacement, pre-hash mode, or internal verification operations. The public key used for each role (genesis ownership, rotation continuity, rotation ownership, revocation authority) must be taken from the authenticated binding chain, and the key embedded in the signature envelope must not be trusted as is.

The cutoff rule

At an artifact's anchor time t, a verifier first determines the in-force state (pre_baseline, in_force, authority_revoked) and then compares it against the cutoff time C. pre_baseline approves with a classical signature alone if t<C, and rejects if t>=C. authority_revoked rejects unconditionally regardless of t. in_force approves with a classical signature alone if t<C, and requires a PQ companion signature under the binding valid at that time if t>=C. t==C is classified in the group requiring a companion signature. The determination always uses the anchor time, never the timestamp claimed within the signature.

Rotation, revocation, and chain resolution

Bindings form an anchored chain. Each binding's activation boundary is B=max(anchor time, activated_at), and its revocation boundary R is the anchor time of the first revocation record naming that binding. At any time t, the most recent binding with B<=t governs, and if that binding's R<=t, no binding is valid. A rotation requires both a continuity signature from the predecessor PQ key and a possession signature from the new PQ key, and revocation ends authority only from the revocation time onward, never retroactively. If a chain violates the linearity conditions (connectedness, increasing time, no regression of B), an artifact resolved against that chain is reported as unverifiable.

Fleet recovery and terminal records

Intentional retirement (terminal_owner) is absolute: no successor binding is permitted through any path. Accidental compromise (terminal_incident) cannot be resolved at the level of an individual agent and can only be lifted through a fleet-wide seed_epoch_rotation recovery. This recovery is proven by a transaction from the designated recovery authority key together with a Merkle commitment (RFC 9162 style) to the new keys; on success it replaces the rotation's continuity signature, but all other requirements, such as anchoring, review, and proof of possession, still apply. Implementations must state explicitly that compromise of the recovery authority key itself falls outside the protection scope of this ERC.

Proposal status

This ERC is currently in Draft status, meaning it has not yet been finalized and its content may still change or be withdrawn.

Things to watch out for

Original ERC · ← ERCs