Announcing uOTA and certificate pinning libraries

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
mkomon
Posts: 3
Joined: Fri Oct 22, 2021 6:04 pm

Announcing uOTA and certificate pinning libraries

Post by mkomon » Fri Oct 22, 2021 8:30 pm

I've written two supporting libraries for my project that I can share with the world.

uOTA - OTA for MicroPython applications
Github repo: https://github.com/mkomon/uota
Perform OTA update of your code by downloading a .tar.gz file and unpacking it into the filesystem. New firmware is downloaded from any HTTP/HTTPS server, allowing you keep full control over your infrastructure, updates within your private network etc, without depending on Github.

ucertpin - Certificate Pinning for MicroPython
Github repo: https://github.com/mkomon/ucertpin
Implement certificate pinning on TLS/SSL connections when using MicroPython's urequests by comparing the SHA256 hash of server's private key against a defined value.

Both are reasonably well tested using MicroPython 1.17 on ESP32 (both WROOM or WROVER) but I will be doing some more testing and fixing in the next few days. Any feedback, particularly about the API and documentation, is appreciated.

Post Reply