Skip to content

Python-RSA is a pure-Python RSA implementation.

License

Notifications You must be signed in to change notification settings

methane/python-rsa

This branch is 6 commits ahead of, 71 commits behind sybrenstuvel/python-rsa:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 11, 2021
fd273d0 · Jun 11, 2021
Feb 24, 2021
Jun 11, 2021
Jun 10, 2021
Aug 4, 2019
Mar 24, 2021
Aug 4, 2019
Feb 24, 2021
Mar 29, 2021
Feb 5, 2016
Mar 26, 2016
Feb 24, 2021
Jun 3, 2020
Feb 24, 2021
Mar 29, 2021
Jun 15, 2020
Nov 29, 2017
Feb 24, 2021
Feb 24, 2021

Repository files navigation

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

Security

Because of how Python internally stores numbers, it is very hard (if not impossible) to make a pure-Python program secure against timing attacks. This library is no exception, so use it with care. See https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/ for more info.

Setup of Development Environment

python3 -m venv .venv
. ./.venv/bin/activate
pip install poetry
poetry install

Publishing a New Release

. ./.venv/bin/activate
poetry publish --build

About

Python-RSA is a pure-Python RSA implementation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.0%
  • Shell 1.0%