Capsule GUIDs and LVFS
Richard Hughes
hughsient at gmail.com
Thu Apr 25 18:13:21 CEST 2024
On Thu, 25 Apr 2024 at 16:16, Caleb Connolly <caleb.connolly at linaro.org> wrote:
> I discussed an idea with Ilias to generate GUIDs dynamically based on
> the board compatible/model, which seem to essentially just an
> abstraction on this..
Yup, that works too -- on the assumption the compatible string is unique enough.
> >> Of course, it's much better if they have different GUIDs
> >> in the ESRT to completely avoid the chance of the wrong firmware being
> >> flashed on the wrong device.
>
> So expanding on the above a bit, the idea Ilias and I brainstormed was
> to use v5 GUIDs (which are deterministic based on a "salt" GUID and some
> arbitrary data which is hashed together). We would use the board model
> and compatible, as well as the firmware image name to generate these.
So that's kinda like Microsoft CHID, and I'm wondering why you
couldn't just use one of the GUIDs from `sudo fwupdtool hwids`
actually *as* the capsule GUID.
Richard.
More information about the U-Boot
mailing list