mprsa: A MicroPython module for working with RSA keys #10457
git-n-pissed
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been needing RSA support for a while, and while several existing modules came close to giving me what I wanted, none fulfilled all my criteria, so I ended up making my own called mprsa. From the read me:
Description
This module is a mash-up of python-rsa, Toms Fast Math (ported to MicroPython by Damiano Mazzella, the author of ucrypto), and python-asn1. The goal was to create a MicroPython module that would:
Supported Key Formats
Private:
Public:
The OpenSSL commands used to generate supported keys are contained in the docstrings for the functions that operate on those keys.
Supported Hashing Algorithms
Check it out if you want. At this point I've only tested it on an ESP32-S3, so if you end up playing around with it and have the chance to run the test.py file on some other hardware and can confirm it works, let me know.
https://github.com/git-n-pissed/mprsa
Beta Was this translation helpful? Give feedback.
All reactions