跳到正文
Ethereum Foundation·· 2 天前精选AI 评分82

以太坊基金会提出 PQAI 计划:为后量子、后 AI 世界改造以太坊

PQAI #0: Preparing Ethereum for a post-quantum, post-AI world

AI 导读

以太坊基金会发布 PQAI #0,提出用基于哈希的密码学替换椭圆曲线,覆盖共识、用户账户和数据三部分。基金会称已评估候选签名方案一年多,并主张以哈希方案替代椭圆曲线,因为协议本就依赖哈希安全、不引入新假设;同时已将协议安全团队规模翻倍。

推荐理由

以太坊基金会将抗量子与抗 AI 风险列为最高优先级,并给出共识、账户、数据三层改造方向与 2028 目标、2029 内部截止,是跟踪以太坊路线图调整的一手材料。

正文 · 原文

Coming away from Devcon in Mumbai, one thing was clear across client teams, researchers, and the wider Ethereum community: people are ready to take on Ethereum's next major transition.

The EF has been planning mitigations to the threat posed by quantum computers to Ethereum's cryptography for several years, but recently AI emerged as a more urgent risk. Models are already finding bugs in production software faster than people can review them, including thousands in the Linux kernel, one of the most scrutinised codebases in the world. They are also starting to improve on decades-old algorithms, and we do not expect the maths that cryptography relies on to be any different.

Building a post-AI post-Quantum Ethereum means designing for that world. Cryptography should use the most conservative assumptions and core components need to be formally verified against a spec at the very least so whole classes of bugs are ruled out.

We have done this before

On the 15th September 2022, Ethereum replaced its consensus engine while the chain stayed live, with no downtime and no lost funds.

That effort took years of devnets and shadow forks, with client teams from several companies, researchers, testers, staking pools, and home stakers building towards what we called The Merge. Many of these same people are still maintaining Ethereum today.

This upgrade is harder than the Merge, and we have less time. But we now have more powerful tools that allow us to move faster than we've ever moved before.

What we are building

There are three parts:

  • Consensus: Validators sign with hash-based keys, so finality no longer depends on elliptic curves
  • User accounts: Wallets give users a straightforward way to move to hash-based signatures
  • Data: Blobs switch to hash-based commitments

Moving fast makes it easier to ship bugs, so formal verification and security work will have to keep up with the pace of protocol development; cutting corners here would defeat the whole purpose of the upgrade. In response to this, the EF has doubled the size of its protocol security team.

Why it cannot wait

AI has moved faster than almost anyone could have predicted. A few years ago, models could barely finish a line of code; just days ago we saw an AI-assisted proof of the 167-year-old Riemann Hypothesis, the most famous open problem in mathematics.

This does not immediately imply that AI can or will break the hardness assumptions that our cryptography relies on, however in terms of risk management, relying on what we believe to be weaker assumptions instead of waiting for AI to get exponentially better seems prudent.

After over a year of evaluating candidate signature schemes, we are advocating for hash-based cryptography to replace elliptic curves. The Ethereum protocol already relies on hashes being secure, so importantly this does not add a new assumption.

What it will cost

Every layer of the protocol and ecosystem will need to adapt to the reality that hardening the protocol is now our highest priority. Features people have spent years on will have to wait. Tooling built around BLS will need to be reworked, and contracts that assume pre-quantum cryptography will need updates. Wallets, multisigs, and staking pools all need changes, and much larger signatures mean monitoring hardware requirements closely so people can still run nodes at home.

Who it is for

Ethereum is meant to outlive all of us. We are building it for someone who wants to put their savings behind a key they can pass to their great-grandchildren without worrying whether the cryptography will break. We believe the Ethereum ecosystem's decisions in the coming months and actions over the next year or so will be an inflexion point in getting there.

Where things stand

At Devcon, Justin Drake put forward December 2028 as a target, with 2029 still the EF's internal deadline with a timeline review planned for January. Ethlabs published pqai27 and pulled its own Quick Slots proposal out of Hegotá to free up engineering time, while devs from the consensus layer and execution layer and researchers have been working through the technical trade-offs in the ETH R&D Discord channel.

Early specs have started and we already started to iterate on our first pq-cl devnet.

Next we will have the remaining ACD calls this year to discuss the additional features we may want to remove from the fork to free up engineering resources.

Where you come in

How fast Ethereum gets this done depends on how many people work on it. The Ethereum Foundation has made this its top priority, but one organisation cannot carry the network alone.

Client developers can start implementing the new signature and key-registry specs on the devnets. Wallet teams are needed to make the user migration straightforward. Stakers and staking pools can test validators with hash-based keys and report what breaks, and rollup teams can test against the new blob commitments. Cryptographers, auditors, and formal verification engineers should help test and break things before they go live.

Join the discussions on ETH R&D and run a node on the devnets. Like the Merge, most people will start with something small. Some of them will end up shaping what Ethereum becomes.

The Merge changed Ethereum's engine in flight. This time we change the locks :)


Thanks to Ethlabs for coining pqai, which inspired the name of this series.

来源:Ethereum Foundation · blog.ethereum.org