Python-RSA 4.0 released!

After over two years of silence, Python-RSA 4.0 has been released! There are many improvements and also backward-incompatible changes (hence the increase of the major version number).

Get it while it’s hot at the Python Package Index, or just install with pip install --upgrade rsa.

This release contains improvements by adamantike, Alexandr, David Larlet, Fabio Alessandro Locati, Florian Motlik, Hugo, Jon Banafato, Jon Dufresne, Joost Rijneveld, Justin Simon, Michael Manganiello, yjqiang, and myself of course.

  • Dropped support for Python 2.6 and 3.3.
  • These modules were deprecated in version 3.4, and are now removed:
    • rsa.varblock
    • rsa.bigfile
    • rsa._version133
    • rsa._version200
  • Removed CLI commands that use the VARBLOCK/bigfile format.
  • Ensured that PublicKey.save_pkcs1() and PrivateKey.save_pkcs1() always return bytes.
  • Dropped support for Psyco.
  • Miller-Rabin iterations determined by bitsize of key. #58
  • Added function rsa.find_signature_hash() to return the name of the hashing algorithm used to sign a message. rsa.verify() now also returns that name, instead of always returning True. #78
  • Add support for SHA-224 for PKCS1 signatures. #104
  • Transitioned from requirements.txt to Pipenv for package management.
dr. Sybren A. Stüvel
dr. Sybren A. Stüvel
Open Source software developer, photographer, drummer, and electronics tinkerer

Related