RadarFound by New EIPs

EIP-8151 changes ecRecover failure output to prevent quantum attacks

Oct 22 find · published Oct 18
GHGitHub · ethereum/EIPs · 2 min readRead original
Core EIPStatus change

colinlyguo updated EIP-8151 to change how the ecRecover precompile handles failed recoveries and accounts with code. Instead of returning 32 zero bytes when recovery fails or when an account has migrated to post-quantum authorization, ecRecover now returns empty output in both cases. This prevents quantum-capable attackers from using old ECDSA private keys to authorize transactions through contracts like ERC-20 permit implementations after an account has switched to post-quantum authorization via EIP-7702. The change applies the same account-code restriction that EIP-3607 uses for transaction authority to the ecRecover function itself.

3000Gas consumed by ecRecover

Comments

Sign in to join the conversation.

More from this batch

EIP-8279 aligns gas floor checks with execution-gas budgetGitHub · ethereum/EIPsEIP-8449 adds Engine API lookahead method for blob prefetchingethereum-magicians.orgEIP-8445 introduces single scaling factor for computational opcodesethereum-magicians.orgEIP-8337 defines MAGIC header bytes for code validationGitHub · ethereum/EIPs
New EIPsNew Ethereum Improvement Proposals as they are posted for discussion, with what each one would change and who proposed it.