Skip to content

Commit 93b04ba

Browse files
committed
release 0.15
1 parent e9b1122 commit 93b04ba

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

NEWS

+43
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
* Release 0.15 (02 Jan 2020)
2+
3+
Bug fixes:
4+
`from curves import *` will now correctly import `BRAINPOOLP256r1` and
5+
`BRAINPOOLP320r1` curves.
6+
7+
New features:
8+
ECDH operations have a public explicit API.
9+
Large hashes are now supported with small curves (e.g. SHA-256 can be used
10+
with NIST192p).
11+
`VerifyingKey` now supports the `precompute()` method to further speed up
12+
signature verification with the given instance of the key.
13+
14+
New API:
15+
`VerifyingKey`, `SigningKey`, `Public_key`, `Private_key` and
16+
`CurveFp` now have `__eq__` methods.
17+
`ecdsa.ecdh` module and `ECDH` class.
18+
`PointJacobi` added.
19+
`VerifyingKey.verify_digest`, `SigningKey.sign_digest` and
20+
`SigningKey.sign_digest_deterministic` methods now accept `allow_truncate`
21+
argument to enable use of hashes larger than the curve order.
22+
`VerifyingKey` `from_pem` and `from_der` now accept `hashfunc` parameter
23+
like other `from*` methods.
24+
`VerifyingKey` has `precompute` method now.
25+
`VerifyingKey.from_public_point` may now not perform validation of public
26+
point when `validate_point=False` argument is passed to method.
27+
`CurveFp` constructor now accepts the `h` parameter - the cofactor of the
28+
elliptic curve, it's used for selection of algorithm of public point
29+
verification.
30+
31+
Performance:
32+
`randrange` now will now perform much fewer calls to system random number
33+
generator.
34+
`PointJacobi` introduced and used as the underlying implementation; speeds up
35+
the library by a factor of about 20.
36+
Library has now optional dependencies on `gmpy` and `gmpy2`. When they are
37+
availbale, the elliptic curve calculations will be about 3 times faster.
38+
39+
Maintenance:
40+
expected minimum version of `six` module (1.9.0) is now specified explicitly
41+
in `setup.py` and tested against.
42+
Significantly faster test suite execution.
43+
144
* Release 0.14.1 (06 Nov 2019)
245

346
Remove the obsolete `six.py` file from wheel

0 commit comments

Comments
 (0)