eth-keys
eth-keys: Common API for Ethereum key operations
Decision gist · record as of 2026-08-14
Yes. eth-keys is a foundational library for Ethereum development with no known vulnerabilities, permissive licensing, and low install friction. The aging maintenance status (last release 494 days ago) is a minor concern for a stable cryptographic library, but the active repository and broad Python version support (3.8–3.13) make it reliable for production use. Install if you need to handle Ethereum key operations.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python fallback backend; the package prefers the coincurve library for performance but does not require it, making it accessible without compiled dependencies.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.
last release 2025-04-07 (494 days) · last repo commit 2025-12-17 · 177 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,000,576 downloads/mo, #1,989 on PyPI
Alternatives
Verify before relying
from eth_keys import keys
pk = keys.PrivateKey(b'\x01' * 32)
signature = pk.sign_msg(b'a message')
public_key = pk.public_key
address = public_key.to_checksum_address()
verified = signature.verify_msg(b'a message', public_key)- Performance characteristics and benchmarks comparing NativeECCBackend vs CoinCurveECCBackend backends
- Whether the package is actively maintained beyond the aging status indicator
What it is and what it does
eth-keys is a cryptographic library for Ethereum that abstracts elliptic curve operations behind a clean, high-level API. It handles the core key management tasks: generating private keys, deriving corresponding public keys, signing messages with ECDSA, verifying signatures, and recovering public keys from signatures. The library supports two backends—a pure-Python implementation and an optional high-performance backend via coincurve—and automatically falls back to the native implementation if the faster library is unavailable.
Developers use eth-keys to build Ethereum applications that need to sign transactions, verify message authenticity, or derive addresses from keys. The API provides both low-level methods (ecdsa_sign, ecdsa_verify, ecdsa_recover) and convenience methods on key objects (sign_msg, verify_msg, to_checksum_address). It depends only on eth-utils and eth-typing, keeping the dependency footprint minimal.
Use it for
- Sign Ethereum transactions or messages in a wallet or dApp backend
- Verify that a message or transaction was signed by a specific Ethereum address
- Recover the signer's public key and address from a signature to authenticate requests
- Generate Ethereum addresses from public keys for account creation or validation
- Implement multi-signature or threshold signing schemes using the low-level ECDSA API
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
eth-keys is a foundational library for Ethereum development with no known vulnerabilities, permissive licensing, and low install friction. The aging maintenance status (last release 494 days ago) is a minor concern for a stable cryptographic library, but the active repository and broad Python version support (3.8–3.13) make it reliable for production use. Install if you need to handle Ethereum key operations.
Install
eth-keys on PyPI
Before you install
Low install friction with a pure-Python fallback backend; the package prefers the coincurve library for performance but does not require it, making it accessible without compiled dependencies.
License in practice
MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.
Quickstart
from eth_keys import keys
pk = keys.PrivateKey(b'\x01' * 32)
signature = pk.sign_msg(b'a message')
public_key = pk.public_key
address = public_key.to_checksum_address()
verified = signature.verify_msg(b'a message', public_key)
Verify before relying
- Performance characteristics and benchmarks comparing NativeECCBackend vs CoinCurveECCBackend backends
- Whether the package is actively maintained beyond the aging status indicator
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packageseth-utilseth-typing |
| Maintenance | Aging 494 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,000,576 / month, #1,989 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: eth_keys-0.7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ethereum key signing”
- eth-keysProvides a unified API for Ethereum key operations including private…
- eth-accounteth-account signs Ethereum transactions and messages using local…
- coincurvecoincurve provides Python bindings to libsecp256k1, enabling fast…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also eth-keyfile · x25519 · starkbank-ecdsa · coincurve · eth-hash · eth-account · nkeys · cchecksum · ethereum-dasm · pyseto