l0grisk intelligence · english

// analysis

Bitcoin and the quantum threat: the cost of changing the keys

Illustration for the analysis: Bitcoin and the quantum threat: the cost of changing the keys

A close look at Bitcoin’s quantum migration: larger signatures, scarce block space, custody systems and the unresolved ownership of dormant coins.

dated revision: October 08, 2026French originalprimary sourcesno tracker

The private key can sit in a drawer for years. Another piece of information may already be travelling freely: the public key that Bitcoin uses to check its owner’s signatures. The protection rests on an asymmetry. Starting with the secret, generating the public key is easy. Working backwards from the public key to that secret is beyond the reach of the classical methods used to attack these signatures today. A sufficiently capable quantum computer would change that relationship. It could produce a signature authorizing a spend that the network would accept. [2] [3]

On October 7, 2026, Europol called for preparation for cryptocurrencies’ post-quantum transition as it announced two reports. Its release identifies the keys used to authorize transactions as the primary point of exposure, distinguishing them from comparatively more resistant hash functions. The warning concerns a future capability whose arrival remains uncertain. It raises a question that can already be investigated: how long would it take to change a protocol, the software around it and the practices of its holders? [1]

Imagine replacing the locks in an apartment building. Every resident pays for their own work. The doors use different mechanisms. Some owners can no longer be reached. Bitcoin adds a further constraint to that image: its spending rules are public and enforced by independent computers. Every replacement lock must work under those rules. Holders must then move their coins from the old conditions to the new ones.

The transition would consume engineering time and space in blocks. It would also require people to act together. Deciding what happens to coins that remain behind reaches into the meaning of ownership itself. To understand who would pay, and for what, it helps to begin with the smallest action: authorizing a spend.

An attacker’s signature can pass the owner’s test

A Bitcoin balance consists of transaction outputs that remain available to spend: unspent transaction outputs, or UTXOs. Each output records an amount and the conditions under which it can be spent. A transaction using that output supplies whatever is needed to satisfy those conditions, often a signature. Nodes check the rules. Miners assemble blocks that nodes can accept. [4] [5]

The private key produces a signature; the public key allows others to verify it. A valid signature shows that the signer could perform the calculation required by the key. Its security depends on the difficulty of performing that calculation without the secret. Once an attacker recovers the secret, they gain the same cryptographic ability to sign as the holder.

Bitcoin’s ECDSA signatures and Taproot’s Schnorr signatures both use the secp256k1 elliptic curve. Their constructions differ, but both rely on the classical difficulty of solving the discrete logarithm problem on that curve. Shor’s algorithm would let a suitable quantum computer solve the problem much more efficiently. A spend signed with a key recovered this way would pass the usual cryptographic check. [2] [3] [6]

The target is permission to transfer funds. Old blocks can remain internally consistent while a new transaction sends someone else’s coins to the attacker. Hash functions, used for commitments and proof of work among other purposes, raise separate quantum questions. Europol and Chaincode examine those separately. This investigation follows the threat to signatures: the ability to spend in someone else’s place. [1] [2]

The signature becomes the attacker’s weaponAn exposed public key may let a sufficiently powerful quantum computer recover its private key. The attacker can then create a signature accepted under classical rules. This diagram specifies neither a feasibility date nor an attack speed.l0g / THEFT MECHANISMThe signature becomes the attacker’s weaponConditional scenario: a quantum computer able to break the key’s cryptography.Public keyVisible in the outputor during a spendQuantum attackFinds the private keyif hardware is capableForged signatureAuthorises a spendwith the recovered keyNetwork nodesCheck the signaturefor validityA valid signature passes verification. A stolen key can impersonate its owner.
The signature becomes the attacker’s weaponAn exposed public key may let a sufficiently powerful quantum computer recover its private key. The attacker can then create a signature accepted under classical rules. This diagram specifies neither a feasibility date nor an attack speed.l0g / THEFT MECHANISMThe signature becomesthe attacker’s weaponConditional scenario: a quantum computerable to break the key’s cryptography.Public keyVisible in the outputor during a spendQuantum attackFinds the private keyif hardware is capableForged signatureAuthorises a spendwith the recovered keyNetwork nodesCheck the signaturefor validityA valid signature passes verification.A stolen key can impersonate its owner.
FIG. 01 Recovering the secret from an exposed public key would let an attacker produce a signature that passes the same check as the holder's.[2][3][6]
Sources and scope

