Abstract

This ERC specifies a migration path for the signature layer of on-chain and agent identity to post-quantum (PQ) cryptography. A binding statement — a content-addressed, canonically-serialized declaration that a classical key is bound to a PQ key — is anchored to a public timestamped substrate before any cryptanalytic break. Consumers enforce a cutoff: an artifact proven anchored before the cutoff verifies classical-only (the cutoff never retroactively invalidates the back catalog; only a revocation ends a binding’s authority, from its own anchor time); an artifact anchored at or after the cutoff must carry a valid PQ companion signature under the binding in force at that artifact’s anchor time, or be rejected.

The central design decision is that this is a binding plus cutoff, not a second signature. A supplementary PQ signature is opt-in from the forger’s perspective: an attacker who derives the classical key simply omits it, and the omission is indistinguishable from honest pre-migration history. Under this ERC, post-cutoff omission fails closed. When the anchor is an Ethereum transaction sent from the classical address, the anchoring transaction itself is the classical proof-of-possession — one irreversible, timestamped, recomputable fact instead of a second signature to forge around. Every element is re-derivable from public data by any third party.

Motivation

Shor’s algorithm breaks the Elliptic Curve Digital Signature Algorithm (ECDSA) and Schnorr signatures underlying Ethereum accounts, most of Web3, and most AI-agent attestation identity. Hash functions survive (Grover’s algorithm only halves effective security; 256-bit hashes remain safe). The risk to signature-based identity is prospective forgery, not retroactive decryption: nothing already anchored on-chain is at risk, because a future key-forger cannot backdate into an existing anchor. What breaks is the ability to trust new signatures after a cryptographically-relevant quantum computer exists.

The common proposal — “attach a PQ signature alongside the classical one” — does not close the hole, for a structural reason: verification of the extra signature is opt-in, and a forger opts out. Security must instead live in a pre-published binding and a consumer-enforced cutoff, so that the absence of a valid PQ companion after the cutoff is itself a rejection.

Identity standards in the agent family (for example ERC-8004 registries) all rest on signature-based identity and inherit this exposure. This ERC provides the migration primitive they can share.

Specification

The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119 and RFC 8174.

Definitions

  • Classical key — a secp256k1 key (ECDSA or BIP-340 Schnorr) controlling an identity. A statement names it by its Ethereum address or by its BIP-340 x-only public key (see Member formats).
  • PQ key — a key under a post-quantum signature standard finalized by the National Institute of Standards and Technology (NIST): Module-Lattice-Based Digital Signature Algorithm (ML-DSA, Federal Information Processing Standard (FIPS) 204) or Stateless Hash-Based Digital Signature Algorithm (SLH-DSA, FIPS 205).
  • Binding statement — the canonical JSON object declaring classical→PQ key binding (below).
  • Content-address — sha256(JCS(statement)), where JCS is RFC 8785 JSON Canonicalization (sorted keys, compact separators, literal non-ASCII UTF-8).
  • Anchor — publication of a content-address to a public, timestamped, append-only substrate. Anchor time is the substrate’s timestamp for that publication (e.g. the Ethereum block timestamp of the anchoring transaction).
  • Companion — a detached PQ signature over an artifact’s 32-byte content-address.
  • Cutoff — a consumer-chosen instant after which classical-only artifacts are rejected.
  • In-force binding — the binding governing an artifact, resolved from the anchored binding chain at the artifact’s anchor time.

Binding statement

A binding statement is a JSON object. The following members are REQUIRED:

field type meaning
schema string the implementation-namespaced binding-statement schema (e.g. kya.pq_key_binding.v0, or a deployment’s own namespace such as invinoveritas.pq_key_binding.v1) — distinct from the consumer’s cutoff-enforcement profile; opaque to enforcement (see The cutoff rule)
secp256k1_pubkey string the classical identity, in one of the two forms under Member formats (the member name is historical: an Ethereum address is not a public key)
pq_pubkey string the post-quantum public key, lowercase hex without a prefix
algorithm string the PQ algorithm identifier (e.g. ML-DSA-65, SLH-DSA-SHA2-192s)

Member formats. The content-address hashes member values byte for byte, so the same key written in two forms yields two identities. A binding statement MUST write its members in these forms, and a consumer MUST refuse a statement that does not, with the evidence refuted, after the admission checks below. A consumer MUST NOT rewrite a member into another form before hashing.

