SWUpdate 2025.12 released
SWUpdate 2025.12 is available: 131 commits from 11 contributors. The big topic of this release is security.
Highlights
New crypto subsystem. The crypto code was rewritten: several crypto engines can now be built in and selected, instead of a single library at build time.
Asymmetric encryption and revocation of devices. sw-description can be encrypted for each device with its own key pair (CMS), while the artifacts stay encrypted with AES. A compromised device key does not affect the other devices, and a device can be excluded from future updates. The AES key can change with every update.
Update types. A SWU can declare its type, for example application or
OS, and each type has its own setup in swupdate.cfg: pre- and post-update
commands, minimum and maximum versions, no downgrading.
More:
- XZ compression for artifacts
- MTD names in the copy handler
- the Linux command line is available in Lua
- dry run in the progress client
- socket path option in swupdate-client
- web server updated to Mongoose 7.20
Fixes
- an image with an IVT of invalid size is refused
- web server: payloads smaller than 16 KB are accepted again
- copy handler: path of chained handlers, crash without path
- flash handler: decrypted-size is optional again
- Buildroot and out-of-tree build fixes
Sources: tag 2025.12 on GitHub · Documentation