[U-Boot] [PATCH v2] fit signature: Add fallback of required keys
Tom Rini
trini at konsulko.com
Fri May 10 01:06:52 UTC 2019
On Mon, Apr 22, 2019 at 04:28:01PM -0500, Sam Voss wrote:
> Validation of fit image configuration signatures does not seem to do a
> "fall-back" mechanism as mentioned in doc/uImage.FIT/signature.txt.
>
> The current constraints seem to only allow the following:
>
> - skipping keys not marked "required" (not attempting to validate
> with them at all)
> - checking a key marked required, but if it does not pass the validation
> entirely fails (no fall-back)
>
> This patch keeps the non-required mechanism, however changes the
> required key logic to check all keys until a key that can validate the
> configuration is found. If none is found, an error is raised as before
> and boot is halted.
>
> Signed-off-by: Sam Voss <sam.voss at rockwellcollins.com>
This breaks 'make tests' as it doesn't update the tests, please fix,
thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190509/be0b53dc/attachment.sig>
More information about the U-Boot
mailing list