public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] Introduce new sign binman's option
@ 2022-03-21 21:43 Ivan Mikhaylov
  2022-03-21 21:43 ` [PATCH 1/3] binman: add sign option for binman Ivan Mikhaylov
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Ivan Mikhaylov @ 2022-03-21 21:43 UTC (permalink / raw)
  To: Simon Glass, Jan Kiszka; +Cc: u-boot, Ivan Mikhaylov

From: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

This patch introduces prototype of new sign binman's option.
Enhancing the sign procedure, as example:

mkimage -G privateky -r -o sha256,rsa4096 -F fit.fit
binman replace -i flash.bin -f fit.fit fit

into:
binman sign -i flash.bin -k privatekey -a sha256,rsa4096 -f fit.fit fit

It works with extracted FIT container and image, which provides key signing
and replacing FIT container in directed image.

Also, I'll add additional enhancement in future to this procedure with
skipping on FIT container and providing extract->sign->replace in whole
instead of sign->replace with documentation update and test as well.

As example:

binman sign -i flash.bin -k privatekey -a sha256,rsa4096 -f fit


Ivan Mikhaylov (3):
  binman: add sign option for binman
  binman: add documentation for binman sign option
  binman: add test for sign option

 tools/binman/binman.rst            | 10 +++++
 tools/binman/cmdline.py            | 13 ++++++
 tools/binman/control.py            | 26 +++++++++++-
 tools/binman/ftest.py              | 42 +++++++++++++++++++
 tools/binman/test/225_fit_sign.dts | 67 ++++++++++++++++++++++++++++++
 5 files changed, 157 insertions(+), 1 deletion(-)
 create mode 100644 tools/binman/test/225_fit_sign.dts

-- 
2.35.1


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

end of thread, other threads:[~2023-02-17 23:51 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-21 21:43 [PATCH 0/3] Introduce new sign binman's option Ivan Mikhaylov
2022-03-21 21:43 ` [PATCH 1/3] binman: add sign option for binman Ivan Mikhaylov
2022-04-05 18:54   ` Alper Nebi Yasak
2022-04-06 20:28     ` Ivan Mikhaylov
2022-04-06 22:22       ` Alper Nebi Yasak
2022-09-06 16:27         ` Ivan Mikhaylov
2022-09-07 21:10           ` Simon Glass
2022-09-15 22:44             ` Ivan Mikhaylov
2022-11-18 20:50               ` Simon Glass
2022-12-13 21:51                 ` Ivan Mikhaylov
2022-12-17 22:02                   ` Simon Glass
2022-12-25  1:35                     ` Ivan Mikhaylov
2023-01-13 18:00                       ` Simon Glass
2023-01-16  2:54                         ` Ivan Mikhaylov
2023-02-04 22:23                           ` Simon Glass
2023-02-14 23:37                             ` Ivan Mikhaylov
2023-02-17 23:49                               ` Simon Glass
2022-03-21 21:43 ` [PATCH 2/3] binman: add documentation for binman sign option Ivan Mikhaylov
2022-03-21 21:43 ` [PATCH 3/3] binman: add test for " Ivan Mikhaylov
2022-04-08 15:39   ` Sean Anderson
2022-04-08 19:26     ` Ivan Mikhaylov
2022-04-10 22:37       ` Alper Nebi Yasak
2022-04-11 15:02         ` Sean Anderson
2022-08-13 14:59 ` [PATCH 0/3] Introduce new sign binman's option Simon Glass
2022-08-15 21:51   ` Ivan Mikhaylov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox