[U-Boot] [PATCH] common, image-sig: [BUG?] if no valid signature node found, do not boot signed FIT image

Tom Rini trini at konsulko.com
Fri Jun 9 01:06:35 UTC 2017


On Thu, Jun 08, 2017 at 11:52:45AM +0200, Heiko Schocher wrote:

> fit_image_verify_required_sigs() must return != 0, on error.
> 
> When fit_image_verify_required_sigs() does not find a signature
> node, it returns 0, which leads in booting a signed FIT image.
> 
> Fix this!
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>

Good catch.  Did you confirm that the sandbox tests still work?  And can
you construct a new test for this case?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170608/9bccc5d7/attachment.sig>


More information about the U-Boot mailing list