The Moment a Public Key Goes Public
Every attack in Part 4 starts from a public key
Q. An attacker who does not have Q has nothing to run the algorithm on.
Most Bitcoin addresses do not contain the public key. They contain a hash of
it, and the key itself appears on the chain only when the owner spends.
So the practical question about any future break is one of timing: for a given coin, how long has its public key been visible? For some coins the answer is “not yet.” For others it is “since 2009.”
What a spend reveals
Here is a legacy Pay-to-Public-Key-Hash (P2PKH) payment, from key to block:
exposure.py runs this on the real curve with a throwaway key:
1. secp256k1: what the chain shows
before the spend : address 1Ng3nT9AWYcH9iuTSn1L9BJYFN1RNZn34m
= 20-byte hash edbd30087037370d2524e9c1b7566180d84dd0be
the spend reveals: r = 0xa0eeb85f4ec8f18b87b4b60412ad39e051e1f9718d5740f2d7fa580f33fd745c
s = 0xadbd91718536dd0b136937bf8337b57a335ea3dace112b980aa055ed0399bbe3
public key 0250ab8b0b1cb1e85e3d59c33dcb3a41df54c37afbc53806e21c59cd7ae420d8d5
from (r, s) alone: 2 candidate public keys, 1 hashes to the address
recovered == real: True
The last two lines deserve attention. Even if the transaction did not include
the public key, the signature would give it away. r is the x-coordinate of
R; an x-coordinate has two possible points, as the symmetric table in
Part 1 showed; and each one yields a candidate
Q = r⁻¹(sR − zG), the rearrangement from Part 2. One of the two hashes to the address.
Ethereum relies on this. Its transactions carry no public key at all, and nodes recover it from the signature. Every Ethereum account that has ever sent a transaction has a public key on record.
A signature is therefore the event that publishes the key. Signing does not weaken the key by itself, and a nonce reused across two signatures is a separate failure that the entropy series covered. But from the first signature onward, the hash is no longer in the attacker’s way.
Exposure by output type
| Output type | Key visible from | Still visible while funds sit there |
|---|---|---|
| Pay-to-Public-Key (P2PK), 2009–2010 coinbases | The moment it was created | Yes |
| Taproot (P2TR) | The moment it was created | Yes |
| P2PKH or P2WPKH, address reused after a spend | The first spend | Yes |
| P2PKH or P2WPKH, never spent from | The spending transaction | Only in the mempool |
The first row is the oldest. Early Bitcoin paid miners directly to a raw public key, with no hash. Taproot outputs also contain a key in the clear, by design. The third row is a habit: the address was safe until its owner spent from it once and then kept receiving to it.
Only the last row has a hash protecting it, and only until the spend. Its exposure lasts from broadcast to confirmation.
The attack, end to end, on 40 bits
To make “exposed” concrete, the script repeats the flow on a toy curve with a 40-bit prime and then plays the attacker: recover the candidate keys from one signature, solve the discrete log with Part 4’s solver, and sign a different message.
2. the same flow on a 40-bit toy curve (p = 944038555303, n = 944040497977)
observer recovers 2 candidate keys from one signature
discrete log solved: d = 243718785411 after 2,011,660 additions (2.7 s including wrong candidates)
matches the owner's key: True
forged signature verifies under the owner's public key: True
One signature in, a forged payment out, 2.7 seconds. Nothing about the signature was faulty. The owner used a fresh nonce and a random key. The curve was simply too small, which is what a break of the real curve would amount to.
Drake’s advice, restated
With that table, the recommendation in Drake’s post reads as a list of row changes:
Holders, starting with large and sophisticated ones, should consider moving the bulk of their funds to addresses that have never signed a transaction. And when they do sign one, they should also move remaining funds to a new address.
“Never signed” is the last row. “Move remaining funds” prevents a row-four address from becoming row three. Most Bitcoin wallets already send change to a fresh address, so for ordinary single-key wallets this is existing practice; the exposure comes from deliberate address reuse, from Taproot, and from the old P2PK coins.
The definition of a break matters here. Drake’s worst case is recovery in about a week. A week is a thousand times longer than a block interval, so under that definition a transaction in the mempool is not at risk. The hash does its job and the spend confirms long before the key falls. If a break ever took minutes, every spend would become a race, and the only protection would be to hand transactions to a miner privately.
Satoshi’s shield
Then there is this sentence:
Wallets holding under 50 BTC enjoy partial cover from “Satoshi’s shield”, i.e. his 20K exposed addresses that hold 50 BTC each.
Fifty BTC was the block reward in Bitcoin’s first years, and those rewards were paid to raw public keys. Roughly 20,000 of them attributed to Satoshi have never moved. The argument is economic: if breaking one key costs a week of a large cluster, an attacker has 20,000 known targets worth 50 BTC each to work through before a smaller exposed wallet is worth the electricity.
The arithmetic is short:
3. Satoshi's shield: 20,000 exposed keys at one cluster-week each
clusters time to clear the queue
1 383.3 years
10 38.3 years
100 3.8 years
1,000 20 weeks
20,000 1 week
With one cluster, the queue lasts centuries. I can see three reasons not to lean on it.
The queue is sorted by value, and Satoshi is not at the front. An exposed key holding 5,000 BTC is worth a hundred of Satoshi’s. Exchange cold wallets with reused addresses come first, which is why Drake’s post names institutions: “Binance, Bitbank, Robinhood, Bitfinex, and Tether have an opportunity to harden their cold storage.”
The loudest target may be the last one chosen. If coins untouched since 2009 moved, the world would notice within the hour, and the price an attacker hopes to sell at would go with it. Someone who wants to profit quietly has a reason to prefer mid-sized reused addresses nobody is watching. That turns the shield around: it covers the smallest wallets and the most famous ones, and leaves the middle.
The queue assumes each key costs the same. For the generic algorithm of
Part 4 that is false. Collision searches share work across targets: solving
L keys costs about √L times one key, not L times. Twenty thousand keys
cost roughly 141 times the first. Whether a hypothetical new attack would
behave this way is unknown, but the only algorithm anyone can measure today does.
So “under 50 BTC” is a reasonable description of who is at the back of the line on day one. It says little about day thirty.
What is left
Three questions came with this series. The object is a group of points with an addition rule. The hard problem costs about 2¹²⁸ operations by the best public method, and a one-week break needs that exponent cut to about 69. And exposure is a property of each coin’s history that its owner can mostly control today, with ordinary wallet software.
The exit from elliptic curves is a different signature scheme, and that is a protocol change measured in years. Drake’s own preference is “to go all-in on hash-based cryptography and avoid structured mathematical assumptions entirely.” That deserves its own post.
Until then the cheapest defense is the one that already existed: do not reuse an address. It needs one amendment from the table above. The address has to be one that hides its key behind a hash, and a Taproot address does not, so a fresh P2TR address is exposed from its first deposit.
Not reusing addresses was privacy advice for seventeen years. It may turn out to have been security advice all along.