# Experimental Rust bootloader brings post-quantum signatures to ESP32 and Pico 2
An experimental open-source bootloader is testing how post-quantum digital signatures could protect software running on inexpensive embedded boards. Microtun Boot is written in Rust and targets devices including variants of the ESP32 and Raspberry Pi Pico 2, using the established image layout employed by the MCUboot project while replacing conventional application signing with a post-quantum scheme.
Secure boot is the mechanism that checks firmware before a processor hands over control. In Microtun Boot’s design, the bootloader authenticates the application on every startup, completes any pending upgrade and refuses to launch an image whose verification fails. That sequence is intended to prevent altered or unauthorised firmware from running, whether it arrives through an update process or is placed directly in device storage.
The project describes itself as an independent prototype rather than an MCUboot release or affiliated product. Compatibility refers to MCUboot’s on-flash structures, including its image header, metadata records and upgrade trailer. Preserving those formats can make the experiment more useful to developers already familiar with MCUboot tooling, but it does not turn the prototype into a drop-in production security guarantee. The maintainers specifically direct prospective users to the project’s security and threat-model documents before considering product use.
Development currently requires Rust 1.95 or newer, MCUboot’s imgtool utility and version 0.16 or newer of the project’s Microtun Signer command-line software. Signing can use local development keys or connect to a signing service intended for release keys. Board-specific directories select the correct compilation target, and the documented workflow builds, signs and flashes an image from within the chosen board or example directory. A no-flash setting allows the process to stop after signing.
Testing spans both emulated and physical environments. The repository says its full regression suite runs under QEMU, while supported boards receive a smaller hardware smoke suite. A separate hardware-in-the-loop tool can flash complete boot chains and inspect their boot output. The documentation warns developers not to build every embedded target as a single workspace because the boards require incompatible compilation targets.
Post-quantum signatures are designed around mathematical problems expected to resist attacks from sufficiently capable quantum computers. Embedded adoption remains challenging because firmware storage, memory and processing budgets are limited. Microtun Boot is therefore best understood as an engineering demonstration of the integration path: it shows how newer signature machinery can fit into a familiar secure-update structure, while leaving product teams responsible for hardware-specific validation, key management and a complete security review.



