Wallet custody, cryptographic trust boundaries, vulnerabilities, audits and practical defensive habits

Why a P = NP proof would not, by itself, break Bitcoin keys

Could an AI lab recover a Bitcoin private key from its public key? As of November 30, 2026, no public paper, lab announcement or verifiable demonstration supported the circulating claim that a lab had broken Bitcoin’s signature cryptography. And even a proof that P = NP would not, on its own, demonstrate that anyone could recover a key at a practical cost.

The speculation spread after theoretical computer scientist Scott Aaronson wrote on November 25 that multiple sources he considered reliable had told him AI labs held one or more cryptographic “bombshells.” He did not publish a result showing that Bitcoin keys could be recovered. Elon Musk’s subsequent comment that he had heard about the matter from several people was also a report of what he had heard, not independent verification.

Checking a key is not the same as finding one

Given a candidate private key, it takes one elliptic-curve calculation to check whether it matches a public key. Going the other way is the hard part. Bitcoin’s ECDSA signatures and the Schnorr signatures introduced with Taproot both rely on the difficulty of that reverse calculation, known as the elliptic-curve discrete logarithm problem. For Bitcoin’s secp256k1 curve, Fred Krueger put the cost of the best known classical attack, Pollard’s rho, at roughly 2¹²⁸ operations.

P versus NP asks whether every decision problem whose yes answer can be checked in polynomial time can also be solved in polynomial time. Bitcoin mining illustrates the distinction between checking and finding: a node can check a miner’s proof of work by hashing the block header once and comparing the result with the target. Finding a header that passes that test takes repeated attempts.

If P = NP, the two classes would be identical. A sufficiently practical algorithm could threaten both key security and hash searches. But “polynomial” describes how the work grows with input size, not how long a calculation takes for a Bitcoin key. An algorithm requiring n¹⁰⁰⁰ steps would qualify as polynomial without offering a usable shortcut.

The opposite result would not certify a wallet’s safety, either. The elliptic-curve discrete logarithm problem is not known or generally believed to be NP-complete. Proving P ≠ NP would therefore not establish that Bitcoin’s particular signature problem is hard. Nor would a shortcut specific to that problem settle P versus NP.

The more concrete question for holders

Krueger distinguished the AI rumor from a known quantum algorithm. Shor’s algorithm could solve the elliptic-curve discrete logarithm problem on a sufficiently capable quantum computer. No such hardware was available at the time of the report. The distinction matters: in the quantum case, researchers know the algorithm; what remains uncertain is when hardware could run it at the scale a Bitcoin key requires.

The US National Institute of Standards and Technology has standardized post-quantum signature schemes including ML-DSA and SLH-DSA. That does not make them part of Bitcoin. Bitcoin could introduce a new signature scheme through a soft fork, as it did with Schnorr signatures in the 2021 Taproot upgrade. Adoption would still require coordination, and an upgrade alone would not move existing funds to new addresses.

Krueger’s practical advice was to avoid reusing addresses. Once a public key has been revealed on-chain, receiving more bitcoin at the same address leaves those funds tied to an already visible public key. A visible public key is not a compromised private key; the concern is what a future attacker with sufficiently capable hardware could do with it.

Further reading