ecdsa
ECDSA cryptographic signature library (pure python)
Install
ecdsa on PyPI
pip
pip install ecdsauv
uv add ecdsapoetry
poetry add ecdsaPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — six |
| Maintenance | actively maintained — 140 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | 2 — GHSA-wj6h-64fc-37mp, PYSEC-2026-1325 |
Evidence: ecdsa-0.19.2-py2.py3-none-any.whl
About ecdsa
from the package's own PyPI description — quoted content, verbatim
Pure-Python ECDSA and ECDH
GitHub CI (image) Documentation Status (image) Coverage Status (image) condition coverage (image) mutation score (image) CodeQL (image) Latest Version (image) ![Code style:...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Pure-Python implementation of elliptic curve cryptography (ECDSA, EdDSA, ECDH) for key generation, digital signatures, and shared secret derivation across NIST, Brainpool, and SEC curves.
Low friction: single pure-Python dependency (six) and distributed as a wheel. Actively maintained with recent release 140 days ago and ongoing repository activity.
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary contexts with minimal obligations.
Usage
pip install ecdsa
from ecdsa import SigningKey
sk = SigningKey.generate()
message = b'test'
signature = sk.sign(message)
The package's own documentation warns against production use; see Security section in the project README.
Verdict: Actively maintained, permissively licensed, and easy to install, but carries two known security vulnerabilities (GHSA-wj6h-64fc-37mp, PYSEC-2026-1325) and an explicit upstream warning against production deployment. Suitable for educational, testing, or non-critical cryptographic tasks only.
Needs verification
- Nature and severity of the two disclosed vulnerabilities and whether patches are available in version 0.19.2
- Whether the production-use warning reflects fundamental design limitations or specific attack vectors
- Performance impact of optional gmpy2 dependency and whether it is recommended for typical workloads
Similar packages
permissive · top 1,000 on PyPI
cryptographypermissive · top 100 on PyPI
joserfcpermissive · top 1,000 on PyPI
snowflake-snowpark-pythonpermissive · top 1,000 on PyPI
oscryptopermissive · top 1,000 on PyPI
asn1cryptopermissive · top 1,000 on PyPI
pyOpenSSLpermissive · top 1,000 on PyPI
pymupdfagpl · top 1,000 on PyPI
supabase-authpermissive · top 1,000 on PyPI
azure-keyvault-keysunclear · top 1,000 on PyPI