Mon Nov 30 20:13:53 2020 UTC ()
py-ecdsa: updated to 0.16.1

Release 0.16.1

New API:
`VerifyingKey.precompute()` supports `lazy` argument to delay precomputation
to the first time the key is used to verify a signature.

Doc fixes:
Documentation for the `VerifyingKey.precompute()` method.

Bug fix:
Make created signatures correct when the hash used is bigger than the curve
order bit size and the curve order is not a multiple of 8 (this affects
only users of custom curves or hashes with output larger than 512 bits).

Performance:
Speed up library load time by calculating the generator point multiplication
tables the first time the points are used, not when they are initialised.

Maintenance:
Include Python 3.9 in CI testing.
Test coverage for the `VerifyingKey.precompute()` method.
Small speed-ups for the test suite.


(adam)
diff -r1.11 -r1.12 pkgsrc/security/py-ecdsa/Makefile
diff -r1.9 -r1.10 pkgsrc/security/py-ecdsa/distinfo

cvs diff -r1.11 -r1.12 pkgsrc/security/py-ecdsa/Makefile (expand / switch to unified diff)

--- pkgsrc/security/py-ecdsa/Makefile 2020/10/03 06:13:27 1.11
+++ pkgsrc/security/py-ecdsa/Makefile 2020/11/30 20:13:53 1.12
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.11 2020/10/03 06:13:27 adam Exp $ 1# $NetBSD: Makefile,v 1.12 2020/11/30 20:13:53 adam Exp $
2 2
3DISTNAME= ecdsa-0.16.0 3DISTNAME= ecdsa-0.16.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= security python 5CATEGORIES= security python
6MASTER_SITES= ${MASTER_SITE_PYPI:=e/ecdsa/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=e/ecdsa/}
7 7
8MAINTAINER= gls@NetBSD.org 8MAINTAINER= gls@NetBSD.org
9HOMEPAGE= https://github.com/warner/python-ecdsa 9HOMEPAGE= https://github.com/warner/python-ecdsa
10COMMENT= Easy-to-use implementation of ECDSA cryptography 10COMMENT= Easy-to-use implementation of ECDSA cryptography
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six 13DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
14 14
15USE_LANGUAGES= # none 15USE_LANGUAGES= # none
16 16

cvs diff -r1.9 -r1.10 pkgsrc/security/py-ecdsa/distinfo (expand / switch to unified diff)

--- pkgsrc/security/py-ecdsa/distinfo 2020/10/03 06:13:27 1.9
+++ pkgsrc/security/py-ecdsa/distinfo 2020/11/30 20:13:53 1.10
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.9 2020/10/03 06:13:27 adam Exp $ 1$NetBSD: distinfo,v 1.10 2020/11/30 20:13:53 adam Exp $
2 2
3SHA1 (ecdsa-0.16.0.tar.gz) = 52b4b3e423662f90c4bbbbdcf0fd6bcf52fdee01 3SHA1 (ecdsa-0.16.1.tar.gz) = ec9fa2f821e0bdf0812dc0c94b92214212541fb6
4RMD160 (ecdsa-0.16.0.tar.gz) = 4fdfc7188776539ce64f482936f6454da8ca4595 4RMD160 (ecdsa-0.16.1.tar.gz) = e3ee5219f8d8c8cd8b3eba2519cde9d70d3b0d9e
5SHA512 (ecdsa-0.16.0.tar.gz) = 94ccefe19899a5e56393bb0e6624e9af66bdc60ad370d65900a24a0465c430a3a001ed9c25970e48834cb25ca730bc9279af98d17ecd3ad66189c64c8f864b42 5SHA512 (ecdsa-0.16.1.tar.gz) = 935416ff25a71b1e6fe442b11e8d2c1463b1652d539274e094112a4847c2c749ff58eb9f5ed108ed5613b7363d3f2b1c07ba3d01af8cfed4e1b4bec407d3f5a6
6Size (ecdsa-0.16.0.tar.gz) = 125851 bytes 6Size (ecdsa-0.16.1.tar.gz) = 126935 bytes