From: Wojciech Dubowik <Wojciech.Dubowik@mt.com>
To: Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de, ilias.apalodimas@linaro.org,
trini@konsulko.com, simon.glass@canonical.com,
quentin.schulz@cherry.de
Subject: Re: EXTERNAL - [PATCH v6 4/6] binman: Add dump signature option to mkeficapsule
Date: Thu, 19 Feb 2026 16:23:35 +0100 [thread overview]
Message-ID: <aZcq99-dMBpCNqzv@mt.com> (raw)
In-Reply-To: <CAFLszThD4sb6dDOq_8-XJ-QapoxbuHOZJt0rRJBeydpr6fhFJw@mail.gmail.com>
On Thu, Feb 19, 2026 at 07:31:08AM -0700, Simon Glass wrote:
Hi Simon,
> Hi Wojciech,
>
> On Tue, 17 Feb 2026 at 04:54, Wojciech Dubowik <Wojciech.Dubowik@mt.com> wrote:
> >
> > It will be used to capsule signature verification.
> >
> > Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@mt.com>
> > ---
> > tools/binman/btool/mkeficapsule.py | 6 +++++-
> > 1 file changed, 5 insertions(+), 1 deletion(-)
> >
> > diff --git a/tools/binman/btool/mkeficapsule.py b/tools/binman/btool/mkeficapsule.py
> > index f2ac654db81e..7638c941a8ee 100644
> > --- a/tools/binman/btool/mkeficapsule.py
> > +++ b/tools/binman/btool/mkeficapsule.py
> > @@ -38,7 +38,8 @@ class Bintoolmkeficapsule(bintool.Bintool):
> >
> > def generate_capsule(self, image_index, image_guid, hardware_instance,
> > payload, output_fname, priv_key, pub_key,
> > - monotonic_count=0, version=0, oemflags=0):
> > + monotonic_count=0, version=0, oemflags=0,
> > + dump_sig=False):
> > """Generate a capsule through commandline-provided parameters
> >
> > Args:
> > @@ -53,6 +54,7 @@ class Bintoolmkeficapsule(bintool.Bintool):
> > monotonic_count (int): Count used when signing an image
> > version (int): Image version (Optional)
> > oemflags (int): Optional 16 bit OEM flags
> > + dump_sig (bool): Dump signature to a file (Optional). Default no.
> >
> > Returns:
> > str: Tool output
> > @@ -73,6 +75,8 @@ class Bintoolmkeficapsule(bintool.Bintool):
> > f'--private-key={priv_key}',
> > f'--certificate={pub_key}'
> > ]
> > + if dump_sig:
> > + args += [f'--dump-sig']
> >
> > args += [
> > payload,
> > --
> > 2.47.3
> >
>
> It looks like there are still two problems with test coverage:
>
> tools/binman/etype/efi_capsule.py 65 2 97%
Do you know what the second one is? I see on my setup only one:
if 'pkcs11:' in self.public_key_cert:
*** public_key_cert = self.public_key_cert
Regards,
Wojtek
> tools/binman/etype/fit.py 358 1 99%
>
> Regards,
> Simon
next prev parent reply other threads:[~2026-02-19 15:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-17 11:53 [PATCH v6 0/6] UEFI Capsule - PKCS11 Support Wojciech Dubowik
2026-02-17 11:53 ` [PATCH v6 1/6] tools: mkeficapsule: Add support for pkcs11 Wojciech Dubowik
2026-02-17 11:53 ` [PATCH v6 2/6] binman: Accept pkcs11 URI tokens for capsule updates Wojciech Dubowik
2026-02-17 11:53 ` [PATCH v6 3/6] tools: mkeficapsule: Fix dump signature long option Wojciech Dubowik
2026-02-17 11:53 ` [PATCH v6 4/6] binman: Add dump signature option to mkeficapsule Wojciech Dubowik
2026-02-19 14:31 ` Simon Glass
2026-02-19 15:23 ` Wojciech Dubowik [this message]
2026-02-23 17:51 ` EXTERNAL - " Simon Glass
2026-02-17 11:53 ` [PATCH v6 5/6] binman: DTS: Add dump-signature option for capsules Wojciech Dubowik
2026-02-17 11:53 ` [PATCH v6 6/6] test: binman: Add test for pkcs11 signed capsule Wojciech Dubowik
2026-02-19 13:12 ` [PATCH v6 0/6] UEFI Capsule - PKCS11 Support Simon Glass
2026-02-19 13:23 ` EXTERNAL - " Wojciech Dubowik
2026-02-20 2:39 ` Simon Glass
2026-02-20 9:13 ` EXTERNAL - " Wojciech Dubowik
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=aZcq99-dMBpCNqzv@mt.com \
--to=wojciech.dubowik@mt.com \
--cc=ilias.apalodimas@linaro.org \
--cc=quentin.schulz@cherry.de \
--cc=simon.glass@canonical.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox