All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] mkimage: Add a 'keyfile' argument for image signing
@ 2021-02-04 19:57 Alexandru Gagniuc
  2021-02-04 19:57 ` [PATCH 1/4] doc: signature.txt: Document the keydir and keyfile arguments Alexandru Gagniuc
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Alexandru Gagniuc @ 2021-02-04 19:57 UTC (permalink / raw)
  To: u-boot

This series is a continuation of the following series
 *    [PATCH v5 0/6] Add support for ECDSA image signing (with test)

There were some requests in the previous series to be more consistent
between RSA and ECDSA paths, particularly in the area of handling the
'keydir' argument.

This series adds a 'keyfile' argument to be used in lieu of the
antiquated 'keydir'. Using 'keyfile' allows signing images that do not
contain a "key-name-hint" property.

Other issues, such as automatically adding the 'signature' node were
discussed. Such features are beyond the scope of this series. I am
going to halt any further work on mkimage because of time constraints.
I hope the corrections in this series are sufficient to finally allow 
users to sign their images with ECDSA.


Alexandru Gagniuc (4):
  doc: signature.txt: Document the keydir and keyfile arguments
  mkimage: Add a 'keyfile' argument for image signing
  lib/rsa: Use the 'keyfile' argument from mkimage
  lib/ecdsa: Use the 'keydir' argument from mkimage if appropriate

 doc/uImage.FIT/signature.txt | 13 +++++++++
 include/image.h              |  8 ++++--
 lib/ecdsa/ecdsa-libcrypto.c  | 10 ++++++-
 lib/rsa/rsa-sign.c           | 34 +++++++++++++++++------
 tools/fit_image.c            |  3 +-
 tools/image-host.c           | 54 ++++++++++++++++++++----------------
 tools/imagetool.h            |  1 +
 tools/mkimage.c              |  6 +++-
 8 files changed, 91 insertions(+), 38 deletions(-)

-- 
2.26.2

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

end of thread, other threads:[~2021-02-07 14:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 19:57 [PATCH 0/4] mkimage: Add a 'keyfile' argument for image signing Alexandru Gagniuc
2021-02-04 19:57 ` [PATCH 1/4] doc: signature.txt: Document the keydir and keyfile arguments Alexandru Gagniuc
2021-02-07 14:37   ` Simon Glass
2021-02-04 19:57 ` [PATCH 2/4] mkimage: Add a 'keyfile' argument for image signing Alexandru Gagniuc
2021-02-07 14:37   ` Simon Glass
2021-02-04 19:57 ` [PATCH 3/4] lib/rsa: Use the 'keyfile' argument from mkimage Alexandru Gagniuc
2021-02-07 14:37   ` Simon Glass
2021-02-04 19:57 ` [PATCH 4/4] lib/ecdsa: Use the 'keydir' argument from mkimage if appropriate Alexandru Gagniuc
2021-02-07 14:37   ` Simon Glass

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.