security/py-ecdsa 0.19.2 FreeBSD
ECDSA cryptographic signature library (pure python)
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- security, python
- Package size
- 297.6 KiB, 1976.8 KiB installed
Description
This is an easy-to-use implementation of ECC (Elliptic Curve Cryptography) with support for ECDSA (Elliptic Curve Digital Signature Algorithm) and ECDH (Elliptic Curve Diffie-Hellman), implemented purely in Python, released under the MIT license. With this library, you can quickly create key pairs (signing key and verifying key), sign messages, and verify the signatures. You can also agree on a shared secret key based on exchanged public keys. The keys and signatures are very short, making them easy to handle and incorporate into other protocols.
This library provides key generation, signing, verifying, and shared secret derivation for five popular NIST "Suite B" GF(p) (prime field) curves, with key lengths of 192, 224, 256, 384, and 521 bits. The "short names" for these curves, as known by the OpenSSL tool (openssl ecparam -list_curves), are: prime192v1, secp224r1, prime256v1, secp384r1, and secp521r1. It includes the 256-bit curve secp256k1 used by Bitcoin. There is also support for the regular (non-twisted) variants of Brainpool curves from 160 to 512 bits. The "short names" of those curves are: brainpoolP160r1, brainpoolP192r1, brainpoolP224r1, brainpoolP256r1, brainpoolP320r1, brainpoolP384r1, brainpoolP512r1. Few of the small curves from SEC standard are also included (mainly to speed-up testing of the library), those are: secp112r1, secp112r2, secp128r1, and secp160r1. No other curves are included, but it is not too hard to add support for more curves over prime fields.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/py-ecdsa | 0.19.2 |
| OpenBSD | security/py-ecdsa | 0.19.2 |
| NetBSD | security/py-ecdsa | 0.19.2 |
| DragonFly | security/py-ecdsa | 0.19.1 |
| MidnightBSD | security/py-ecdsa | 0.19.1_1 |
Install
Binary package:
pkg install py312-ecdsa
From the ports tree:
cd /usr/ports/security/py-ecdsa/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-ecdsa>0:security/py-ecdsa
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.19.2 | 0.19.2 | 0.18.0 | 0.19.1 | 0.19.2 |
| FreeBSD:14:quarterly | 0.19.2 | 0.19.2 | n/a | 0.19.1 | 0.19.2 |
| FreeBSD:15:latest | 0.19.2 | 0.19.2 | n/a | 0.19.1 | 0.19.1 |
| FreeBSD:15:quarterly | 0.19.2 | 0.19.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.19.2 | 0.19.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}six>=1.9.0: devel/py-six
Test 1
${PYTHON_PKGNAMEPREFIX}hypothesis>=0: devel/py-hypothesis
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 12
Required by 20
- comms/py-esptool
- devel/py-buildbot
- devel/py-buildbot-worker
- dns/py-dns-crawler
- filesystems/py-tahoe-lafs
- finance/electrum
- finance/py-python-obelisk
- net/py-magic-wormhole
- security/py-bitbox02
- security/py-btchip-python
- security/py-ckcc-protocol
- security/py-keepkey
- security/py-python-jose
- security/py-sshpubkeys
- security/py-tlslite-ng
- security/py-trezor
- www/py-autobahn
- www/py-autobahn25
- www/py-daphne
- www/py-flatnotes
Configuration
Options name: security_ecdsa
| Option | Default | Description |
|---|---|---|
| GMPY | off | GMPY support |
| GMPY2 | on | GMPY2 support |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| ecdsa-0.19.2.tar.gz | 202432 | 62635b0ac1ca2e027f82122b5b81cb706edc38cd91c63dda28e4f3455a2bf930 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.