A diagram of signature substitution, based on the Schnorr and Taproot specifications and Chaincode’s threat analysis. The quantum branch assumes a machine capable of solving the discrete logarithm problem; it depicts a hypothetical capability. [2] [3] [6]

An offline vault can have a public key on display

Keeping a secret on a disconnected device protects it from several kinds of computer attack. The public key’s exposure is a different question. Some information is already on the blockchain; some may have been shared with other services. The answer begins with the spending condition attached to each output and the history of its use.

Early P2PK outputs publish a public key directly. Taproot outputs, known as P2TR, also contain a public key that can authorize a direct spend. These keys are visible as soon as the outputs are created. A future attacker could work on them for as long as the funds remained unspent. For Taproot, recovering the secret behind the output key would unlock the key spending path even if the holder had arranged alternative spending conditions through scripts. [2] [6]

P2PKH and P2WPKH work differently. Their outputs contain a hash of the public key, with the key itself normally revealed at the time of spending. Provided the key remains unknown elsewhere, the attacker must wait for that disclosure. Their window becomes shorter: recover the secret, construct a competing spend and get it included quickly enough. A recent chain reorganization can also affect that window. [2] [5]

Address reuse changes the assessment. A key disclosed in an earlier spend may still control other outputs. Those funds are then exposed for much longer. A public key shared with a monitoring service may also be known outside the chain. Extended public keys, usually called xpubs, add another layer: they allow child public keys to be derived under the relevant derivation rules. Exposure therefore depends on how the wallet is organized as well as what appears in the ledger. [2] [7]

“Dormant” tells us only that no spend has been observed. An heir may hold the key. A custodian may be waiting. The holder may be offline. Or the secret may have disappeared. The blockchain records the lock and the movements through it; it reveals much less about the people who can still open it. That limit matters when a migration deadline enters the discussion.

The speed of an attack changes which funds are exposed

A machine that took several weeks to recover a key would already pose a problem for public keys exposed long ago. A much faster machine could target transactions as their publication revealed the key. The time needed to complete the computation matters alongside the existence of the machine.

Two preprints published in 2026 illustrate the distinction. A paper by Häner and coauthors, submitted in September, models an attack on secp256k1 using a trapped-ion architecture. Its central scenario combines 19,397 physical qubits, a running time of approximately 25.7 days and an estimated success probability of 63%. The researchers describe an architecture and a resource calculation. These figures are estimates for that construction. [8]

A separate team, including researchers at Google Quantum AI, provides resource estimates under superconducting assumptions. Its April revision describes scenarios taking minutes with fewer than 500,000 physical qubits, under its assumptions about error rates and connectivity. This, too, is modelling. Physical qubits are the hardware components. Logical qubits are the units of computation protected through error correction. The relationship between the two depends on the architecture. [9]

Putting the two raw qubit counts into a league table would mix different machines, operating speeds and error models. The useful question for a holder is whether a complete system could recover a particular key with a sufficient chance of success within the window available to the attacker. Theoretical advances can reduce estimated resource requirements before engineers can build the whole system.

These papers strengthen the case for preparation while leaving the arrival date open. Any protection plan must accommodate that uncertainty and allow time for testing, audits, software updates and transfers. Waiting has a cost before an attack succeeds: it leaves less room to coordinate those operations.

Standards are available; Bitcoin’s design remains open

Post-quantum cryptography runs on classical computers. Its constructions are designed to withstand known quantum attacks. In August 2024, the US National Institute of Standards and Technology published ML-DSA and SLH-DSA standards for digital signatures. ML-KEM, published in the same group, is used to establish shared secrets. Each primitive serves a distinct purpose. [10] [11] [12]

A Bitcoin signature has to fit into public rules and a wide variety of software. Developers need to examine its size, verification cost, security assumptions and implementation requirements. Wallet manufacturers need to produce it on their devices. Custodians need to preserve their approval procedures. Users need a comprehensible way to recover funds from backups.

