Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 4.9.1 instead.
Reason given by maintainers: Made a mistake

Pure Python RSA implementation

PyPI Build Status Coverage Status Code Climate

Python-RSA is a pure-Python RSA implementation. It supports encryption and decryption, signing and verifying signatures, and key generation according to PKCS#1 version 1.5. It can be used as a Python library as well as on the commandline. The code was mostly written by Sybren A. Stüvel.

Documentation can be found at the Python-RSA homepage. For all changes, check the changelog.

Download and install using:

pip install rsa

or download it from the Python Package Index.

The source code is maintained at GitHub and is licensed under the Apache License, version 2.0

Major changes in 4.1

Version 4.0 was the last version to support Python 2 and 3.4. Version 4.1 is compatible with Python 3.5+ only.

Major changes in 4.0

Version 3.4 was the last version in the 3.x range. Version 4.0 drops the following modules, as they are insecure:

  • rsa._version133
  • rsa._version200
  • rsa.bigfile
  • rsa.varblock

Those modules were marked as deprecated in version 3.4.

Furthermore, in 4.0 the I/O functions is streamlined to always work with bytes on all supported versions of Python.

Version 4.0 drops support for Python 2.6 and 3.3.

Metadata

Release files for rsa 4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rsa 4.4
File Size Uploaded Provenance Actions
rsa-4.4.tar.gz 46.9 kB Without provenance Details for rsa-4.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rsa 4.4
File Interpreter ABI Platform Actions
rsa-4.4-py2.py3-none-any.whl Python 3, Python 2 none any Details for rsa-4.4-py2.py3-none-any.whl

Total release size: 80.5 kB

Release files / rsa-4.4.tar.gz

Download URL rsa-4.4.tar.gz
Size 46.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5d95293bbd0fbee1dd9cb4b72d27b723942eb50584abc8c4f5f00e4bcfa55307
BLAKE2b-256 checksum
How to use checksums
b1ae3e3103cedd233415984e1882e10490ada9e138f106f98e60b5c51aedc0f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.6.9

Release files / rsa-4.4-py2.py3-none-any.whl

Download URL rsa-4.4-py2.py3-none-any.whl
Size 33.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4afbaaecc3e9550c7351fdf0ab3fea1857ff616b85bab59215f00fb42e0e9582
BLAKE2b-256 checksum
How to use checksums
6cd58523e9a849ca91bb498badfbca159af6db1a9b41e84ab539ab6cdea2268f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.46.1 CPython/3.6.9

Security for rsa 4.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.4 This release

2 release files No provenance

3.2.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page