PQ Python

py-ecc, blst, ckzg

Pairing-curve libraries (BLS12-381, BN254) for Ethereum consensus and KZG commitments; pairing-based cryptography is on the advisory’s inventory list and there is no PQ path.

PyPI
py-ecc, blst, ckzg
Version cited
8.0.0py-ecc 8.0.0; ckzg 2.1.8; blst v0.3.17
Downloads
n/a

Key exchange and encryption

Not affected

No key exchange

Signatures and identity

No path yet

BLS12-381 and BN254 only

What to do

Use these only where the protocol requires BLS12-381 or BN254; do not use BLS12-381 for off-chain authentication or signing.

Since 1 Dec 2026 Nothing from the libraries. Ethereum’s plan says BLS tooling will need to be reworked.

Details

Library Version Curves
py-ecc 8.0.0 BLS12-381 and BN254
blst v0.3.17 BLS12-381 only
ckzg 2.1.8 grouped with BLS12-381 / BN254 (AGY)
  • The advisory flags “pairing-based cryptography” without naming a curve. Valsorda notes that pairings are “preponderantly done over curves with ~256-bit prime subgroup order” and that BLS12-381’s group order is 255 bits (details).
  • The AGY report calls BLS12-381 and BN254 “explicitly called out by NSA/Valsorda”; the advisory’s own text names neither.
  • Justin Drake (EF) reportedly said before the advisory that BLS12-381 and BN254 “may be vulnerable to new classical attacks… as early as 2027 or 2028” (secondhand).
  • No library drop-in fix exists. The EF’s plan says “Tooling built around BLS will need to be reworked” (EF PQAI #0).
  • The AGY report: ban BLS12-381 for off-chain auth and signing; replace with cryptography ML-DSA for all non-blockchain uses. Its static audit greps for py_ecc and blst (toolkit).

Downloads were not reported.

Sources cited on this page 1
  1. EF PQAI #0 blog.ethereum.org

All sources across the guide