Skip to content

Commit f27b20f

Browse files
committed
release 0.16.0
1 parent bf3528d commit f27b20f

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

Diff for: NEWS

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
* Release 0.16.0 (27 Aug 2020)
2+
3+
New features:
4+
Support for reading and writing private keys in PKCS#8 format.
5+
6+
New API:
7+
`to_pem` and `to_der` now accept new parameter, `format`, to specify
8+
the format of the encoded files, either the dafault, legacy "ssleay", or
9+
the new `pkcs8` to use PKCS#8. Note that only unencrypted PKCS#8 files are
10+
supported.
11+
Add `allow_truncate` to `verify` in `VerifyingKey`, it defaults to True,
12+
when specified as False, use of large hashes smaller than curves will be
13+
disallowed (as it was in 0.14.1 and earlier).
14+
15+
Bug fix:
16+
Correctly calculate signatures for private keys equal to n-1.
17+
Make `PointJacobi` and thus `SigningKey` and `VerifyingKey` pickleable.
18+
19+
Doc fixes:
20+
`to_pem` functions return `bytes` not `str`, document them as such.
21+
`from_pem` and `from_pem` in `SigningKey` returns `SigningKey`, document them
22+
as such.
23+
24+
Maintenance:
25+
Ensure that version checks will work with Python 4.
26+
Format the source with black.
27+
Fix uses of `assert_` in test suite.
28+
Use newer Ubuntu in Travis to test against OpenSSL 1.1.1 (and thus
29+
test the interoperability of ECDH code in Travis).
30+
131
* Release 0.15 (02 Jan 2020)
232

333
Bug fixes:

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Coverage Status](https://coveralls.io/repos/warner/python-ecdsa/badge.svg)](https://coveralls.io/r/warner/python-ecdsa)
55
[![condition coverage](https://img.shields.io/badge/condition%20coverage-81%25-yellow)](https://travis-ci.org/warner/python-ecdsa/jobs/626479178#L776)
66
[![Latest Version](https://img.shields.io/pypi/v/ecdsa.svg?style=flat)](https://pypi.python.org/pypi/ecdsa/)
7+
![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat)
78

89

910
This is an easy-to-use implementation of ECDSA cryptography (Elliptic Curve

0 commit comments

Comments
 (0)