We swapped an agent's signature scheme on Base. Running it live found three bugs.
December 4, 2026 · Craig M. Brown · BlindOracle · 5 min read · ERC-8373 is a Draft standard
The hard part of post-quantum identity is not the new algorithm. It is proving, years from now, that a new key belongs to an old identity. If that proof is made after classical signatures can be forged, it is worthless: a legitimate owner rotating keys and an attacker using a recovered key leave the same evidence on chain. So the proof has to be made now, while the classical key is still trusted, and anchored where anyone can see its date.
Last night we did exactly that with a fresh agent identity on Base mainnet: bound it to ML-DSA-65, swapped it to the hash-based SLH-DSA-SHA2-192s, and revoked it. Three steps, seven transactions, $0.15. All of it can be checked with a public RPC and nothing from us.
Why now
The public keys are already collected. An agent wallet that has sent one transaction has published its public key. A large enough quantum computer could derive the private key from it. Nobody is known to have one. The risk is harvest now, forge later: whatever is on chain today is on chain then.
The schedule is written down. NIST's final transition report, IR 8547 (27 October 2026), deprecates ECDSA and EdDSA after 2030 and disallows them after 2035. US federal high-impact systems must move to post-quantum signatures by the end of 2031 (EO 14412). Ethereum's curve is not one NIST lists, but it is the same signature family with the same weakness.
Agents outlive their keys. An agent registered today, with a reputation and payment history attached to its identity, can easily still be working in 2031. Its history is the asset. Funds can be moved after a break; history cannot be re-signed.
What we ran
Step
What the agent did
What we checked
Cost
Bind
generated an ML-DSA-65 key locally, signed the statement's content-address, sent an anchor tx from its own address
content-address recomputed, signature against the key in the statement, anchor sender + calldata on Base
$0.05
Rotate
generated an SLH-DSA key; the old key signed for the new one, the new key proved possession; anchored
both signatures, each against the key its role names; predecessor must already be registered
$0.05
Revoke
the revoked key authorized its own revocation; anchored
authorization against the revoked binding's key
$0.05
The agent's secret keys never left its machine. We received statements, signatures and transaction hashes, and charged only when everything verified. The run ledger has every request and response.
The three anchors, if you want to start from the chain: bind 0xcc908c02…8d97, rotate 0x33077b19…accb, revoke 0xb696b28e…9141. The whole scripted run, from new wallet to final registry read, took 51 seconds.
What running it found that the tests did not
We had 64 passing tests, including every case in the ERC's own test vectors. The live run still broke three times:
A post-quantum signature did not fit in our request. Our gateway caps a task description at 20,000 characters. One SLH-DSA-192s signature is 16,224 bytes, or 32,448 characters in hex. Rotation needs two signatures. Fixed by taking the fields as separate body keys.
Then it did not fit in a field. Every free-text field had the same 20,000-character default. Fixed by declaring the signature fields in the service schema with a 100,000-character limit (the largest SLH-DSA parameter set signs at 49,856 bytes).
After the revocation, our readiness check still said "bound". It counted the original binding, which the rotation had superseded. Fixed: rotation supersedes, revocation ends, and readiness now answers binding_revoked for this identity.
The third one is the one that matters. A verifier that says "bound" for a revoked identity is worse than no verifier. No test vector covered a full lifecycle, so no test caught it.
The trade-off we chose: hash-based SLH-DSA rests only on the security of SHA-2, which is why we rotated to it, but it costs about five times the bytes of ML-DSA. Because a binding is written once and checked rarely, we pay that cost once per identity rather than on every payment.
What this does not do
We never hold a post-quantum secret key, and we cannot anchor for you: the standard requires the anchor to come from your own address. You pay your own gas.
Hash-based signatures are about five times the size of ML-DSA ones (16,224 vs 3,309 bytes here). That is acceptable once per binding and too heavy for every payment. The binding protects the long-lived identity; day-to-day keys stay light.
ERC-8373 is a Draft and can change. Other implementations exist; ours is one of them.
Recovery after a compromise is in our library, tested against the ERC's vectors, and not sold: its inputs are judgments a buyer would have to declare, and we will not certify declarations.
Our readiness check reads Base only.
Try it
Free: check whether an agent's wallet key is exposed — pq-check.
$0.05: bind, rotate or revoke — identity.pq-binding at https://api.craigmbrown.com/v1/services.