Pico HSM 6.6 adds ESP32 secure boot support through a beta integration path and extends support to ESP32-S2. The release updates the SDK and Mbed TLS and includes security, build, and runtime fixes.
Main changes
- Secure Boot support for ESP32 (beta integration path).
- ESP32 LED HIGH/LOW support and ESP32-S2 support.
- Upgrade to Pico Keys SDK 8.6.
- Upgrade to Mbed TLS 3.6.6.
- New security regression tests (including PKCS#11 regression coverage).
- Added SDK BULK command support to reduce communication bandwidth.
- Added SDK OpenSSL backend for emulation flows.
Security and hardening
- Improved ACL setup and ACL macro usage.
- Private objects are now protected from read access without authentication.
- PIN/MKEK handling migrated to a newer internal system.
- Secure messaging validation strengthened (including MAC-length checks).
- Anti-rollback and secure-boot/OTP internals updated.
Reliability and build fixes
cyw43and LED-related build issues.- MLKEM build fixes.
- Include/link fixes (including mbedtls/OpenSSL backend linkage).
- Strict non-prototype declaration warnings.
- Secure Boot enable/check integration issues.
- Bounds checking fixes in
UPDATE EF. secp521r1compatibility fixes with newer OpenSSL.- Rare SDK race-condition fix.
- Better handling for
sc-hsm-toolfalse-negative exit codes.
Behavior changes
- Removed legacy debug/unused code.
- Removed legacy session PIN command/path.
- OTP FIDO is no longer exposed through CCID when unavailable.
- Memory layout and tests were updated accordingly.
Upgrade notes
If you’re upgrading from v6.4, run these checks before deployment:
- Rebuild with the updated SDK/toolchain settings.
- Re-run your integration and PKCS#11 regression tests.
- Validate secure-boot and ACL-related behavior in your target environment.
- Review CCID behavior if your setup relied on OTP FIDO exposure.
