One-time keys for an ordinary Safe
A seat in your Safe whose key changes after every approval.
The Safe keeps its address, its money and its threshold. One owner is a seat, and each approval it gives needs two signatures from one tap of your passkey: a curve signature, and a one-time signature that rests on SHA-256 alone. Each approval names the next key and burns the one that signed. Try it on a test network.
- Revealthe one-time signature: key n is spent
- Runthe Safe transaction it approves
- Rotateto key n+1: only its fingerprint goes on chain
Pay for a request
Someone sent you a payment link? Paste it here to review the transaction, then connect a wallet on Base Sepolia to pay. You do not need their passkey. Pasting sends nothing.
Or scan it: the signing device's QR codes, or any link's code. The camera stays in this page; nothing is recorded or sent.
Starting MicroPython…
Serial: every line the page and the console said
On a board these lines would cross USB. Here they cross into MicroPython. Your passkey's seeds are secret and are never shown.
The attack room
Try to use what your approvals put on chain. Each attack asks the live seat with a simulation
(eth_call): it costs nothing and moves nothing. The seat's own error comes back.
The attacks use your last approval. Make one first.
How it works
The Safe stays the multisig
An ordinary Safe 1.4.1 holds the money, keeps the owners, counts approvals and runs transactions. Nothing about it changes. Its one owner here is a seat: a small contract that approves only when two signatures check out.
- A curve signature from your passkey, P-256, checked by Safe's own passkey signer.
- A one-time signature that uses only SHA-256, and only once: Winternitz, 67 chains of 15 steps.
Every approval names the next key's fingerprint. The seat records it and accepts nothing else. The key that just signed is dead.
One passkey, two jobs, one tap
Your passkey signs c with its curve key. In the same tap, its PRF extension turns two labels
into two 32-byte seeds, from a secret that never leaves it. The seeds pass through this page for one request. The console turns the seed of key n into 67
secrets and signs m; the seed of key n+1 gives the next fingerprint.
c = sha256("sign-and-burn/approve/v1" ‖ chain ‖ seat ‖ safe ‖ n ‖ safeTxHash)
m = sha256("sign-and-burn/one-time/v1" ‖ c ‖ nextKey)
The passkey signs c; key n signs m. Swap the next key and the one-time
signature no longer fits. Only the one-time signature binds the next key: the passkey's seeds arrive in the same
tap, after its challenge was fixed.
The console
The console is about a thousand lines of MicroPython: PicoQuorum's Safe hash and decoder, the one-time keys, and a core that answers one JSON line with another. It works out the Safe transaction hash itself, says what the transaction does, refuses what it can't explain, and keeps the guardrail.
It runs here in WebAssembly. Copy the same files to a Pico or an ESP32 and main.py answers the
same lines over USB. That hasn't been tried on a board yet.
The guardrail: one signature per key
The seat makes sure a spent key is dead. It can't make sure a key signs only once: two signatures with one key reveal enough to forge a third. So the console records every approval before it lets one out, and while key n's approval waits it signs nothing else with key n, only sends that one again. The attack room's danger case shows why.
One tap, two jobs, step by step
cc, user verifiedm67 secrets, 67 revealed valuesmm names the next key, so nobody can swap it. The seeds pass through the page and the console for this one
request and are never logged or shown.A one-time key, up close
Drawn by the page's script.
Why a key signs only once
Drawn by the page's script.
Why
In October 2026 Justin Drake asked the industry to plan calmly for "bunker mode": AI-accelerated mathematics might break elliptic-curve signatures before quantum computers do. Vitalik Buterin said the safe rule for a multisig is for each signer to change their key after each operation. A key that has never signed shows only a hash of itself. Sign and Burn rehearses that rule on a test network, with a one-time key that can sign only once.
What's new, and what isn't
None of the cryptography is new. Hash-based one-time signatures, keys derived from one secret, and key rotation all have a long history. What may be new is putting them together around an ordinary Safe: a seat that keeps its place among the owners while the key behind it changes, two signatures over the same approval, and a console that signs only what it worked out itself.
The hard part is ordinary failure. A key is spent once its signature is public, even if the transaction never lands: a refused wallet, a crashed tab, a restored backup. The console keeps a ledger so that a key never signs a second message, and it sends the same approval again instead. That works here on one device. Making it work everywhere is the open problem.
Whether this is novel, and whether it gives the protection it aims for, depends on the details and on how it behaves when things go wrong. It hasn't been reviewed by a cryptographer.
Open questions
- Binding. The passkey's signature covers the approval but not the next key. Only the one-time signature binds that.
- Signer state. Lost storage, or a synced passkey on a second device, could let a key sign twice.
- Secrets. The seeds pass through the page for one request.
- Bypasses. In a real multisig, the other owners must not be able to reach the threshold without the seats.
- Cost and prior art. About 900,000 gas a press, all in. It hasn't yet been compared with XMSS, LMS or SLH-DSA, or with earlier hash-based wallets.
What it protects, and what it doesn't
| Threat | Holds? | Why |
|---|---|---|
| Curves broken; the attacker sees everything public | yes | They can make curve signatures, but not the next one-time signature. |
| Copying or replaying an approval | yes | The chain, the seat, the Safe and n are all in what is signed. |
| One key signs two messages, both public, and curves are broken | no | The guardrail is the only defence. |
| A bug in the one-time code | partly | The curve signature still binds the transaction, but not the next key. Someone who could forge one-time signatures could swap the next key on an approval waiting to land, and take the seat. |
| A lost ledger (cleared site data, a restored backup), or a synced passkey used on a second device | no | The console's ledger lives in one browser. Use one device at a time. |
| Other owners who can reach the threshold without the seat | no | A seat protects a Safe only if every set of owners that meets the threshold includes enough seats. The demo Safe starts 1 of 1. The wallet page can add owners, and says when they can approve without the seat. |
| A hostile copy of this page, or a hostile browser extension | no | The page sees the seeds. Check its fingerprint, or run your own copy. |
| A stolen, unlocked device, or a taken-over account that syncs your passkeys | no | Whoever has the passkey has both halves. |
| Lost passkey | stuck | Here the seat can't approve again. In a real multisig the other owners replace it. |
Nobody has shown that elliptic curves can be broken this way. This is a rehearsal on a test network, not a response to a known attack, and it has not been audited.
Check this page
The console fingerprint, worked out in your browser over the files it runs:
…
The README's build table names the same one, and so would a board running these files
(node tools/fingerprint.mjs).
- Save a copy.
SHA256SUMSlists every file in this folder. Fetch them, thensha256sum -c SHA256SUMS. - Rebuild it.
cd site && npm ci && npm run buildwrites the same bytes intodocs/. CI checks that on every push. - Run your copy.
python3 -m http.serverin the folder, then openlocalhost:8000. A passkey made there belongs to your copy, and this site can never ask it to sign.