All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable strict signature verification for FIT
@ 2021-09-16 13:09 Oleksandr Suvorov
  2021-09-16 13:09 ` [PATCH 1/2] spl: Add CONFIG_SPL_FIT_SIGNATURE_STRICT Oleksandr Suvorov
  0 siblings, 1 reply; 6+ messages in thread
From: Oleksandr Suvorov @ 2021-09-16 13:09 UTC (permalink / raw)
  To: u-boot
  Cc: Oleksandr Suvorov, Alexandru Gagniuc, Bin Meng, Henry Beberman,
	Klaus Heinrich Kiwi, Marek Vasut, Masahisa Kojima, Michal Simek,
	Philippe Reynes, Ricardo Salveti, Simon Glass, Steffen Jaeckel


FIT load checks the signature on loadable images, but just continues
in the case of a failure. This is undesirable behavior because the boot
process depends on the authenticity of every loadable part.

Add a check that verifies the FIT's configuration block, and fails if
it's not present or the signature doesn't match.


Henry Beberman (1):
  spl: Add CONFIG_SPL_FIT_SIGNATURE_STRICT

Ricardo Salveti (1):
  cmd: Add CONFIG_FIT_SIGNATURE_STRICT

 cmd/fpga.c           | 14 ++++++++++++++
 cmd/source.c         | 14 ++++++++++++++
 cmd/ximg.c           | 14 ++++++++++++++
 common/Kconfig.boot  | 11 +++++++++++
 common/spl/spl_fit.c | 21 ++++++++++++++++++++-
 5 files changed, 73 insertions(+), 1 deletion(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-16 18:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 13:09 [PATCH 0/2] Enable strict signature verification for FIT Oleksandr Suvorov
2021-09-16 13:09 ` [PATCH 1/2] spl: Add CONFIG_SPL_FIT_SIGNATURE_STRICT Oleksandr Suvorov
2021-09-16 13:09   ` [PATCH 2/2] cmd: Add CONFIG_FIT_SIGNATURE_STRICT Oleksandr Suvorov
2021-09-16 15:09     ` Igor Opaniuk
2021-09-16 17:54       ` Oleksandr Suvorov
2021-09-16 18:30   ` [PATCH 1/2] spl: Add CONFIG_SPL_FIT_SIGNATURE_STRICT Alex G.

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.