poqeth: Efficient, post-quantum signature verification on Ethereum
Implements and gas-benchmarks four PQ signatures (W-OTS+, XMSS, SPHINCS+, MAYO) verified in the EVM, comparing full on-chain verification against Naysayer optimistic proofs.
Schemes: W-OTS+, XMSS, SPHINCS+, MAYO, Naysayer proofs
Findings (quotes checked against the source text)
-
Full on-chain verification of PQ signatures in the EVM is often prohibitively costly in gas.
Our practical performance evaluation shows that full on-chain verification is often prohibitively costly.
-
Naysayer optimistic verification is generally the cheapest mode for PQ signature verification on Ethereum, but adds trust assumptions.
We observe that the Naysayer verification mode is generally the cheapest, at the cost of additional trust assumptions.
-
Gas optimization of the verification algorithm is the main bottleneck, since verification is the only signature step executed on-chain.
We focus on optimizing the gas costs of the verification algorithms as that is the signature schemes' only algorithm executed on-chain, thus incurring financial costs (transaction fees) for the users.
-
The authors release their implementation as an open-source library named poqeth.
We release our implementation called poqeth as an open-source library.
For builders
Treat on-chain PQ signature verification as a gas-budget problem and evaluate optimistic (Naysayer-style) verification if full EVM verification is too expensive.
Limits
Abstract-only source; per-scheme gas figures and the exact trust model of Naysayer mode are not available here, so numbers were not extracted.
Topics: sig-hash-based sig-stateful sig-other ethereum-migration benchmarks chain-design zk-proofs