A standardized primitive gives that work a substantial starting point. Bitcoin’s decision still includes the output format, the operations available in scripts, the weight assigned to data and the treatment of older signatures. Pieter Wuille’s discussion, opened in July 2026, lays out several constructions and transition mechanisms. The tradeoffs are being debated explicitly as part of continuing design work. [13]

Those requirements are demanding in a network whose rules must work across independent participants. A cryptographic library that performs well on its author’s computer may be costly on a signing device with little memory. An implementation optimized for speed may complicate an audit or wallet recovery. Choosing the algorithm also means choosing how these costs would be distributed.

A larger proof consumes a shared resource

BIP 340 specifies a Schnorr signature of 64 bytes. In FIPS 204, an ML-DSA-44 signature occupies 2,420 bytes and its public key occupies 1,312 bytes. The signature alone is therefore 37.8125 times as large, an increase of 2,356 bytes. This is a size comparison between primitives with their own parameters, constructions and security categories. Bitcoin’s future post-quantum signature scheme remains an open choice. [3] [10]

One signature can take 37.8× the spaceZero-based comparison: a BIP 340 Schnorr signature is 64 bytes; a ML-DSA-44 signature is 2,420 bytes. The calculated ratio is 37.8125 and the difference is 2,356 bytes. Public keys and transactions are excluded. This comparison does not describe an adopted Bitcoin protocol.l0g / THE WEIGHT OF BYTESOne signature can take 37.8× the spacePrimitive sizes: BIP 340 Schnorr and NIST ML-DSA-44, on the same scale.Schnorr · BIP 34064 bytesML-DSA-44 · NIST2,420 bytes06001,2001,8002,420× 37.8125 · +2,356 bytesPer signature. Public key, transaction and other data add further space.ML-DSA-44 is a size reference here.
One signature can take 37.8× the spaceZero-based comparison: a BIP 340 Schnorr signature is 64 bytes; a ML-DSA-44 signature is 2,420 bytes. The calculated ratio is 37.8125 and the difference is 2,356 bytes. Public keys and transactions are excluded. This comparison does not describe an adopted Bitcoin protocol.l0g / THE WEIGHT OF BYTESOne signature cantake 37.8× the spacePrimitive sizes: BIP 340 Schnorrand NIST ML-DSA-44, on the same scale.Schnorr · BIP 34064 bytesML-DSA-44 · NIST2,420 bytes01,2002,420× 37.8125 · +2,356 bytesPer signature. Public key, transactionand other data add further space.ML-DSA-44 is a size reference here.
FIG. 02 64 and 2,420 bytes: two signatures drawn to scale. The size ratio describes the primitives under their respective parameters.[3][10]
Data and calculation

BIP 340: a 64-byte Schnorr signature. FIPS 204, table 2: a 2,420-byte ML-DSA-44 signature. Ratio: 2,420 ÷ 64 = 37.8125. Difference: 2,420 − 64 = 2,356 bytes. Public keys, scripts and transaction structure are excluded. These sizes describe signatures; total transaction fees require a separate calculation. ML-DSA-44 has not been selected for deployment in Bitcoin. [3] [10]

Space in blocks has a price because transactions share it. SegWit expresses that resource in weight units, with a maximum of 4,000,000 per block. A byte of witness data counts as one unit; a byte in the base part of the transaction counts as four. Virtual size is the weight divided by four, rounded up to the next integer. Rules also determine how those data can be used. Integrating a future signature would require protocol changes beyond replacing its bytes. [5]

Holding those weights and the other transaction data constant, adding signature data would reduce the number of spends that fit in a block. The result would still depend on the construction chosen, the keys transmitted, the scripts and the number of inputs. Signature aggregation can change the calculation where both the scheme and the protocol rules support it. The ratio of 37.8125 answers a precise question about size. Multiplying an entire transaction’s fee by that number would give it a meaning the comparison cannot support.

The price paid would also depend on competing demand. Transfers spread over time could use quieter periods. A rush towards a deadline would bring migrations into competition with ordinary payments. That mechanism identifies a congestion risk. Estimating its scale would require usage data and migration rules that remain unavailable.

P2MR: the price of keeping the key hidden at rest