member form
secp256k1_pubkey either an Ethereum address, 0x followed by 40 hexadecimal digits in any letter case, whose possession is proven by the anchoring transaction; or a BIP-340 x-only public key, 64 lowercase hexadecimal digits without a prefix. The letter case of an address is part of the hashed bytes: an address in ERC-55 mixed case and the same address in lowercase are different statements.
pq_pubkey lowercase hexadecimal without a prefix, exactly twice as many digits as the public-key length in bytes of algorithm (FIPS 204, FIPS 205)
algorithm ML-DSA-44, ML-DSA-65 or ML-DSA-87, or SLH-DSA- followed by SHA2 or SHAKE, -, and a FIPS 205 parameter set (128s, 128f, 192s, 192f, 256s, 256f)
bound_at, activated_at integer Unix seconds, when present
rotation_index non-negative integer, when present
predecessor_content_address a content-address, 64 lowercase hexadecimal digits without a prefix, when present

A revocation statement writes secp256k1_pubkey in the same forms and revokes_content_address as a content-address. Other members are permitted within the admission bounds and are not read by enforcement. Vectors: pq-key-binding-v1.member-format-vectors.json, reproduced by member_format_check.py.

A bound_at timestamp is RECOMMENDED; it is informative and never used for authority. A statement MAY carry a profile member as a deployment label. Enforcement MUST NOT read it: the cutoff-enforcement profile (e.g. pq_key_binding.v1) is fixed by the consumer’s configuration, not by the statement. algorithm is a field, not a fork: implementations under different NIST families MUST converge on the same content-address rules through canonicalization alone.

The canonical form is JCS(statement); the binding’s identity is content_address = sha256(JCS(statement)). Verifiers MUST recompute the content-address from raw bytes; any key manifest or hosted copy is discovery only, never authority.

Admission. A consumer enforcing pq_key_binding.v1 admits a binding statement only if all of the following hold, checked in this order; the first that fails gives the result. A statement that fails any of them MUST NOT be resolved as a binding.

  1. Size. JCS(statement) is at most 6208 bytes, checked against the raw byte length before any parsing. This bound is derived, not chosen: 2 × 2592 + 1024, where 2592 bytes is the largest public key among the admitted families (ML-DSA-87), carried as hex in pq_pubkey, and 1024 bytes covers every other member.
  2. Shape. The statement is a JSON object, and every member value is a string, an integer, or an object whose member values are strings or integers (one level of nesting).
  3. Canonical form. The raw bytes are exactly JCS(statement), and every integer is within ±(2^53 − 1), the range in which RFC 7493 (I-JSON) and therefore JCS represent integers exactly.
  4. Member names. Every member name, including those of a nested object, is at most 64 bytes in its escaped JCS form.

A checker MUST report a failure of (2) as unsupported shape, separately from a failure of (3), not canonical. Booleans, null, non-integer numbers, arrays and deeper nesting are valid RFC 8785 that this profile does not admit; they are not broken JCS.

The bounds belong to the profile and are versioned with it; they are not protocol constants. A profile that admits a larger-key family re-derives (1) by the same rule, so that algorithm stays a field, not a fork. The admission rules constrain the statement’s form only; they do not change the cutoff rule, the content-address or in-force resolution. Parameters, derivation and vectors: pq-key-binding-v1.canonicalization.json and pq-key-binding-v1.canonicalization-vectors.json in the assets directory.

On-chain enforcement (informative). An anchor contract that cannot parse JCS on chain can admit sha256(raw) subject to bound (1), which needs only the raw length, and settle (2)–(4) by a bounded fraud proof within a challenge window. A one-segment refutation of (4) requires the segment size to be strictly greater than the member-name bound, so a deployment that raises the name bound to or above its segment size loses the one-segment proof, and re-deriving (1) does not catch it. Such a contract inherits a one-honest-watcher assumption for (2)–(4). An off-chain consumer checks all four directly.

Anchoring and proof-of-possession

The binding’s content-address MUST be anchored before it is relied upon. When the anchor substrate is an Ethereum transaction (e.g. recording the digest via an anchoring contract), the transaction MUST be sent from the classical address being bound. The anchoring transaction then constitutes the classical proof-of-possession: no separate classical signature over the statement is required, and a verifier MUST NOT accept a separate classical signature over the statement in place of the anchoring transaction.

The genesis binding MUST additionally be signed by the PQ key (proof of possession of the PQ key; neither key alone can claim the other), over its own content-address or through a declared carrier, as Signature verification specifies.

Anchor availability: an anchor is only a cutoff for a verifier who can fetch it. An on-chain anchor is permissionlessly readable. An implementation using an off-chain timestamp proof MUST serve the proof bytes publicly; an unreachable proof collapses the cutoff to holder-only verification and does not satisfy this ERC.

Companion signatures

A PQ companion is a detached signature over the primary artifact’s existing 32-byte content-address (for example, a Nostr event id or an attestation digest) — never an in-object tag. An in-object tag lives inside the id preimage, so retrofitting it re-mints the id and orphans every existing anchor; the detached companion signs the identifier everyone already computes, identically for past and future artifacts.

