Closed LupascuAndrei closed 4 years ago
Key/cert generation is the kind of thing that's best done offline on a machine that has the resources to do it. But feel free to provide examples/discussion as to why it's beneficial to do in on the board (maybe it's useful to generate keys, but I doubt it's useful to regenerate certificates).
Closing. Feel free to restart the discussion at https://forum.micropython.org
Hello ! I've implemented rsa key+(self signed) certificate generation into micropython-esp32 using mbedtls.
I'm asking if the idea to be able to generate a new key/cert pair would be considered useful enough to be integrated into this repo before making pull requests :D
My first go at it can be found here:
https://github.com/LupascuAndrei/dump/tree/master/micropython_mbedtls_key_generation_esp32
An example of using it from python:
prints the following:
It's stable, I think there are no memory leaks ( 2700 pairs generated so far in a loop, still going, will return with better results ).
I think there aren't many cases where this is needed and i'm asking if something like this would be desired in this project.
Btw, thank you a lot for the esp32 port, it's working great so far :D