NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #147 most downloaded on PyPI
Pure-Python RSA implementation
Last release 1 years ago
16 Apr 2025
Release timing varies
gaps range from 8 days to 2.7 years
Most releases are documented
notes for 25 of 35 stable releases
2 versions withdrawn
withdrawn after publishing
18 years old
37 releases · first in 2008
Final release, just to add a note about the 'archived' status of the project. No other changes. See README.md for more info.
README.md for more info.Remove debug logging from rsa/key.py (#194).
One column per quarter.
Switch to Poetry for dependency and release management.
raise new_exception from old_exception
(#157)Bumped version to 4.7.2
Bumped version to 4.7.2
Fix threading issue introduced in 4.7
Fix #165: CVE-2020-25658 - Bleichenbacher-style timing oracle in PKCS#1 v1.5 decryption code
Nothing published for this version
Nothing published for this version
Nothing published for this version
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
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.
Mark Python 2.7 in Pipfile, as this is a release specifically for Py 27
Mark Python 2.7 in Pipfile, as this is a release specifically for Py 27
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.
Rolled back the switch to Poetry, and reverted back to using Pipenv + setup.py for dependency management. There apparently is an issue no-binary insta
Nothing published for this version
…modified by prepending zero bytes. This resolves CVE-2020-13757. Thanks Adelapie for pointing this out.
Removed CLI commands that use the VARBLOCK/bigfile format.
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.
#78requirements.txt to Pipenv for package management.- Fixed dates in CHANGELOG.txt
Included tests/private.pem in MANIFEST.in
Solved side-channel vulnerability by implementing blinding, fixes #19
[1] https://travis-ci.org/sybrenstuvel/python-rsa [2] https://coveralls.io/github/sybrenstuvel/python-rsa [3] https://codeclimate.com/github/sybrenstuvel/python-rsa [4] http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf
Thanks to Filippo Valsorda: Fix BB'06 attack in verify() by switching from parsing to comparison. See [1] for more information.
[1] https://blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa/
Added character encoding markers for Python 2.x
Nothing published for this version
Added support for wheel packages
Mentioned support for Python 3 in setup.py
- Fixed some bugs
- Dropped support for Python 2.5
Added Python 3.3 to the test environment.
Removed obsolete unittest so all tests run fine on Python 3.2
Big, big credits to Yesudeep Mangalapilly for all the changes listed below!
Removed unused import of abc module
Changed the meaning of the keysize to mean the size of n rather than the size of both p and q. This is the common interpretation of RSA keysize. To ge
n rather than
the size of both p and q. This is the common interpretation of
RSA keysize. To get the old behaviour, double the keysize when generating a
new key.Security improvements by Barry Mead.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →