microtun-boot Brings FN-DSA-512 Secure Boot to Pico 2 and ESP32, Unaudited
Security / news
microtun-boot Brings FN-DSA-512 Secure Boot to Pico 2 and ESP32, Unaudited
The Rust bootloader signs application images with a pre-standard FIPS 206 draft, while the ROM stages beneath it still rely on RSA-3072 and secp256k1.

A bootloader that verifies firmware with a post-quantum signature now runs on ESP32-C3, C5 and C6 boards and the Raspberry Pi Pico 2, but only the application image is covered: the ROM stages that load the bootloader still use RSA-3072 on ESP32 and secp256k1 on the RP2350. The project is microtun-boot, a Rust bootloader on GitHub, and its own threat model says the signature scheme has not been independently audited.
What microtun-boot does
The repository describes a "secure boot bootloader written in Rust, compatible with MCUboot." It reuses MCUboot's on-flash image header, TLVs and trailer. On each boot it authenticates the application, applies any pending upgrade, and refuses to start an image that fails verification. It also draws a line against MCUboot: it calls itself "an independent project, not affiliated with MCUboot."
Signatures use FN-DSA-512 over SHA-256, through the signer's fn-dsa-512-exp profile, which the README labels a pre-standard draft of FIPS 206. The README calls the whole project "an experimental prototype" and tells readers to read SECURITY.md and THREAT-MODEL.md before using it in a product. The repository showed 58 stars, 2 forks and 22 commits when fetched on December 6.
Encrypted and compressed images are rejected. Upgrade modes include swap-using-scratch with revert and power-fail resume, overwrite-only, and direct-XIP. Policy options cover downgrade prevention, a minimum version and a hardware security counter for anti-rollback.
Why the signature scheme is the risky part
FN-DSA is the Falcon-based scheme NIST has been writing up as FIPS 206. DigiCert reported that NIST submitted the draft for approval on August 28, 2025, and that a final standard was expected in late 2026 or early 2027. That article is dated September 5, 2025 and does not say whether the standard has since been published, so the status below is the one the microtun threat model assumes: unpublished.
The threat model says the profile is built on the fn-dsa 0.4 crate's reading of an unpublished draft, with a provisional key OID and a vendor-range TLV. A signature made today could therefore fail to verify against a later, final specification. The same document lists the lack of an independent audit as limitation L11.
The README gives no public key size, signature size or verification time, so a developer cannot yet judge flash cost or boot delay from the project's own pages.
Where the threat model admits gaps
The threat model defends fully against only one attacker: a remote supplier of image bytes. Code running inside the application and an attacker using only debug or boot interfaces are partly covered. Fault injection is best effort, and flash-bus interposers and anyone holding a signing key are out of scope.
| Board | Gap listed in the threat model |
|---|---|
| ESP32 family | Slot locations come from an unsigned partition table; flash encryption unsupported (L6, L7) |
| ESP32-C5 | Hardware rollback counter not enforced; no TRNG jitter (L8a, L8b) |
| ESP32-C6 | No supported glitch detector; no hardware CI coverage (L8c) |
| RP2350 (Pico 2) | Enrollment is trust-on-first-use; BOOTSEL stays enabled (L9, L10) |
Two gaps apply everywhere. No board gives the bootloader itself hardware anti-rollback, so an older vulnerable bootloader signed by the same root key could be reflashed (L4). And if the MICROTUN_BOOT_PUBKEYS variable is unset, a build may trust a locally generated development key (L5).

The quantum caveat and the licence
The threat model excludes quantum attacks on the ROM stages. It also says a December 2026 NSA advisory reports findings affecting some public-key signature systems, and that secp256k1, used by the RP2350 ROM, may be affected (L12). The Terminal could not verify that advisory from the page, and the site's own post-quantum coverage is a better guide to what vendors have shipped.
The licence is PolyForm Noncommercial 1.0.0, which the README calls "a source-available license, not an open-source license." Commercial use needs a separate written agreement. For another post-quantum change in widely deployed software, see the site's WireGuard coverage.
Anyone testing it should use an expendable board, as the README advises for hardware tests, set MICROTUN_BOOT_PUBKEYS explicitly, and treat the signature profile as one that may need re-signing once FIPS 206 is final.
Sources
More in Security
- 01Minisign 2.0.0 Signs With SLH-DSA, and 0.12 Cannot Verify ItThe December 5 release adds NIST FIPS 205 signatures that run to 10,622 bytes, against 322 for Ed25519 on the same Linux tarball.
- 02Resold Telstra 5G Modem 2 Arrived Joined to a Stranger's Tailscale Network, With a Root Telnet ShellA buyer's teardown dates the Tailscale node to the day the buyer first messaged the seller; the post claims no proof the access was ever used.
- 03EU Says Meta Failed to Stop Scam Ads on Facebook and Instagram, Cites Four Risk Reports With No ChangeThe Commission's December 3 preliminary findings under the DSA cite 'billions of impressions' and a fine ceiling of 6% of turnover; Meta rejects them.
- 0496 Top-Million Domains Still Publish DKIM Keys From Debian's 32,768-Key OpenSSL BugDebian fixed CVE-2008-0166 on May 13, 2008, but DKIM does not expire keys, and a December 5 scan found 96 domains still signing with the 2006-2008 weak set.