Upgrading ecdsa 0.15 to 0.16
Review needed0.15 → 0.16.1New4Changed1Fixed3Other10
Review neededUpgrade verdict
1 behavior change.
In plain terms
- The library starts up faster because some internal math tables are now built only when first needed.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
function is_sequence(string)
- changed:
method SigningKey.sign(data, entropy=…, hashfunc=…, sigencode=…, k=…) → method SigningKey.sign(data, entropy=…, hashfunc=…, sigencode=…, k=…, allow_truncate=…) - changed:
method SigningKey.to_der(point_encoding=…) → method SigningKey.to_der(point_encoding=…, format=…) - changed:
method SigningKey.to_pem(point_encoding=…) → method SigningKey.to_pem(point_encoding=…, format=…) - changed:
method VerifyingKey.precompute() → method VerifyingKey.precompute(lazy=…) - changed:
method VerifyingKey.verify(signature, data, hashfunc=…, sigdecode=…) → method VerifyingKey.verify(signature, data, hashfunc=…, sigdecode=…, allow_truncate=…)
- removed:
method TestPoint.test_inaquality_points_diff_types() - added:
method TestPoint.test_inequality_points_diff_types()
- added:
method TestJacobi.test_equality() - added:
method TestJacobi.test_pickle()
- added:
function test_SigningKey_with_unlikely_value() - added:
method TestSigningKey.test_compare_verifying_key_with_precompute() - added:
method TestSigningKey.test_verify_with_lazy_precompute() - added:
method TestSigningKey.test_verify_with_precompute()
- added:
class TooSmallCurve(unittest.TestCase) - added:
field TooSmallCurve.OPENSSL_SUPPORTED_CURVES - added:
method ECDSA.test_sk_from_p8_der_with_trailing_junk_after_algorithm() - added:
method ECDSA.test_sk_from_p8_der_with_trailing_junk_after_key() - added:
method ECDSA.test_sk_from_p8_der_with_wrong_algorithm() - added:
method ECDSA.test_sk_from_p8_der_with_wrong_version() - added:
method TooSmallCurve.test_sign_too_small_curve_dont_allow_truncate_raises() - added:
method TooSmallCurve.test_verify_too_small_curve_dont_allow_truncate_raises()
- added:
variable oid_ecDH - added:
variable oid_ecMQV