summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ecdsa_0.16.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-ecdsa: Upgrade 0.16.0 -> 0.16.1Leon Anavi2021-01-141-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 0.16.1: - VerifyingKey.precompute() supports lazy argument to delay precomputation to the first time the key is used to verify a signature. - Documentation for the VerifyingKey.precompute() method. - 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 when used with NIST P-521 curve). - Speed up library load time by calculating the generator point multiplication tables the first time the points are used, not when they are initialised. - Include Python 3.9 in CI testing. - Test coverage for the VerifyingKey.precompute() method. - Small speed-ups for the test suite. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-ecdsa: Upgrade 0.15 -> 0.16.0Leon Anavi2020-09-021-0/+14
Upgrade to release 0.16.0: - Support for reading and writing private keys in PKCS#8 format. - 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) - Correctly calculate signatures for private keys equal to n-1 - Make PointJacobi and thus SigningKey and VerifyingKey pickleable - to_pem functions return bytes not str, document them as such - from_pem and from_pem in SigningKey returns SigningKey, document them as such - 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). Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>