One proposal already offers a concrete example of a cost. BIP 360, still a draft, describes Pay to Merkle Root, or P2MR. An output would contain a 32-byte Merkle root committing to the scripts under which it could be spent. Taproot’s directly spendable public key would disappear from this output format. Spending through a script would reveal the information needed to use that path. [14]

The authors aim to protect against long exposure of public keys. BIP 360 leaves post-quantum signatures to separate work. If the script uses a classical signature, revealing its public key at spending time would still create a short attack window. Reusing keys or sharing public keys would also need attention. The proposal addresses a specific stage of protection. [14]

Its size example compares a 66-byte witness for a Taproot key path spend with a 135-byte witness for P2MR using a simple script at depth 1. The latter consists of a one-byte count, 65 bytes for the signature and its prefix, 35 for the prefixed script, and 34 for the prefixed control block. Both examples still use a 64-byte Schnorr signature. [14]

The extra 69 witness bytes represent 69 weight units, or 17.25 virtual bytes before rounding the complete transaction. The calculation makes the tradeoff tangible: keeping the key hidden at rest requires more information to be presented when spending. The total fee depends on the transaction’s other data and the price of space at that moment. The draft makes the tradeoff available for study; activation remains a separate decision. [5] [14]

Count the outputs before counting the blocks

Changing the protection on existing coins requires holders to spend their old outputs into new spending conditions. They can retain economic ownership throughout. The network still records a transaction that needs space in a block and incurs a fee. A fragmented wallet brings many inputs to that operation. A large amount concentrated in a single output can require much less migration work. [4] [5]

This explains why the UTXO count matters when studying capacity. The bitcoin amount measures economic exposure; the structure of the outputs tells us more about the work required. Both measures are useful, and they can move in different directions.

An October 2024 preprint offers a revealing exercise. It starts with 186,676,874 UTXOs, a snapshot from June 2024, and assumes 17,020 inputs per block. With blocks spaced ten minutes apart and all space devoted to the operation, the estimate is about 76 days, reported as 76.16 days in the paper. The model groups inputs extensively and simplifies other transaction components. [15]

The calculation is 186,676,874 ÷ 17,020 × 10 ÷ 1,440, approximately 76.17 days from the displayed inputs. It describes cumulative use of capacity under those historical assumptions. Allocating half the network to migration produces 152.33 days in the same model. That percentage is a chosen allocation for the exercise. It measures no current availability. Chaincode also notes that a faster variant relies on signature aggregation unavailable in the current protocol. [15] [2]

An operational schedule would require an updated output set, an assessment of which inputs could be grouped and a specified spending construction. It would then have to accommodate ordinary payments and the behaviour of holders. Some would migrate early, others would wait, and some would remain unreachable. Two decimal places make a division easy to check while leaving these uncertainties unresolved.

The individual bill protects a common infrastructure

Holders would pay transfer fees and, depending on their equipment, spend time or replace a device. Their benefit would be retaining the ability to spend after the transition. Other participants would also benefit from a network with fewer exposed outputs. That combination creates a familiar coordination problem: a collective undertaking depends on individual decisions.

While the threat feels distant, the immediate payment can be deferred. The wallet update can wait with it. An operator managing many clients has to communicate, test, recover from errors and deal with absent users. Adoption therefore carries a cost even after the protocol code is ready. Wuille explicitly distinguishes these dimensions in the 2026 design discussion. [13]

A common deadline changes the calculation. It makes the cost of delay visible and may bring transfer requests closer together. A different pricing rule or a hybrid transition would alter incentives again, with consequences for the resources nodes consume. Rules influence users’ behaviour; that behaviour feeds back into network demand. This is an analysis of the mechanism, with future fee levels left open.

Useful preparation has to account for that loop. Compatible software, intelligible instructions and time to resolve complicated cases all matter. An active holder, an inherited wallet and a platform holding clients’ funds approach migration with different constraints.

Inside a custodian, a new algorithm changes the work

At a Bitcoin quantum workshop on August 28, 2026, Yehuda Lindell described the institutional constraints. Distributed signing systems, often called MPC or threshold signatures, share signing power across multiple systems. Their purpose is to prevent a single compromised machine from being able to move funds. A new primitive must work within that organization, or the organization must be redesigned. [16]

