Onchain Chronicles

Ethereum ·

PQAI #0: Ethereum prepares for post-quantum, post-AI world, advocates hash-based cryptography

The shift in cryptographic requirements for Ethereum, moving toward a state resilient against both quantum and artificial intelligence threats, represents a pivotal moment for the protocol's…

Ethereum Foundation Blog

The shift in cryptographic requirements for Ethereum, moving toward a state resilient against both quantum and artificial intelligence threats, represents a pivotal moment for the protocol's evolution. The Ethereum Foundation (EF) has been developing countermeasures against quantum computer threats to Ethereum's cryptography for several years, yet the emergence of AI has introduced a more pressing risk.

AI models are demonstrating an ability to discover flaws in live software at a speed surpassing human review capabilities, affecting numerous production systems, including thousands of components within the Linux kernel, which is already a highly scrutinized codebase. Furthermore, these models are beginning to enhance algorithms that have been in use for decades, and there is no expectation that the mathematical foundations underpinning cryptography will remain static. Therefore, constructing an Ethereum capable of surviving the AI era and the quantum era necessitates a design built with these realities in mind. Cryptographic implementations must adhere to the most conservative assumptions, and core components must undergo formal verification against a specification as a minimum measure to eliminate entire categories of potential defects.

This undertaking bears resemblance to the initiative on September 15, 2022, when Ethereum successfully upgraded its consensus engine while maintaining continuous operation without any fund loss. That endeavor required years of development networks and shadow forks, involving contributions from client teams across multiple firms, researchers, testers, staking pools, and individual home stakers, culminating in what was termed The Merge. Many of those same participants continue to support Ethereum presently. This current upgrade presents a greater technical challenge than The Merge, and the available timeline is shorter. However, the availability of more potent technological instruments allows for a pace of development unmatched previously.

The EF's response involves several key components: because rapid development increases the likelihood of introducing errors, security evaluations and formal verification must match the velocity of protocol advancement; compromising on security here would negate the entire purpose of this upgrade. In reaction to this, the EF has doubled the size of its protocol security team. The urgency stems from AI advancing faster than nearly any projection anticipated. Just a short time ago, models struggled to complete a single line of code; only recently, an AI assisted in proving the 167-year-old Riemann Hypothesis, a celebrated unsolved problem in mathematics. While this does not automatically confirm that AI can or will compromise the hardness assumptions underlying our cryptography, from a risk management perspective, it seems wise to rely on less certain assumptions rather than waiting for AI to achieve exponential improvements.

Following more than a year of assessing potential signature schemes, the EF is advocating for the adoption of hash-based cryptography to supplant elliptic curves. Since the Ethereum protocol already incorporates the security of hash functions, this change does not introduce novel assumptions. The financial implications of this transition require every component of the protocol and its associated ecosystem to adapt to the reality that fortifying the protocol is now the paramount objective. Features that stakeholders have invested years developing will consequently have to be postponed. Tooling currently built around BLS will require modification, and smart contracts relying on pre-quantum cryptography will need updates. Changes are also necessary for wallets, multisignature schemes, and staking pools, and because larger signatures are anticipated, hardware requirements for running nodes must be monitored closely to ensure accessibility for home operators.

The long-term vision for Ethereum is to exist beyond the lifespan of its current participants. The objective is to build a system for an individual who wishes to secure their assets behind a key that can be passed down to their great-grandchildren without concern that the underlying cryptography might fail. The Foundation believes that the decisions made by the Ethereum ecosystem in the coming months and the actions taken over the next year or so will constitute a critical turning point toward achieving this goal.

Regarding the current status, Justin Drake presented a target of December 2028 at Devcon, although the EF maintains an internal deadline of 2029, with a review of this schedule planned for January. Ethlabs released pqai27 and subsequently withdrew its Quick Slots proposal from Hegotá to liberate engineering capacity, while developers from the consensus and execution layers, alongside researchers, have been actively debating the technical trade-offs within the ETH R&D Discord channel. Preliminary specifications have begun, and iteration on the initial pq-cl development network has already commenced. The next steps involve attending the remaining ACD calls this year to deliberate on supplementary features that might be removed from the fork to free up engineering resources.

The speed at which Ethereum accomplishes this transition is contingent upon the level of participation from the community. While the Ethereum Foundation has designated this as its foremost priority, no single organization can shoulder the network's burden alone. Client developers are encouraged to begin integrating the new signature and key-registry specifications onto the development networks. Wallet teams are essential to ensure a smooth migration path for end-users. Stakers and staking pools can test validators utilizing hash-based keys and report any failures, while rollup teams can conduct tests against the novel blob commitments. Furthermore, cryptographers, auditors, and experts in formal verification should assist in testing and attempting to break these components before they go live. Participation can involve joining the ETH R&D discussions or running a node on the development networks. Similar to The Merge, the initial involvement of most participants will be incremental, yet some will ultimately shape the direction of Ethereum. The Merge altered Ethereum's engine while it was operational; this time, the focus is on changing the security locks. This series was inspired by the coining of "pqai" by Ethlabs.

The progression toward a resilient cryptographic state is deeply intertwined with the broader trajectory of decentralized systems, where the increasing sophistication of computational models forces protocol designers to elevate security assurances to meet emergent, non-traditional threats.

Why it matters

This transition represents a major protocol-level overhaul, more complex than The Merge, requiring ecosystem-wide adaptation. The shift to post-quantum cryptography directly impacts the security assumptions underpinning DeFi and L2 operations. Readers should watch the upcoming ACD calls and devnet activity as the timeline solidifies.

Earlier coverage

ethereum

Related coverage

Back to the ledger

24