Signature verification

This subsection fixes how every PQ signature role in this profile is verified: genesis possession, rotation continuity, rotation possession and revocation authorization.

Mode and message. Verification MUST use the pure verification operation of FIPS 204 (ML-DSA) or FIPS 205 (SLH-DSA), as the binding’s algorithm requires, with an empty context string (length zero). The verifier MUST pass the exact message bytes defined below to that operation. It MUST NOT substitute the ASCII hexadecimal text of the message, the pre-hash variants (HashML-DSA, HashSLH-DSA), or the internal verification operation. The pure operation adds its own domain separation and context framing; the caller MUST NOT prepend that framing to the message.

Direct route. For genesis possession, rotation continuity, rotation possession and revocation authorization, the message is the 32 raw bytes of the statement’s content-address, recomputed by the verifier as sha256(JCS(statement)) from the authenticated statement. Hashing the statement to obtain this message does not select a pre-hash signature mode.

Carrier-bound route. Genesis possession MAY instead use an explicitly declared carrier-bound route. A carrier profile MUST define the identifier’s preimage and serialization, and an unambiguous, authenticated association between the carrier and the binding. For the Nostr carrier:

  • the verifier MUST recompute the NIP-01 event id from the complete event preimage, MUST require the event content to equal JCS(statement), and MUST recompute the binding’s content-address from those authenticated content bytes;
  • the message is the 32 raw bytes of that event id;
  • the event’s public key MUST equal the binding’s declared classical identity, and its BIP-340 signature MUST verify;
  • a detached digest supplied alongside the event MUST NOT replace recomputing this relation, and the event need not carry a literal digest field when the content relation holds.

The carrier route does not replace anchoring: the binding’s content-address MUST still be anchored as Anchoring and proof-of-possession requires.

Roles and keys. The route, role and algorithm MUST be checked against this profile and the authenticated binding chain. The verifier MUST take each public key from the authenticated binding that the role names, never from the signature envelope alone:

Role by label Key
Genesis possession none the statement’s own pq_pubkey
Rotation continuity predecessor_pq_key the pq_pubkey of the authenticated binding named by predecessor_content_address
Rotation possession self the new statement’s own pq_pubkey
Revocation authorization revoked_binding_pq_key the pq_pubkey of the authenticated binding named by revokes_content_address

A record’s declaration of what it signs (for example canonical_content_sha256, or the event id) is informative. The verifier derives the message from the route and role as specified above, never from that declaration. A verifier MUST NOT try other modes, contexts, roles, keys or message representations until a signature verifies; a signature that does not verify under the one specified combination is refuted.

Transitions. A rotation MUST NOT enter the authoritative chain until both its continuity and its possession signatures over the same recomputed content-address have been verified. A revocation MUST NOT affect authority until its target binding, its authorization signature, its content-address and its anchor have been verified together. An anchor made by the classical owner does not replace the required PQ authorization. Missing evidence, or a missing capability to verify it, is unverifiable and MUST NOT change authoritative state; a signature check that was performed and failed is refuted. A consumer that accepts pre-authenticated transitions MUST expose and enforce that trust boundary, and MUST NOT accept equivalent unchecked caller arguments instead.

Vectors: pq-key-binding-v1.signature-vectors.json, reproduced by check_signatures.mjs.

The cutoff rule

A consumer MUST first resolve the artifact’s in-force state (pre_baseline, in_force or authority_revoked, defined in Rotation, revocation, and in-force resolution) from the anchored binding chain at the artifact’s anchor time t, and then apply the cutoff C as follows:

  1. pre_baseline: accept classical-only if t < C. If t ≥ C, reject: no binding is in force to verify a companion under.
  2. authority_revoked: reject, whether t is before or after C.
  3. in_force: if t < C, accept classical-only. If t ≥ C, accept only if the artifact carries a valid PQ companion under the in-force binding’s pq_pubkey.

The comparison with C is strict: an artifact anchored at exactly t == C is on the companion-required side.

All authority judgments use anchor time, never claimed signature time: a compromised key can backdate a signature; it cannot backdate an anchor. A valid companion under a key that is not the in-force key for that anchor time MUST NOT count. The cutoff is consumer-side policy, not issuer-declared.

The schema member is implementation-namespaced and opaque to cutoff enforcement: an enforcer MUST NOT condition its verdict on schema. Enforcement keys only on anchored times, the content-address, and pq_pubkey; the cutoff-enforcement profile, fixed by the consumer’s configuration, is the only version identifier that governs, and a statement’s own profile member is not read. A binding under any namespace — kya.pq_key_binding.v0, a production deployment’s own namespace, or one unknown to the verifier — yields the same verdict as the equivalent known-namespace binding. The conformance suite’s namespace opacity case is the failing witness: an enforcer that pattern-matches the namespace fails exactly that case.

