RSA implementation for CircuitPython based on python-rsa
OTHER License
Bot releases are hidden (Show)
Published by evaherrada over 3 years ago
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-rsa
.
Read the docs for info on how to use it.
Published by evaherrada over 3 years ago
pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.
You can run pre-commit locally with pre-commit run --all-files
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-rsa
.
Read the docs for info on how to use it.
Published by brentru about 4 years ago
This release:
sha_test_sign_verify
when running rsa_tests.py
. Thanks @dherrada.int2bytes
is an integer type. Thanks @dherradaTo use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-rsa
.
Read the docs for info on how to use it.
Published by evaherrada over 4 years ago
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-rsa
.
Read the docs for info on how to use it.
Published by FoamyGuy over 4 years ago
We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.
.pylintrc
file to match Adafruit standardFor more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip3 install adafruit-circuitpython-rsa
.
Read the docs for info on how to use it.
Published by evaherrada over 4 years ago
This release includes:
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Published by brentru about 5 years ago
Adds appropriate __version__
and __repo__
strings to adafruit_rsa/*.py
files for CircuitPython consistency.
__version__
string reflecting the python-rsa version in __init__.py
commented out.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Published by brentru about 5 years ago
Fixes extra-zero-append error within transform.py
/int2bytes
causing invalid RSA signatures.
Adds util/
folder with script to run on your computer (not the CircuitPython device) to generate public (rsa_public.pem
) and private(rsa_private.pem
) key pairs. The script also decodes the generated rsa_private.pem
into a PrivateKey
tuple for copy/paste into a secrets.py
dict. file on a CircuitPython board.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Published by brentru about 5 years ago
CircuitPython_RSA
is a port of Python-RSA, a pure-Python RSA implementation to CircuitPython.
Modifications from Python-RSA
fast_pow
, CircuitPython's pow()
does not support modular exponentiation.binascii
and hashlib
modules replaced with Adafruit_CircuitPython_binascii
and Adafruit_CircuitPython_hashlib
Support for:
Adafruit_CircuitPython_hashlib
, pure-python implementation. SHA-1 and MD5 are currently unsupported.)Examples are provided for signature creation/verification, keypair generation and encryption/decryption, and a unit-test-like for testing future modifications to this library.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.