source avatarpashov

Share

Blockchains quantum threat basics by pashov: the main problems, what Solidity devs should do, and why you shouldn't be too scared A bit long, but well worth the read for all blockchain users, especially developers who feel lost. Please RT/share if you find it useful. THE PROBLEM Digital signatures work because the maths behind them would take normal computers longer than the age of the universe to crack. Quantum computers change that for one specific kind of maths. On a big enough quantum computer, Shor's algorithm efficiently solves two problems: factoring large numbers, which breaks RSA, and discrete logarithms, which breaks elliptic curve cryptography. Bitcoin and Ethereum run on elliptic curves. Bitcoin uses ECDSA and Schnorr signatures for transactions. Ethereum uses ECDSA for transactions and BLS signatures for validator consensus. In simple terms, your private key is a secret random number, and your public key is derived from it with one-way curve maths. Shor's algorithm runs that maths backwards: give it your public key and it gives back your private key. With that, an attacker can sign transactions as you and move your funds. WHAT'S ACTUALLY EXPOSED Your address is a hash of your public key, not the key itself. The public key only appears on-chain once you sign something. An address that has never sent a transaction is shielded by that hash. Once you send from it, your public key is public forever. On Ethereum, that's every account that has ever sent a transaction. On Bitcoin, it's reused addresses, old pay-to-public-key outputs and Taproot outputs. It goes beyond wallets. Validator BLS signatures, the KZG commitments behind rollup blob data, and the pairing-based zk-SNARKs used by many rollups and privacy apps all rely on elliptic curves too. WHAT IS SAFE Hash functions like SHA-256 and Keccak are fine. The quantum attack on them, Grover's algorithm, only gives a square-root speedup, which roughly halves their security strength. That still leaves them uncrackable in practice. That's also why hash-based signatures are the conservative post-quantum choice. Ethereum's draft EIP-8530 proposes replacing validator BLS signatures with a hash-based XMSS variant. RSA isn't really a blockchain issue. No major chain uses it for its own signatures. Some projects verify RSA signatures from outside systems, like Google login tokens or DKIM-signed emails, and those will need to migrate eventually too. HOW THE CHAINS ARE FIXING IT Ethereum has a dedicated post-quantum team and a roadmap with several parts: - XMSS-style signatures for validators (EIP-8530, still a draft) - Frame transactions (EIP-8141), scheduled for the 2027 Hegotá upgrade, which let accounts choose their own signature scheme. This is the off-ramp from ECDSA for user wallets. - Draft precompiles for verifying the NIST post-quantum signature schemes ML-DSA and Falcon on-chain - A replacement for the elliptic-curve commitments behind blob data Bitcoin is earlier on this path. BIP-360 adds a new output type that removes Taproot's key-path exposure, but actual post-quantum signatures will need further BIPs. WHAT SOLIDITY DEVS SHOULD DO 1. Don't hard-code ecrecover as the only way to authorize users. Verify signatures through ERC-1271, so smart accounts using post-quantum keys can plug into your protocol without a redeploy. 2. Keep signature verification upgradeable or modular, so you can swap the scheme later. 3. Know your elliptic-curve dependencies. It's not just ecrecover. Check for the BN254 pairing precompiles behind most zk verifiers, the BLS12-381 precompiles, the P-256 passkey precompile, and any EIP-712 or permit flows. WHY YOU SHOULDN'T BE TOO SCARED No quantum computer today can do any of this. The best machines in 2026 have roughly 1,000 physical qubits, and they are noisy. The latest estimates for breaking Bitcoin's curve range from under 500,000 qubits running for minutes (Google) to about 20,000 qubits running for roughly 26 days per attempt (IonQ). These estimates are falling fast, so this is a real engineering problem, but it isn't an emergency today. What matters is that migration is slow. One Bitcoin researcher estimates about seven years for a full migration, which is why the work is starting now. Ethereum already has devnets running post-quantum validator signatures. So don't panic. Stop reusing exposed addresses for long-term holdings, and build contracts that can move when the chains move. Pashov Audit Group and I will be helping teams get safely through this new challenge. We love serving you, it's our mission. If you're a builder, you're welcome to reach out for a chat.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.