Rotation, revocation, and in-force resolution

Bindings form an anchored chain. The in-force binding for an artifact is resolved deterministically from the chain at the artifact’s anchor time. Resolution MUST run from the chain even at length one.

  • Rotation — a new binding statement that links its predecessor (predecessor_content_address) and is dual-signed over its own content-address by the predecessor PQ key (continuity: the retiring key authorizes its successor, so the chain survives a classical break) and the new PQ key (possession). Rotation is forward-acting: artifacts anchored before the rotation continue to resolve to the predecessor.
  • Revocation — an anchored revocation record ends a binding’s authority at the revocation’s anchor time, never retroactively and never at a self-declared time. Artifacts anchored at or after that time are no longer governed by the revoked binding; artifacts anchored earlier remain valid.
  • Terminality — a terminal statement is a standing, fail-closed constraint on the future binding path, not a description of present absence. Two intents MUST be distinguished: a deliberate retirement is absolute; a defensive incident-kill is liftable only by a fleet-level seed-rotation path, never by a per-agent path — otherwise the compromised key could resurrect itself.

Resolution. Each binding has an activation boundary B = max(anchor time, activated_at), where activated_at is an OPTIONAL statement member in integer Unix seconds. activated_at can only delay activation; a value before the binding’s own anchor time makes the chain malformed. A binding’s revocation anchor R is the earliest anchor time among all authenticated revocation records that name it, so a later revocation never reopens an interval an earlier one closed. The chain MUST be linear: each successor names the current last binding as its predecessor, its anchor time is strictly later than its predecessor’s, and its B is not earlier than its predecessor’s. A chain that breaks any of these is malformed, and a verifier MUST report artifacts resolved against it as unverifiable. Un-anchored bindings take no part in resolution.

At anchor time t, the governing binding is the last anchored binding in the chain with B ≤ t. If that binding’s R ≤ t, no binding governs. Authority MUST NOT fall back to a predecessor, because a rotation retires its predecessor permanently.

In-force states. An artifact’s anchor time t resolves to exactly one state. In pre_baseline, B is the first anchored binding’s activation boundary; in the other two, B and R are the governing binding’s (R ≥ B, when a revocation exists):

  • pre_baseline (t < B) — anchored before any binding governed it; admitted classical-only only if also anchored before the cutoff (the innocent back catalog), and rejected at or after the cutoff.
  • in_force (B ≤ t < R) — governed by the binding; a post-cutoff artifact MUST carry a valid PQ companion under it.
  • authority_revoked (t ≥ R, with no separately anchored successor in force) — the binding’s authority has ended; the artifact MUST be rejected, even pre-cutoff.

These states are mutually exclusive by construction. The in_force interval is half-open: activation is inclusive, revocation exclusive. The revocation boundary is correspondingly inclusive on the revoked side — an artifact anchored at exactly t == R is authority_revoked, never still in_force. Successor existence and eligibility are separate resolution facts, not a fourth state: an artifact at t ≥ R resolves to a successor’s binding rather than to authority_revoked only when that successor’s B ≤ t; in [R, B_successor) the state is authority_revoked. A conformant enforcer MUST NOT collapse pre_baseline and authority_revoked into one reason — they are opposite answers (an innocent back catalog versus deliberately ended authority), and their names MUST NOT share a prefix that would invite a later startsWith check to re-conflate them.

A reason is not a state. The three states above are the normative vocabulary. An implementation’s diagnostic field — the reference enforcer in this proposal’s assets names it resolution_reason — reports the resolution path that was taken, and MUST NOT be read as the state. The two vocabularies are not in bijection and MUST NOT be assumed to coincide: at t == R the reference enforcer reports no_in_force_binding, because resolution found no eligible binding, while the normative state is authority_revoked. The hazard is that they partially overlap — pre_baseline appears in both, and authority_revoked appears in neither reason set — so a consumer that infers the state from the reason is correct at t < B and wrong at t ≥ R, having been taught the wrong rule by the case that worked. A consumer MUST derive the state from t, B and R, and MUST NOT infer it from a reason string, from the absence of one, or from a substring of one.

Recovery classes

Authority transitions MUST be classified by anchored, falsifiable class declarations (e.g. rotation, revocation, terminal), and each record MUST be judged only against its declared class: a record failing its own class predicate is rejected, never silently relabeled as a neighboring class. This keeps every transition independently auditable by a third party.

