Releases: adafruit/Adafruit_CircuitPython_RSA
1.0.3 - Changed CI from Travis to GitHub Actions
This release includes:
- Migrating this repository from Travis to GitHub Actions. This has no effect on the behavior of the code itself.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Add CircuitPython __version__ and __repo__
-
Adds appropriate
__version__
and__repo__
strings toadafruit_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.
Fixing extra-zero-append error, adding an utilities folder
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.
Initial Release - CircuitPython_RSA
CircuitPython_RSA
is a port of Python-RSA, a pure-Python RSA implementation to CircuitPython.
Modifications from Python-RSA
- Command-line-specific tools have been removed from the library to save space.
- CPython Logging has been replaced with the Adafruit CircuitPython Logger Module.
- Miller–Rabin Primality test algorithm modified to support library's
fast_pow
, CircuitPython'spow()
does not support modular exponentiation. - CPython
binascii
andhashlib
modules replaced withAdafruit_CircuitPython_binascii
andAdafruit_CircuitPython_hashlib
Support for:
- RSA Key pair (private/public) generation
- Message encryption and decryption
- Signature creation and verification
- w/SHA-256, SHA-384, SHA-512 (using
Adafruit_CircuitPython_hashlib
, pure-python implementation. SHA-1 and MD5 are currently unsupported.)
- w/SHA-256, SHA-384, SHA-512 (using
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.