The question reaches into everyday security procedures. Operators need to check software, permissions, backups and the controls applied before a spend. Signing systems may run across several independent machines. Constructions requiring a signing state to be tracked add another challenge: restoring a backup or losing synchronization can undermine their security assumptions. Lindell presents these as engineering and design difficulties. His intervention reflects the perspective of a professional working in the sector. [16]

At the same workshop, Charles Guillemet examined hardware wallets. These devices sign inside components with limited resources while showing users what they are authorizing. Memory, computation time, firmware updates and device authentication all enter the choice. His observations and experiments concern the systems presented; they identify questions that need testing for each manufacturer. [17]

The economics of migration therefore extend beyond a transaction fee. A custodian may need to change an approval chain, a manufacturer adapt its devices and a holder learn a new recovery process. The documents reviewed provide no basis for a total cost estimate. They do identify the operations that would generate that cost and the actors who would need to supply evidence about them.

Old coins bring ownership into the governance debate

Authorizing a new format protects users who choose it. Funds left under older conditions continue to rely on the old lock. The network must decide what it will accept from those outputs when a classical signature can be imitated.

BIP 361 proposes a framework for gradually retiring vulnerable signatures. It is an informational draft and explicitly depends on a post-quantum signature proposal that is still unspecified. Its clock starts at a hypothetical activation: a first phase after 160,000 blocks, approximately three years, followed by a second phase two years later. The first would prevent new vulnerable outputs from being created. The second would make legacy spending conditional on a rescue protocol. [18]

That protocol would seek an additional secret that the owner could prove they knew, while an attacker who recovered only the exposed key would still lack it. Certain key derivations might provide that asymmetry. Research must establish the approach’s coverage and security. For old P2PK outputs, the authors say that no such knowledge asymmetry is currently known. The difficulty of this debate depends on the technical history of each output. [18] [7]

Changing the lock requires a transferAn owner can sign a spend that moves coins to a new output. Without a transfer, coins retain their old spending condition. A post-quantum transition would require shared rules, including treatment of old outputs. The terms of that future protection remain hypothetical.l0g / THE TRANSITION PROBLEMChanging the lock requires a transferMove the coins and adopt the rules that protect them.Owner takes actionOld outputSigned spendNew protection*No transfer initiatedCoins retain their old spending condition.A dormant key may be available, lost or inaccessible.Shared rulesto adoptTreatment ofold outputs*Post-quantum protection: hypothetical. Adoption and terms remain to be set.
Changing the lock requires a transferAn owner can sign a spend that moves coins to a new output. Without a transfer, coins retain their old spending condition. A post-quantum transition would require shared rules, including treatment of old outputs. The terms of that future protection remain hypothetical.l0g / THE TRANSITION PROBLEMChanging the lockrequires a transferMove the coins and adoptthe rules that protect them.Owner takes actionOldoutputSignedspendNewprotection*No transfer initiatedCoins retain theirold spending condition.A dormant key may still be available,lost or inaccessible.Shared rules to adoptTreatment of old outputs*Post-quantum protection: hypothetical.Adoption and terms remain to be set.
FIG. 03 Once new rules are available, reachable holders can move their outputs. Funds left under old conditions lead to a collective decision about access and ownership.[13][14][18]
Sources and status

A diagram of migration and collective choices, based on BIP 360, BIP 361 and the output design discussion. The proposals remain drafts. A migration timetable and a universal rescue mechanism have yet to be adopted. The branches represent choices, with no measured proportions. “Dormant” records an absence of movement and leaves the status of the key unknown. [13] [14] [18]

Continuing under the old rules would preserve owners’ ability to spend, along with the risk of theft if the cryptography became attackable. Restricting those spends could prevent hostile transfers while also blocking legitimate holders who arrived late. A rescue path would demand an additional proof available to some owners, with security that would itself need to withstand the attack. These choices allocate different losses and rights.

In a June 2026 publication, Coinbase’s quantum advisory council supports technical work while remaining neutral on the treatment of abandoned funds. Its position shows why preparing new signatures and deciding the fate of older outputs are separate tasks. Coinbase has a commercial interest in custody; the publication provides evidence of its assessment and recommendations. [19]