The single permitted non-public-recompute step is fleet seed-recovery: replacement keys derive from a secret seed, so a third party cannot re-derive them. The public guarantee for that step is (a) the anchoring transaction is sent by the designated recovery authority (which MUST NOT reduce to the key being replaced) and (b) an anchored commitment (e.g. Merkle root) over the new keys. Implementations MUST state this boundary explicitly rather than imply the recovery is publicly recomputable, and MUST state that compromise of the recovery authority’s key is outside what this ERC protects. A zero-knowledge proof of correct derivation MAY replace operator attestation in future versions.

Successor admission under terminality

This subsection specifies when a consumer admits a successor binding for an identity that may carry terminal records, and what a fleet recovery may and may not do.

Identity state. For each identity (the subject the binding chain belongs to, e.g. a registry and agent id), a consumer holds: the chain tip (the current last binding) and its anchor time; the identity’s terminal history, every authenticated agent_terminal record for that identity with its subtype and anchor time; the lift mark, the anchor time of the latest terminal_incident lifted by a recovery, initially none; and the consumed fleet epoch, the latest seed_epoch_rotation epoch used for a recovery of this identity, initially none. The current fleet epoch is the fleet’s latest seed_epoch_rotation epoch at the successor’s anchor time.

Terminality is identity-wide and inclusive. A terminal record ends authority for the identity, not only for the binding it was anchored against: it applies to every later successor of that identity, whichever binding it named. A terminal record applies to a successor when its anchor time is less than or equal to the successor’s anchor time. A successor anchored at the same time as a terminal record is therefore subject to it. terminal_owner is absolute: no successor is admitted for an identity that has one, by any path. terminal_incident is lifted only by a fleet recovery as specified below, never by a per-agent rotation or a per-agent recovery.

Evidence before content. A value carried by a record MUST NOT be used for a comparison until the evidence that authenticates it has been verified: an anchor time is not used for ordering or for deciding whether a record applies until that record’s anchor proof is verified, and a recovery record’s scope, epoch and committed fields are not compared until its authority and commitment proofs are verified. If that evidence is unverifiable, the result is unverifiable, and if it is refuted, the result is refuted. In neither case is a verdict derived from an unproven value.

Admission. A consumer admits a successor binding b, presented with or without a recovery record r, only if all of the following hold. They are checked in this order; the first that fails gives the result. Every failure is a refuse decision, with the evidence stated. Here t_b is b’s anchor time and t_r is r’s.

  1. Terminal history. The identity’s terminal history is established. If it cannot be established, the result is its evidence (unverifiable when the history cannot be proven).
  2. Successor anchor. b’s anchor proof is verified. Otherwise the result is its evidence.
  3. Linear successor. b names the same subject, names the current tip as its predecessor, and has t_b strictly later than the tip’s anchor time. Otherwise the result is refuted. This is the chain rule of Rotation, revocation, and in-force resolution, applied at admission.
  4. Admission rules. b passes the binding-statement admission rules. Otherwise the result is that check’s evidence.
  5. Possession. b carries a valid proof of possession under its own pq_pubkey. Otherwise the result is its evidence.
  6. Terminal records. Using the terminal records that apply at t_b:
    • (a) if any is terminal_owner, the result is refuted;
    • (b) if any has a subtype other than terminal_owner or terminal_incident, the result is unverifiable;
    • (c) if any terminal_incident has an anchor time later than the lift mark, it is unlifted, and admission continues at (7) with t_i the latest such anchor time; otherwise admission continues at (8).
  7. Recovery path. An unlifted terminal_incident applies:
    • (a) a recovery record r is presented; otherwise refuted;
    • (b) r’s anchor proof is verified; otherwise its evidence;
    • (c) r was anchored by the designated recovery authority, as required by the boundary above; otherwise its evidence;
    • (d) r’s commitment proof over the replacement keys is verified; otherwise its evidence;
    • (e) t_i < t_r < t_b, both strictly; otherwise refuted. A recovery at the same time as the incident, or at the same time as the successor, is not ordered and is not admitted;
    • (f) r is a seed_epoch_rotation of fleet scope; otherwise refuted;
    • (g) r’s epoch equals the current fleet epoch and is later than the identity’s consumed fleet epoch; otherwise refuted;
    • (h) r commits, for this identity, to exactly b’s subject, b’s predecessor, b’s algorithm and b’s pq_pubkey; otherwise refuted.

    Checks (b) to (d) authenticate r; (e) to (h) compare its content, as Evidence before content requires.

    On success the decision is admit with evidence verified.

  8. Ordinary path. No unlifted terminal_incident applies:
    • (a) no recovery record is presented; otherwise refuted. A recovery is not a rotation and is not judged as one;
    • (b) b carries a valid continuity signature from the predecessor’s PQ key (Rotation); otherwise its evidence.

    On success the decision is admit with evidence verified.

