News for hackers. Stuff that matters.
Re:Mender – An open-source OTA software updater for embedded... by ralphmender on Monday February 27, 2017 @12:50PM (#13746169)
<disclaimer: I am with Mender>

We have been evaluating OSTree as a potential building block for Mender, however the key challenges we've come across:

integrating OSTree into an existing device/OS seems quite invasive - https://ostree.readthedocs.io/en/latest/manual/adapting-exis...

block level signatures is not possible, which we feel is a requirement for an over-the-air updater

rollback is not built-in and can be quite challenging to implement reliably (bootloader level)

Think OSTree as more of a building block, like Git is for your development process. We might use it in the future but robustness and easy integration are our first priorities.

Re:Mender – An open-source OTA software updater for embedded... by mwcampbell on Monday February 27, 2017 @01:21PM (#13746440)
Why is it important to have signatures at the block level? Wouldn't signing an archive or binary diff be good enough?
Re:Mender – An open-source OTA software updater for embedded... by eystein on Monday February 27, 2017 @04:35PM (#13748391)
Signing an archive would probably be good enough for many cases. Block level is a bit simpler (all or nothing) and thus less risk of mixing with unsigned parts (sideloading attacks).

For security-sensitive embedded devices (e.g. payment terminals), block level signatures would allow hardware verification during boot as well (1st stage bootloader verifies 2nd stage, then kernel, etc.) if designed correctly.