pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-ecdsa py-ecdsa: updated to 0.18.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf7cd6839f48
branches:  trunk
changeset: 382998:bf7cd6839f48
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Aug 10 10:57:45 2022 +0000

description:
py-ecdsa: updated to 0.18.0

Release 0.18.0 (09 Jul 2022)

New API:
* `curve_by_name` in `curves` module to get a `Curve` object by providing curve
  name.

Bug fix:
* Make the `VerifyingKey` encoded with explicit parameters use the same
  kind of point encoding for public key and curve generator.
* Better handling of malformed curve parameters (as in CVE-2022-0778);
  make python-ecdsa raise `MalformedPointError` instead of `AssertionError`.

Doc fix:
* Publish the documentation on https://ecdsa.readthedocs.io/,
  include explanation of basics of handling of ECC data formats and how to use
  the library for elliptic curve arithmetic.
* Make object names more consistent, make them into hyperlinks on the
  readthedocs documentation.
* Make security note more explicit (Ian Rodney)
* Fix the `explicit` vs `named_curve` confusion in `VerifyingKey` docs.

Maintenance:
* Updated black version; slight changes to formatting
* Include interoperability tests for Ed25519 and Ed448 with OpenSSL.

diffstat:

 security/py-ecdsa/Makefile |   6 +++---
 security/py-ecdsa/PLIST    |  14 +++++++++++++-
 security/py-ecdsa/distinfo |   8 ++++----
 3 files changed, 20 insertions(+), 8 deletions(-)

diffs (84 lines):

diff -r c2a822054087 -r bf7cd6839f48 security/py-ecdsa/Makefile
--- a/security/py-ecdsa/Makefile        Wed Aug 10 10:51:34 2022 +0000
+++ b/security/py-ecdsa/Makefile        Wed Aug 10 10:57:45 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2022/01/04 20:54:40 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2022/08/10 10:57:45 adam Exp $
 
-DISTNAME=      ecdsa-0.17.0
+DISTNAME=      ecdsa-0.18.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/ecdsa/}
 
@@ -12,6 +11,7 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 
 USE_LANGUAGES= # none
 
diff -r c2a822054087 -r bf7cd6839f48 security/py-ecdsa/PLIST
--- a/security/py-ecdsa/PLIST   Wed Aug 10 10:51:34 2022 +0000
+++ b/security/py-ecdsa/PLIST   Wed Aug 10 10:57:45 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2021/06/01 05:34:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/08/10 10:57:45 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -13,6 +13,9 @@
 ${PYSITELIB}/ecdsa/_rwlock.py
 ${PYSITELIB}/ecdsa/_rwlock.pyc
 ${PYSITELIB}/ecdsa/_rwlock.pyo
+${PYSITELIB}/ecdsa/_sha3.py
+${PYSITELIB}/ecdsa/_sha3.pyc
+${PYSITELIB}/ecdsa/_sha3.pyo
 ${PYSITELIB}/ecdsa/_version.py
 ${PYSITELIB}/ecdsa/_version.pyc
 ${PYSITELIB}/ecdsa/_version.pyo
@@ -28,6 +31,9 @@
 ${PYSITELIB}/ecdsa/ecdsa.py
 ${PYSITELIB}/ecdsa/ecdsa.pyc
 ${PYSITELIB}/ecdsa/ecdsa.pyo
+${PYSITELIB}/ecdsa/eddsa.py
+${PYSITELIB}/ecdsa/eddsa.pyc
+${PYSITELIB}/ecdsa/eddsa.pyo
 ${PYSITELIB}/ecdsa/ellipticcurve.py
 ${PYSITELIB}/ecdsa/ellipticcurve.pyc
 ${PYSITELIB}/ecdsa/ellipticcurve.pyo
@@ -55,6 +61,9 @@
 ${PYSITELIB}/ecdsa/test_ecdsa.py
 ${PYSITELIB}/ecdsa/test_ecdsa.pyc
 ${PYSITELIB}/ecdsa/test_ecdsa.pyo
+${PYSITELIB}/ecdsa/test_eddsa.py
+${PYSITELIB}/ecdsa/test_eddsa.pyc
+${PYSITELIB}/ecdsa/test_eddsa.pyo
 ${PYSITELIB}/ecdsa/test_ellipticcurve.py
 ${PYSITELIB}/ecdsa/test_ellipticcurve.pyc
 ${PYSITELIB}/ecdsa/test_ellipticcurve.pyo
@@ -76,6 +85,9 @@
 ${PYSITELIB}/ecdsa/test_rw_lock.py
 ${PYSITELIB}/ecdsa/test_rw_lock.pyc
 ${PYSITELIB}/ecdsa/test_rw_lock.pyo
+${PYSITELIB}/ecdsa/test_sha3.py
+${PYSITELIB}/ecdsa/test_sha3.pyc
+${PYSITELIB}/ecdsa/test_sha3.pyo
 ${PYSITELIB}/ecdsa/util.py
 ${PYSITELIB}/ecdsa/util.pyc
 ${PYSITELIB}/ecdsa/util.pyo
diff -r c2a822054087 -r bf7cd6839f48 security/py-ecdsa/distinfo
--- a/security/py-ecdsa/distinfo        Wed Aug 10 10:51:34 2022 +0000
+++ b/security/py-ecdsa/distinfo        Wed Aug 10 10:57:45 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 11:17:44 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/08/10 10:57:45 adam Exp $
 
-BLAKE2s (ecdsa-0.17.0.tar.gz) = b809d2ed55c7474e8fb8b9deadb9a729c36c09d536744f7f2fe7cd8d879083b5
-SHA512 (ecdsa-0.17.0.tar.gz) = 23acf993ce4f7f832674a3b70ab870c20172816e27adc836d4c6a876e72a488a830895d63ab6af67cc7cbc83c71f7097d0d530bf67d24c84e69e9fa87031f6fd
-Size (ecdsa-0.17.0.tar.gz) = 158486 bytes
+BLAKE2s (ecdsa-0.18.0.tar.gz) = beb708dbd7761d33c350b19a2091c6a4f635e94d20c542cf3c1de3301ec0dc1c
+SHA512 (ecdsa-0.18.0.tar.gz) = f26dbeccd8e6ec832405d419b7244ca97b43a2811513493913a4f2f2fd1d2f453068fe0ba7b90b972f42a0d7b9834212fbd4d4559475cffeb1d80075fa954d78
+Size (ecdsa-0.18.0.tar.gz) = 197938 bytes



Home | Main Index | Thread Index | Old Index