Recovery substitutes only within its class. A recovery that passes (7) replaces the predecessor-key continuity signature that (8)(b) requires, and nothing else: the successor’s anchoring, admission rules and proof of possession are still required by (2) to (5). A recovery record MUST NOT be accepted as continuity on the ordinary path, and a rotation MUST NOT be accepted as a recovery.

Lift and admission are one transition. When admission succeeds through (7), the consumer MUST, as a single indivisible update, set the tip to b, record t_b as the tip’s anchor time, set the lift mark to t_i and set the consumed fleet epoch to r’s epoch. A consumer MUST NOT record a lift without the admission it authorizes, and MUST NOT expose a state in which the incident is lifted but b is not the tip. An on-chain consumer performs both in one call. The terminal records themselves stay in the history; a lift only moves the lift mark. A terminal_incident anchored after the lift mark is unlifted again and needs a new recovery under a later epoch. A later ordinary rotation names the recovered binding as its predecessor.

Refusal does not change state. A refuse result, at any step, leaves the identity state exactly as it was: the tip, terminal history, lift mark and consumed fleet epoch are unchanged. In particular, a refused recovery does not consume its epoch.

Recovery commitment. A fleet seed_epoch_rotation commits to its replacement keys with one recovery leaf per recovered identity. A leaf is the JCS form of a JSON object with exactly these members: schema, the string erc8373.recovery_leaf.v1; registry, the identity’s registry address as 0x and 40 lowercase hexadecimal digits; agent_id, the identity’s agent id as a decimal string with no leading zeros; seed_epoch, the rotation’s epoch as a positive integer; and predecessor_content_address, algorithm and pq_pubkey, in the forms Member formats gives for a binding statement. The record carries recovery_root, 64 lowercase hexadecimal digits, and leaf_count, and the recovery authority’s anchor of (7)(c) MUST cover both together: inclusion is checked against a tree size, so a leaf_count the authority did not authenticate is not evidence. A leaf names no chain; registry is read in the chain namespace that the authenticated recovery record establishes, and (7)(h) compares it with the identity only within that namespace. recovery_root is the Merkle Tree Hash of RFC 9162 Section 2.1.1 with SHA-256 over the leaves in ascending order of their leaf hash SHA-256(0x00 || leaf), interior nodes being SHA-256(0x01 || left || right). A tree MUST NOT contain two leaves for the same identity.

The commitment proof of (7)(d) for an identity is its leaf bytes, the leaf’s index and an inclusion path. A verifier MUST check that the leaf bytes are exactly the JCS form of a leaf with the members above, that its seed_epoch equals the record’s, and that the path verifies against recovery_root for that index and leaf_count by the algorithm of RFC 9162 Section 2.1.3.2. Any failure is refuted; a proof that cannot be obtained is unverifiable. When the record also publishes the full leaf list, the verifier MUST recompute recovery_root and leaf_count from it and MUST refuse a list with two leaves for one identity. Check (7)(h) then compares the verified leaf: registry and agent_id with the identity, and predecessor_content_address, algorithm and pq_pubkey with b’s. With only an inclusion path, a verifier cannot see a second leaf for the same identity elsewhere in the tree; that assurance rests on the recovery authority, inside the boundary Recovery classes states.

Verification procedure

A verifier, given an artifact and a consumer cutoff:

  1. Recompute the artifact’s content-address from raw bytes.
  2. Recover the artifact’s anchor time from the anchor substrate. If the anchor cannot be proven, report the artifact unverifiable and reject it; no in-force state is resolved and no cutoff comparison is made.
  3. Resolve the in-force state at the artifact’s anchor time from the anchored binding chain (applying rotations, revocations, terminality), before comparing with the cutoff.
  4. If the state is authority_revoked: reject. If it is pre_baseline: verify classically and accept if anchor time < cutoff; otherwise reject.
  5. If the state is in_force and anchor time < cutoff: verify classically; accept.
  6. Otherwise (in_force, anchor time ≥ cutoff): recompute the in-force binding’s content-address; check the binding’s own anchor and proof-of-possession; verify the PQ companion over the artifact’s content-address under the in-force pq_pubkey. Accept only if valid; otherwise reject.

A verifier that cannot complete a step (unreachable anchor proof, unresolvable chain) MUST report the artifact unverifiable, distinct from both accept and reject.