Market analysis needs the same discipline. Making funds inaccessible can affect the supply that is available to move. A dispute over ownership can affect confidence and liquidity. Predicting a price from one quantity assumed to be “lost” would overlook those responses. The consequences of handling dormant coins remain open, tied to security and governance as well as financial conditions.

Preparation will show up in operations that can be checked

Progress can be followed through concrete work: a stable specification, independent implementations, public audits, device tests, recovery procedures and an intelligible activation rule. Each addresses part of the undertaking. An algorithm announcement or a qubit count tells us about a different stage.

Key exposure policies also deserve close reading. An offline wallet, a service receiving an xpub and a Taproot output each raise different questions. Holders and their providers should be able to explain the formats they use, how they can update them and how they would reach clients. Those answers would document preparation well before a cryptographically relevant machine became available.

Europol supplies the immediate trigger. NIST standards, Bitcoin proposals and the 2026 workshops make the underlying work visible. Its success depends on turning a cryptographic design into an ability to spend that users actually retain. A holder who completes a migration pays for an identifiable operation. A network that sets its conditions makes a lasting decision about shared space and existing ownership.

Scope and limits

Sources were consulted on October 8, 2026. Europol’s positions are drawn from its official October 7 release. The quantum preprints model resources under hardware assumptions; this investigation draws no date for attack capability from them. BIP 360 and BIP 361 remain drafts and may change. The 2024 migration calculation uses a historical snapshot and strong simplifications. Signature size comparisons exclude the other transaction components. This article estimates no transaction fee, bitcoin price or total migration bill.

The workshop contributions were consulted as transcripts, with the limitations of that format. Assessments by Coinbase and manufacturers are attributed to them. An output’s lack of movement supplies information about its use while leaving the whereabouts of its owner and key unknown.

For further reading, our guide to on-chain data explains what outputs and addresses allow us to observe. Bitget and the signing blind spot examines a different authorization risk. Our analysis of Ethereum and traditional finance follows the layers of a settlement infrastructure.

Sources

  1. Europol, October 7, 2026 release on quantum threats and preparation for the transition. Announced report: Quantum computing and cryptocurrencies.
  2. Chaincode Labs, Bitcoin and Quantum Computing: Current Status and Future Directions, May 2025. Threat analysis and migration discussion; its exposure snapshots are historical.
  3. BIP 340, Schnorr signatures for secp256k1.
  4. Bitcoin Developer Guide, transaction model and unspent outputs.
  5. BIP 141, Segregated Witness, block weight and virtual size.
  6. BIP 341, Taproot and spending rules.
  7. BIP 32, hierarchical key derivation.
  8. Häner and coauthors, resource estimates for a trapped-ion attack, September 2026.
  9. Babbush and coauthors, Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations, April 2026 revision.
  10. NIST, FIPS 204, ML-DSA, August 13, 2024. Table 2 gives key and signature sizes.
  11. NIST, FIPS 205, SLH-DSA, August 13, 2024.
  12. NIST, FIPS 203, ML-KEM, August 13, 2024.
  13. Pieter Wuille and participants, post-quantum output design discussion, opened July 2026. Proposals and design opinions.
  14. BIP 360, Pay to Merkle Root, draft consulted October 8, 2026.
  15. Downtime Required for Bitcoin Quantum-Safety, October 22, 2024 preprint, version 1. Used for its historical capacity exercise under the stated assumptions.
  16. Yehuda Lindell, Institutional Considerations for Post-Quantum Bitcoin, August 28, 2026 workshop. Transcript.
  17. Charles Guillemet, workshop on post-quantum cryptography for hardware wallets, August 28, 2026. Transcript.
  18. BIP 361, Post Quantum Migration and Legacy Signature Sunset, informational draft consulted October 8, 2026.
  19. Coinbase Quantum Advisory Council, post-quantum migration and abandoned coins, June 11, 2026.

This analysis is not investment advice.

// cite this analysis

l0g, “Bitcoin and the quantum threat: the cost of changing the keys”, l0g.fr, published October 08, 2026, updated October 08, 2026, https://l0g.fr/en/analysis/bitcoin-quantum-cost-changing-keys/


$ cd ../analysis