Skip to content

Bump rsa from 4.0 to 4.7 - #7

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/rsa-4.7
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/rsa-4.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 30, 2021

Copy link
Copy Markdown

Bumps rsa from 4.0 to 4.7.

Changelog

Sourced from rsa's changelog.

Version 4.7 - released 2021-01-10

  • Fix #165: CVE-2020-25658 - Bleichenbacher-style timing oracle in PKCS#1 v1.5 decryption code
  • Add padding length check as described by PKCS#1 v1.5 (Fixes #164)
  • Reuse of blinding factors to speed up blinding operations. Fixes #162.
  • Declare & test support for Python 3.9

Version 4.4 & 4.6 - released 2020-06-12

Version 4.4 and 4.6 are almost a re-tagged release of version 4.2. It requires Python 3.5+. To avoid older Python installations from trying to upgrade to RSA 4.4, this is now made explicit in the python_requires argument in setup.py. There was a mistake releasing 4.4 as "3.5+ only", which made it necessary to retag 4.4 as 4.6 as well.

No functional changes compared to version 4.2.

Version 4.3 & 4.5 - released 2020-06-12

Version 4.3 and 4.5 are almost a re-tagged release of version 4.0. It is the last to support Python 2.7. This is now made explicit in the python_requires argument in setup.py. Python 3.4 is not supported by this release. There was a mistake releasing 4.4 as "3.5+ only", which made it necessary to retag 4.3 as 4.5 as well.

Two security fixes have also been backported, so 4.3 = 4.0 + these two fixes.

  • Choose blinding factor relatively prime to N. Thanks Christian Heimes for pointing this out.
  • Reject cyphertexts (when decrypting) and signatures (when verifying) that have been modified by prepending zero bytes. This resolves CVE-2020-13757. Thanks Carnil for pointing this out.

Version 4.2 - released 2020-06-10

  • Rolled back the switch to Poetry, and reverted back to using Pipenv + setup.py for dependency management. There apparently is an issue no-binary installs of packages build with Poetry. This fixes #148
  • Limited SHA3 support to those Python versions (3.6+) that support it natively. The third-party library that adds support for this to Python 3.5 is a binary package, and thus breaks the pure-Python nature of Python-RSA. This should fix #147.

... (truncated)

Commits
  • fa3282a Bumped version to 4.7
  • a364e82 Marked version 4.7 as released
  • 539c54a Fix #170: mistake in examples of documentation
  • b81e317 Declare support for and test Python 3.9
  • 06ec1ea Fix #162: Blinding uses slow algorithm
  • 341e5c4 Directly raise DecryptionError when crypto length is bad
  • f254895 Use bytes.find() instead of bytes.index()
  • 240b0d8 Add link to changelog
  • f878c37 Fix