Evidence and decision are separate outputs. A verifier’s evidence is one of verified, refuted, or unverifiable; the admission decision (admit / refuse) is a projection of that evidence and the cutoff, never an independently settable value. Where evidence and decision are represented as on-chain enumerations, the zero value MUST be the safe one — unverifiable for evidence and refuse for decision — so that an uninitialized, reverted, or unread path degrades to refuse, unverifiable rather than to a silent admit. verified and admit MUST NOT occupy the zero slot; if they did, the default failure mode would be a yes that nobody decided, which is the exact inversion this ERC exists to prevent.

An unverifiable result MUST carry a reason (REQUIRED, not RECOMMENDED): an unverifiable with no reason is the same shape of defect as a rejection covering two facts. Off-chain the reason is a string; on-chain it MUST be a closed enumeration (for example unreachable_anchor, unresolvable_chain, verifier_unavailable), seeded from the causes an implementation actually distinguishes — free text on-chain is not permitted, and the off-chain string MUST project onto the on-chain enumeration without drift.

Digests inside proof systems

An implementation that binds a 256-bit digest inside a proof system whose scalar field is smaller than 2^256 (for example BN254) MUST carry the digest as raw bytes into the in-circuit hash, not as a single field element.

Rationale

Binding + cutoff, not a second signature. The omission attack is the whole game: any scheme in which the PQ material is optional at verification time protects nothing. The cutoff turns omission into rejection.

Anchor time over signature time. The trustworthy quantity is the one an operator cannot reshape after the fact. Signature timestamps are claims; anchor times are observations.

The anchoring transaction as proof-of-possession. Sending the anchor from the classical address collapses “prove you own the key” and “publish the binding” into one irreversible public fact, removing the last separable signature a forger could work around.

Content-addressing and recomputation. Every object is identified by the hash of its canonical bytes and every verdict is re-derivable from public data. Hashes are the primitive that survives the quantum transition; the design leans the migration entirely on them.

Two families as a structural hedge. In 2026, Straznickas and Weis (“HAWK-n Key Recovery Reduces to SVP in Dimension n/2+1”, IACR ePrint 2026/1593) reduced key recovery for HAWK — a lattice-based hash-and-sign candidate in NIST’s additional-signatures process — to a shortest-vector problem in half the dimension, lowering the estimated cost for HAWK-512 from 2^150 to 2^108 in a gate-count model, and the HAWK team withdrew the candidate. The result does not affect the finalized standards (different problem, different construction), but the lesson is structural: implementations should pair a finalized standard with a second scheme from a different cryptographic family (e.g. lattice-based ML-DSA alongside hash-based SLH-DSA), so that a break dependent on one family’s structure does not transfer to the other.

Pre-baseline artifacts after the cutoff are refused. The cutoff is the consumer’s decision, so the rule resolves the in-force state first and only then applies the cutoff. One consequence follows: an agent’s legacy artifacts anchored between a consumer’s cutoff and that agent’s first binding are refused permanently by that consumer, because no binding was in force at their anchor time and so no PQ companion can exist for them. Admitting them instead would let whoever holds the classical key after a break anchor a late genesis binding and have every forged artifact anchored before its activation admitted classical-only. An agent that wants its whole back catalog admitted by a consumer has to anchor its first binding before that consumer’s cutoff.

Protocol-layer migration. A post-quantum migration can also be enforced at the protocol layer, where a network-wide fork sets one boundary for every key and consensus verifies the registered keys. This ERC instead lets each consumer set its own cutoff, binds any application or agent identity, anchors to any public timestamped substrate and is verified by recomputation, with no privileged verifier. Keys from stateful hash-based schemes reach a cryptographic end of life when their one-time leaves run out; the stateless ML-DSA and SLH-DSA keys used here have no such bound, so authority ends only through an explicit, anchored revocation, which covers end of life and compromise with one mechanism.

Backwards Compatibility

No existing artifact is invalidated by the cutoff itself: everything proven anchored before a consumer’s cutoff remains verifiable classical-only, permanently — unless a governing binding was revoked at or before the artifact’s anchor time, which deliberately ends that binding’s authority and overrides back-catalogue admission. The cutoff gates only artifacts anchored at or after it, including pre_baseline artifacts, which are admitted only before it; revocation is the single signal that reaches back across it. Consumers adopt independently, on their own schedule, without coordination; an ecosystem-wide flag day is deliberately not required.

Test Cases

