commit | d15a7f3eaa90f2c48b6c4b893f4ae136a762b48f | [log] [tgz] |
---|---|---|
author | Sybren A. Stüvel <sybren@stuvel.eu> | Thu Jun 11 18:53:41 2020 +0200 |
committer | Sybren A. Stüvel <sybren@stuvel.eu> | Thu Jun 11 20:22:27 2020 +0200 |
tree | 847bb013a74481715a7a0f7ccba88a566f227023 | |
parent | 5c7696dd8a53b91b81346b1b04af8ef8e550707d [diff] |
Moving back to Pipenv to manage dependencies Poetry breaks no-binary installations of the RSA library, which defeats the purpose of this library. See https://github.com/sybrenstuvel/python-rsa/issues/148 Among other changes, this reverts commit fcf5b7457c70426a242b17db20dd4e34e1055f69. I also added a workaround for an `ImportError` importing `zipp` on Python 3.5.
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
Version 4.0 was the last version to support Python 2 and 3.4. Version 4.1 is compatible with Python 3.5+ only.
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.