All of lore.kernel.org
 help / color / mirror / Atom feed
* Some questions about the U-Boot verified boot
@ 2021-07-08  9:13 Thomas Perrot
  0 siblings, 0 replies; only message in thread
From: Thomas Perrot @ 2021-07-08  9:13 UTC (permalink / raw)
  To: u-boot

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

Hello everyone,

I have a question about the verified boot, is it possible to sign both
images and configurations in the same fitimage?

I ask the question because when I try to do that then the image
signature checking always fails, when calling the source command,
without preventing the loading of the bootscr.

I would like that the loading is strictly interrupted, in case of
failure of an image signature checking or a configuration signature
checking.

Moreover, when configurations aren’t signed or with an invalid key then
an error is well raised and loading interrupted.

In addition, from the dtb, the property “required” of the signature
node is set to config.
Then it doesn’t seem possible to sign images and configurations with
the same key, even using different fitimage.
Could using two keys solve my issue?

Is there a way to make the verified boot strict, to prohibit the use of
fitimage which does not contain any signature, and ensure that either
the images or the configurations are always signed?
In my case, setting the variable verify=yes seems doesn’t work
correctly.

NB. I’m using the version 2020.04. 

Best regards,
Thomas Perrot

-- 
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-08  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08  9:13 Some questions about the U-Boot verified boot Thomas Perrot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.