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.16.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6786e64e045
branches:  trunk
changeset: 440109:d6786e64e045
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 03 06:13:27 2020 +0000

description:
py-ecdsa: updated to 0.16.0

Release 0.16.0

New features:
Support for reading and writing private keys in PKCS#8 format.

New API:
`to_pem` and `to_der` now accept new parameter, `format`, to specify
the format of the encoded files, either the dafault, legacy "ssleay", or
the new `pkcs8` to use PKCS#8. Note that only unencrypted PKCS#8 files are
supported.
Add `allow_truncate` to `verify` in `VerifyingKey`, it defaults to True,
when specified as False, use of large hashes smaller than curves will be
disallowed (as it was in 0.14.1 and earlier).

Bug fix:
Correctly calculate signatures for private keys equal to n-1.
Make `PointJacobi` and thus `SigningKey` and `VerifyingKey` pickleable.

Doc fixes:
`to_pem` functions return `bytes` not `str`, document them as such.
`from_pem` and `from_pem` in `SigningKey` returns `SigningKey`, document them
as such.

Maintenance:
Ensure that version checks will work with Python 4.
Format the source with black.
Fix uses of `assert_` in test suite.
Use newer Ubuntu in Travis to test against OpenSSL 1.1.1 (and thus
test the interoperability of ECDH code in Travis).

diffstat:

 security/py-ecdsa/Makefile |  12 ++++++------
 security/py-ecdsa/distinfo |  10 +++++-----
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (41 lines):

diff -r 3ae541b1b60c -r d6786e64e045 security/py-ecdsa/Makefile
--- a/security/py-ecdsa/Makefile        Sat Oct 03 06:08:06 2020 +0000
+++ b/security/py-ecdsa/Makefile        Sat Oct 03 06:13:27 2020 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.10 2020/05/23 08:08:54 adam Exp $
+# $NetBSD: Makefile,v 1.11 2020/10/03 06:13:27 adam Exp $
 
-DISTNAME=      ecdsa-0.15
-PKGNAME=       ${PYPKGPREFIX}-ecdsa-0.15
-CATEGORIES=    security
+DISTNAME=      ecdsa-0.16.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/ecdsa/}
 
 MAINTAINER=    gls%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/warner/python-ecdsa/
+HOMEPAGE=      https://github.com/warner/python-ecdsa
 COMMENT=       Easy-to-use implementation of ECDSA cryptography
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
 
 USE_LANGUAGES= # none
 
diff -r 3ae541b1b60c -r d6786e64e045 security/py-ecdsa/distinfo
--- a/security/py-ecdsa/distinfo        Sat Oct 03 06:08:06 2020 +0000
+++ b/security/py-ecdsa/distinfo        Sat Oct 03 06:13:27 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2020/02/27 16:55:07 bsiegert Exp $
+$NetBSD: distinfo,v 1.9 2020/10/03 06:13:27 adam Exp $
 
-SHA1 (ecdsa-0.15.tar.gz) = 5ac84f3012d807793bcb98a8e9c86c63b9965596
-RMD160 (ecdsa-0.15.tar.gz) = aaeba796ec51455deb06d4accc01535aeac26302
-SHA512 (ecdsa-0.15.tar.gz) = 7b7491d1abdb5ca43456d943c96525fa5d722635c496bbddd04ef8e1baad9dc0aef3d1752afea7820f7796421b18295ee260657ec1e8faf7564613b316c0d603
-Size (ecdsa-0.15.tar.gz) = 122119 bytes
+SHA1 (ecdsa-0.16.0.tar.gz) = 52b4b3e423662f90c4bbbbdcf0fd6bcf52fdee01
+RMD160 (ecdsa-0.16.0.tar.gz) = 4fdfc7188776539ce64f482936f6454da8ca4595
+SHA512 (ecdsa-0.16.0.tar.gz) = 94ccefe19899a5e56393bb0e6624e9af66bdc60ad370d65900a24a0465c430a3a001ed9c25970e48834cb25ca730bc9279af98d17ecd3ad66189c64c8f864b42
+Size (ecdsa-0.16.0.tar.gz) = 125851 bytes



Home | Main Index | Thread Index | Old Index