Changing the Locks: Crypto's Troubled Migration to a Post-Quantum World
Quantum computers threaten the mathematics behind the cryptography that secures everything from online shopping and bank transfers to bitcoin. Nobody knows when Q-Day, the day a quantum computer can break today’s locks, will arrive. AI has added another uncertainty: whether the cryptographic locks we’ve trusted for decades have weaknesses we don’t know about. The race is already on to replace them, and to build systems agile enough to do it again.
New to Nervos? Start here.
Explore the guide
Satoshi’s Treasure
Somewhere on the Bitcoin blockchain, over a million bitcoins, almost certainly belonging to the network’s pseudonymous creator, Satoshi Nakamoto, lie untouched. Mined in Bitcoin’s first year, they haven’t moved since 2010, and they’re worth more than $60 billion at today’s prices.
Satoshi went dark in 2011. Nobody knows who they are, or whether they’re still alive, and nobody can touch the coins without the keys.
To spend a bitcoin, you first have to prove you hold the private key that controls it: a secret number only the owner should know. From that secret comes a public key, which anyone can see, and which the network uses to check that whoever is spending that bitcoin really holds the secret. Generating the public key from the private one is easy. Going the other way, back to the private key that unlocks the coins, is believed to be practically impossible. That one-way street is the lock: anyone can inspect the public key, but only the private key opens it. Much of the internet, from online banking to private messages, sits behind locks of the same kind.
There’s good reason to think the lock holds. In Bitcoin’s earliest days, mining rewards like Satoshi’s were locked directly to a public key, and those keys have sat on the ledger, in plain view, for more than fifteen years. Anyone who could work back from one of them to the secret behind it could claim the coins. It’s the biggest honeypot in history, and still nothing has moved. As far as anyone can tell, the locks have held.
Nobody has proved they can’t be broken, though. A large enough quantum computer could, in theory, do it, and some researchers now wonder whether AI might find a shortcut through the mathematics that decades of human effort have missed. The incentive is certainly there: whoever first runs the mathematics backwards will control the coins. And not only Satoshi’s: Project Eleven, a company building quantum-safe tools for bitcoin, counts about 7.2 million bitcoins whose public keys are on display. That’s more than a third of all bitcoin, worth more than $400 billion.
A Shift in Tempo
Alex Pruden, the chief executive of Project Eleven, draws the line between the two threats this way. A quantum computer is a known unknown: we know exactly how a large enough machine would break today’s signatures, using a method the mathematician Peter Shor described in 1994, just not when one will exist. Nobody has yet built what researchers call a cryptographically relevant quantum computer, though most experts expect someone will. AI, in his view, is much more of a wild card: an unknown unknown. It’s unclear what an AI shortcut would look like, or whether one exists. No such shortcut has been found in today’s blockchain cryptography.
Anyone who has followed the online debate will recognize a kind of vertigo. We have no good yardstick for progress that seems to compound: it looks slow for a long time, then arrives all at once. For years, the threat posed by a sufficiently capable quantum machine stayed perpetually a comfortable decade away, measured out in qubits and roadmaps. Then, on October 6, 2026, OpenAI released hundreds of mathematical results from an internal model, including claimed solutions to problems, some of which had resisted mathematicians for decades. Scott Aaronson, a quantum computing researcher at the University of Texas at Austin, called it “surely one of the biggest days in mathematical history.” Hugo Duminil-Copin, a Fields medalist, said he cried so much that he woke his daughter; the problems he had been working on had been “bulldozered.”
It wasn’t long before people in adjacent fields began asking what it meant for them. Cryptography had more reason than most: cryptographic algorithms rest on mathematical problems that have resisted human effort for decades. If machines could crack one set of decades-old problems, could they crack these too? And Aaronson flagged something else. Cryptography, he wrote, was “extremely conspicuous by its absence” from OpenAI’s list, and AI companies were “investigating whether their latest internal models can break important cryptographic protocols and primitives.” Some began to wonder whether the silence meant there was nothing to report, or that OpenAI or another frontier lab had discovered something nobody wanted to publish.
The next day, Justin Drake, a researcher at the Ethereum Foundation, sounded the alarm in a post on X that has since been viewed more than six million times. In the worst case, he warned, the cryptography protecting blockchains might have “months not years,” and the industry should calmly begin planning for “bunker mode”: moving funds to fresh addresses whose public keys have never been revealed.
Today I call upon the blockchain industry to calmly begin planning for "bunker mode".
— Justin Drake (@drakefjustin) Read the full post on X
Yehuda Lindell, Coinbase’s head of cryptography, called that a “really bad take” with “no evidence whatsoever.”
To my understanding, there is no evidence whatsoever pointing to a break of decades old hardness assumptions like elliptic curve cryptography.
— Yehuda Lindell (@LindellYehuda) Read the full post on X
Seven weeks later, OpenAI’s silence on cryptography looked more pointed. In November, AI systems produced a machine-checked proof of the Riemann Hypothesis, one of mathematics’ most famous unsolved problems, and Aaronson wrote that he was “virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells” for cryptography, though “much, much less confident about the specific nature” of them.
The debate between the optimists and the pessimists (and it isn’t always clear who’s who) has been running since that October exchange. It’s a peculiar, high-stakes stalemate: nobody has shown an attack on the cryptography protecting any blockchain, and nobody can prove there won’t be one. The quarrel also reaches beyond mathematics, to how a network with nobody in charge decides anything at all. What should count as evidence that the cryptography is weakening? Who gets to make that call, and who pays if it’s made too early or too late? None of those questions has a mathematical answer. But the argument often blurs two decisions: deciding that it’s time to change, and making sure change is possible when that time comes. The first can wait for better evidence. The second can’t.
The Clock That Really Counts
When the threat will arrive is anyone’s guess. How to prepare is not. There is one clock we can all read, and even do something about: how long it takes to move to post-quantum cryptography. For cryptographers and security engineers, being ready for moves like this one has been a design philosophy for more than a decade. They call it crypto-agility.
Crypto-agility, explains Dan Boneh, a professor of computer science at Stanford University, means deploying “systems that can quickly switch from one type of design to another if the design being used turns out to be insecure.”
what is cryptographic agility and why does it matter?
— a16z Frontier (@a16zfrontier) Watch the video on X
Blockchains have been slower than the rest of the security world to embrace crypto-agility, partly because most weren’t built for it: their signature schemes are part of the network’s core rules, and changing those requires social consensus.
Michele Mosca, a quantum researcher at the University of Waterloo, framed the stakes years ago: if the time you need to migrate, plus the time your secrets must stay safe, is longer than the time until the threat arrives, you’re already late. On Bitcoin, that migration is likely to be measured in years. Taproot, the network’s last major upgrade, took nearly four years from first proposal to going live in 2021, and it had broad support. Even once the network agreed on quantum-resistant signatures, millions of holders would still have to move their coins, one transaction at a time, on a network with room for only a few thousand transactions every ten minutes. Bitcoin’s caution about changing its rules is a feature: it’s part of why people trust it with their money. Faced with a threat that demands change against the clock, it starts to look like a bug.
And the time until the threat arrives is harder to pin down than it looks. In 2019, the best published estimate for breaking RSA-2048, a widely used encryption standard, called for 20 million noisy qubits; one paper this February puts it at 100,000. Nobody has built a machine anywhere near that size. But a deadline that keeps moving closer on paper is a poor thing to plan around. What’s left is a lopsided bet. Move too early, and you take on the risks of a migration you may not have needed: upgrades are complex, and new code can bring new bugs. Bitcoin’s “ossifiers,” who want its rules left alone, make exactly that case, and it’s a fair one. Move too late, and there may be nothing left to move.
Meanwhile, the clock can start costing money long before any quantum computer exists. Bitcoin’s value rests on belief, and markets price doubt well before it’s confirmed. Lyn Alden, a macro strategist who thinks the technical threat can be dealt with, explained in February how that works: an institution can stay bullish on bitcoin yet add a failed or messy migration to its list of downside scenarios, so a planned 5% position becomes 3%, or never gets past the investment committee at all. “I do think that it actually has impacted price this cycle,” she said. A month earlier, Christopher Wood, global head of equity strategy at Jefferies, had dropped bitcoin from his model portfolio altogether, swapping it for gold, citing advances in quantum computing.
A lower price also means a lower security budget, and a lower security budget could make the asset even less attractive to hold, which could lead to an even lower price, and so forth in a downward spiral. But that’s a difficult conversation to have.
Governments are already planning their own switch. NIST, the U.S. standards body, intends to start retiring today’s public-key algorithms after 2030 and disallow them after 2035. Governments, banks and browsers can manage a switch like that because someone in charge can issue new keys and set a date. “Banks can recover,” wrote Haseeb Qureshi, a managing partner at the crypto venture fund Dragonfly, in October. “We, blockchains, cannot recover from a failure in public key cryptography.”
Hiding your coins in a bunker won't save your blockchain.
— Haseeb Qureshi (@hosseeb) Read the full post on X
Speed alone isn’t safety, though. “I personally have lost more money in botched migrations than I have lost in all hacks combined,” Vitalik Buterin, Ethereum’s co-founder, warned in October.
I don't recommend anyone scramble to move their funds to new wallets today.
— Vitalik Buterin (@VitalikButerin) Read the full post on X
No Lock Lasts Forever
Nor is a migration a one-time fix. None of the one-way problems behind digital signatures has ever been proven hard. They’re trusted because clever people have attacked them for decades and failed.
The leading replacements rest on unproven assumptions too. Lattice-based schemes, now U.S. government standards, swap today’s mathematics for a different hard problem. Hash-based signatures rely only on hash functions, which makes them the conservative choice, though their signatures are larger and harder to manage. Even that is disputed. Drake argues that attackers exploit mathematical structure, and hash functions have the least of it. Lindell points out that hash functions have historically been broken more often than curves. Both are reading the record of past attacks, and that record may be a poor guide to an attacker unlike any before. Which family will survive the next decade is an open question.
Some of the newest candidates have already been caught out. In 2022, an IBM researcher broke Rainbow, a finalist in the U.S. competition to pick quantum-resistant signatures, and titled his paper “Breaking Rainbow Takes a Weekend on a Laptop.” In July 2026, an AI system found a weakness in HAWK, another candidate, and its designers withdrew it. Neither touched the long-established cryptography guarding Satoshi’s coins. But any replacement will be younger and less tested than today’s locks, and moving once doesn’t protect you from having to move again.
Who Gets to Change the Locks?
Satoshi did think about Bitcoin’s cryptography failing. In June 2010, a forum user called lachesis asked what Bitcoin would do if SHA-256, the hash function at its core, were cracked. “SHA-256 is very strong,” Satoshi replied. “It can last several decades unless there’s some massive breakthrough attack.” If it did break, the community could “come to some agreement” and “continue from there with a new hash function.”
Satoshi was right about the hash: SHA-256 is still standing strong a quarter of a century after it was published. What changed was how many people would have to agree. Coming to “some agreement” was workable when the whole community fitted inside a forum thread.
Today the hardest question is one no software can settle: what do you do about coins whose owners never move them? Satoshi’s aren’t the only ones. Chainalysis, a blockchain analytics firm, estimated in 2017 that between 2.8 million and 3.8 million bitcoins, Satoshi’s among them, were lost for good, their keys forgotten, discarded or taken to the grave (or, in one well-known Welsh case, to the local landfill). Those coins can’t be moved to safety, whatever happens. Some developers propose phasing out old signatures after a deadline, which would freeze any coins left behind, Satoshi’s included.
For many bitcoiners it’s a question of principle. Bitcoin was built so that nobody, whether a government, a bank or its own developers, could seize or freeze anyone’s coins. Resistance to confiscation is the entire point of the project. Here that promise points both ways. Freezing the coins would break it, starting with Satoshi’s. Leaving them would let a thief do the seizing instead, and more than $60 billion of selling pressure is no joke. There’s no CEO to sign off, no court to decide, and no authority whose ruling would be accepted.
And the crowd that would have to agree is vast. Bitcoin now sits in exchange-traded funds run by BlackRock and Fidelity, and through them in the retirement savings of people who have never opened a crypto wallet. Developers, miners, people running full nodes (the computers that independently check every transaction), exchanges, custodians and fund managers would all have a say. The last time Bitcoin’s community fought over the network’s rules, over how to scale it, the argument ran for years and ended in 2017 with a split, and that was years before the ETFs. Proposals to add quantum-resistant signatures are now under discussion, and each one needs that crowd to agree.
In October, Coinbase urged developers to start the technical work now and to settle the fate of dormant coins as a separate question. Untangling the two lets the engineering begin before the argument ends.
Ethereum, the second-largest blockchain, shows that a different culture can move faster. It treats change as routine: in 2022 it replaced its entire method of agreeing on blocks on a live network without stopping, and in January 2026 the Ethereum Foundation declared post-quantum security a “top strategic priority.” A proposal called Frame Transaction would let each account set its own rules for proving who owns it. It’s scheduled for the upgrade after next, and retiring old keys for good will take further changes. But once accounts can choose, switching to a new signature scheme wouldn’t need the whole network to agree.
Built for Crypto-Agility
The security world had already worked this out. Ten months before Satoshi’s forum post, a Microsoft security specialist named Bryan Sullivan, writing in MSDN Magazine after attacks exposed weaknesses in the MD5 hash function, warned that “there’s no guarantee that the code you write today will remain secure.” His advice: “plan for this scenario from the beginning.” Build systems so that their cryptography can be swapped without rebuilding everything else.
Satoshi’s answer to a broken algorithm was a flag day, when everyone upgrades at once. Sullivan’s was to design systems so that nobody has to wait for everyone. Most blockchains were built the first way.
Sullivan’s approach doesn’t require knowing when a lock will break, or which one. It assumes only that one eventually will. Whether Drake or Lindell turns out to be right, a system built for replacement is better placed than one that isn’t.
For blockchains, Alex Pruden put the principle in a sentence in October: “transaction authorization logic specifically has to be separated from consensus.” In other words, the rules for proving you own a coin shouldn’t be written into the rules every computer on the network enforces. Ethereum is heading that way: its Frame Transaction proposal names “a native off-ramp” to post-quantum security among its aims.
At least one blockchain doesn’t need an off-ramp: crypto-agility was a design choice from the outset. When the Common Knowledge Base (CKB) was being designed in 2018, its architects noted that “a hard fork is required to implement new cryptographic primitives in all blockchain protocols we have examined,” and set out to build, from first principles, a chain that wouldn’t need one. CKB launched in November 2019, nearly seven years before Pruden put the principle into words.
On CKB, the signature scheme was never written into the network’s rules. Each coin is guarded by a small program its owner chooses, called a lock script. Lock scripts run on a virtual machine based on RISC-V, an open design used for real computer chips. So a new signature scheme is new software: deploying it needs no change to the rules, and moving coins under it is an ordinary transaction. That takes the sting out of having to move again.
This is already happening. An implementation of SPHINCS+, a hash-based post-quantum signature scheme, is live on CKB’s main network, and other post-quantum schemes are running on its test network.
Agility has its costs, which is partly why not every blockchain works this way. A single signature rule, fixed in the protocol, is easier to check and harder to get wrong; every extra scheme is more code to audit. Crypto was already hard for ordinary people to use, and a chain where every holder chooses their own lock hands them one more decision, unless their wallet makes it for them. Agility moves the burden from governance to engineering, and some of it onto users.
Nor does agility do the moving for anyone. A new scheme protects only the coins moved under it, wallets and exchanges have to support it, and post-quantum signatures take up more room on the chain. But adding agility later requires the very network-wide agreement it’s meant to avoid. It was built into CKB before launch, so the network never had to change its engine in mid-flight.
What it changes is the order of events. On most chains, nothing can begin until the network agrees, and a chain that writes one scheme into its rules has to pick a winner. CKB doesn’t have to. A new scheme can be deployed as software whenever it’s ready, and anyone who wants to move can move today. The argument over coins like Satoshi’s can run as long as it needs to without holding everyone else hostage. On CKB, the locks are already being changed.
Back to the Issue at Hand
So what does all this mean for blockchains? So far, nothing protecting them has been broken. But nothing guarantees it won’t be. Still, the scare has done something useful. “When we first started Project Eleven, it was taboo to be talking about quantum’s impact on crypto,” says CTO Conor Deegan. October’s alarm, he says, finally “ripped the band-aid off.” Ethereum Foundation researchers are now pushing for a full switch to “post-quantum and post-AI cryptography” by December 2028. Bitcoin’s developers have proposals on the table, and Coinbase is pressing them to start the engineering now, rather than get stuck on what to do about dormant coins.
Nobody can agree on when Q-Day will come. Researchers will keep arguing about what AI can discover and which replacements to trust. But waiting for certainty has costs of its own, which may show up in investment committees before they show up on the blockchain. New schemes can fail, as Rainbow and HAWK did, and migrations can go wrong. Those are reasons to make replacement routine while there’s still time to find the mistakes. The worst moment to discover how hard it is to change a lock is after someone has broken it.
That’s the case for crypto-agility. For Bitcoin, building it in is part of the task ahead. CKB was built for exactly this, from first principles: its cryptography can be replaced without anyone’s permission, so a new signature scheme doesn’t have to wait for the whole network to agree on the danger, or on the fix. Crypto-agility won’t resolve Bitcoin’s dilemma over coins whose owners never come back. What it offers is narrower and more practical: a way for people to protect what they control now, instead of waiting on decisions that are out of their hands.
Satoshi’s coins are still there, guarded by the same mathematics as in 2010. Their long silence is evidence that the lock has held. It can’t tell us how much longer it will. The work of preparing a replacement has to happen while that question is still unanswered.
More from CKB
Quantum Resistance in Blockchains: Preparing for a Post-Quantum Computing World
An in-depth exploration of quantum resistance in blockchains, addressing the potential threats posed by quantum computing advancements and the measures being taken to secure blockchain networks for the future.

Shor’s Algorithm Explained: Can It Break Bitcoin?
Learn how Shor’s algorithm threatens Bitcoin signatures, whether it can break them today, and what still blocks real-world attacks.

Blockchain Crypto Agility: CKB’s Key to Quantum Safety
Quantum computing is turning cryptographic rigidity into an existential risk, but Nervos CKB stands as the only blockchain architected for true cryptographic agility.
