From: Alexandru Gagniuc <mr.nuke.me@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/4] mkimage: Add a 'keyfile' argument for image signing
Date: Thu, 4 Feb 2021 13:57:01 -0600 [thread overview]
Message-ID: <20210204195705.2057081-1-mr.nuke.me@gmail.com> (raw)
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
next reply other threads:[~2021-02-04 19:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 19:57 Alexandru Gagniuc [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210204195705.2057081-1-mr.nuke.me@gmail.com \
--to=mr.nuke.me@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.