Conformance vectors are provided in the assets directory for this proposal: binding-statement vectors (two independent implementations, two NIST families — ML-DSA-65 and SLH-DSA-SHA2-192s — converging on byte-compatible content-addresses), cutoff-enforcement vectors (admit / reject / unverifiable, including in-force resolution across rotation and revocation, with the refuted and unverifiable cases distinguished rather than collapsed), rotation-chain vectors, and revocation vectors. The cutoff set includes explicit boundary vectors at the activation anchor (t == B, in_force) and the revocation anchor (t == R, authority_revoked — inclusive on the revoked side), so that a fencepost error in the half-open in_force interval fails the suite rather than passing quietly. Each vector states public inputs and the expected verdict; conformance is exact reproduction. The normative cutoff set is pq-key-binding-v1.cutoff-vectors.json (profile pq_key_binding.v1/cutoff-enforcement): it distinguishes the states the earlier v0 set collapsed — refuted versus unverifiable evidence, and a pre-baseline back-catalogue artifact (admits classical-only) versus one anchored at or after revocation (refuted even pre-cutoff) — and adds the t == B and t == R boundary cases, plus pre_baseline artifacts on both sides of a cutoff that falls before the baseline (t == C - 1 admitted, t == C refused), a late genesis binding with delayed activation, a successor anchored after a revocation, artifacts whose own anchor is unproven (unverifiable before and after the cutoff), a revoked successor that does not hand authority back to its predecessor, a later revocation that does not reopen an earlier one, and a successor whose activation is earlier than its predecessor’s (malformed). A case can declare its own consumer_cutoff, overriding the file’s. The v0 cutoff set (pq-key-binding-v0.cutoff-vectors.json) is retained unchanged as the frozen base the v1 profile refines, not as a second conformance target.

The normative conformance file for each facet is:

Facet Normative file
Binding statement pq-key-binding-v0.vectors.json
Cutoff enforcement pq-key-binding-v1.cutoff-vectors.json
Rotation pq-key-binding-v1.rotation-vectors.json, with pq-key-binding-v0.rotation.json
Revocation pq-key-binding-v1.revocation-vectors.json, with pq-key-binding-v0.revocation.json
Canonicalization pq-key-binding-v1.canonicalization-vectors.json, with pq-key-binding-v1.canonicalization.json
Recovery classes recovery-classes-vectors.json
Recovery commitment recovery-commitment-vectors.json (pending D5)
Signature verification pq-key-binding-v1.signature-vectors.json (pending D2)
Member formats pq-key-binding-v1.member-format-vectors.json (pending D3)

The v0 cutoff, rotation and revocation vector sets are kept unchanged as the frozen base the v1 profile refines. The v1 rotation and revocation sets repeat their cases, assert evidence on each, and expect an artifact anchored before the first binding’s activation to be pre_baseline, where v0 expected the first binding to govern it. All other files in the assets directory are informative. Where an informative file and this ERC differ, this ERC governs.

Reference Implementation

Two independent production implementations converge on this profile: a Nostr-carried ML-DSA-65 binding anchored via OpenTimestamps→Bitcoin, and an EIP-712-carried SLH-DSA-SHA2-192s binding anchored via an on-chain digest record on Ethereum mainnet, with a live cutoff enforcer implementing the verification procedure (including in-force resolution, rotation, and revocation). Vector suites and an executable reference enforcer accompany the conformance assets, alongside a Solidity consumer that reproduces every published cutoff vector on all four of its fields.

The canonicalization facet’s size bound has also been exercised on chain by an independent anchor contract that admits sha256(raw) subject to the size bound and settles canonical-form violations by a bounded fraud proof over a single parser segment and one member-name comparison. That deployment uses a 256-byte segment, under which this profile’s 64-byte member-name bound sits. It is not part of this proposal’s assets and is not required for conformance.

Security Considerations

  • The omission attack is the primary adversary model; the cutoff rule is its mitigation. Consumers that do not enforce the cutoff gain nothing from the binding’s existence — deployment of the consumer rule, not publication of bindings, is what makes the migration operative.
  • Anchor availability is load-bearing: a cutoff evaluated against an unfetchable anchor proof is not publicly evaluable. On-chain anchors are preferable where permissionless readability matters.
  • Recovery authority must not reduce to the secret it replaces. The fleet seed-rotation is anchored by a designated recovery key, proven by its own transaction; compromise of that recovery key is out of scope for this ERC, and the Specification requires implementations to say so (see Recovery classes).
  • Terminality asymmetry (retirement absolute; incident-kill liftable only fleet-level) prevents a compromised per-agent key from resurrecting itself while preserving recoverability from defensive over-reaction.
  • Field-element truncation. A 256-bit digest carried as a single field element in a proof system with a smaller scalar field (e.g. BN254) silently reduces mod the field order, and off-chain and on-chain recomputation diverge. Small test values mask this; real digests trigger it. Digests inside proof systems in the Specification requires raw-byte carriage for this reason.
  • No “quantum-proof” claim. This ERC migrates the signature layer and rests the migration on hash primitives. It makes no claims about other layers (e.g. key-exchange confidentiality of past traffic).

Copyright and related rights waived via CC0.