All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Golle <daniel@makrotopia.org>
To: Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.u-boot-project.org
Subject: Re: [v3,0/3] boot: fit: authenticate the dm-verity roothash
Date: Tue, 28 Jul 2026 19:53:19 +0100	[thread overview]
Message-ID: <amj6nyd_JNOQczLt@makrotopia.org> (raw)
In-Reply-To: <CAFLszTgMxNnShY+WrNXxTwuZ2RMoqXDj7L5f0CofcDwNeehJOw@mail.gmail.com>

On Tue, Jul 28, 2026 at 12:45:38PM -0600, Simon Glass wrote:
> Hi Daniel,
> 
> On 2026-07-21T02:34:47, Daniel Golle <daniel@makrotopia.org> wrote:
> 
> > v3: address comments by Simon Glass
> 
> Thanks for the rework - the doc additions in signature.rst and
> dm-verity.rst read well, and the test fix is a good catch.
> 
> I still think we should state the compatibility break explicitly
> somehow: because U-Boot rebuilds the node list rather than trusting
> hashed-nodes, an image signed by an older mkimage that carries a
> dm-verity subnode stops verifying under this fix, and an image signed
> by the new mkimage does not verify on an older U-Boot.
> 
> The new language in dm-verity.rst documents the security property (the
> roothash can no longer be swapped out), but it doesn't warn that
> deployed images must be re-signed after upgrading and that mixed
> old/new fleets need care.
> 
> The break is unavoidable I think and I may be overthinking all this,
> but it would be nice to avoid people getting confused.

Technically you are right, there could be, but I strongly believe
there aren't any "deployments" of this right now.

The whole mechanism is built in order to be deployed as part of the
**upcoming** OpenWrt bootstd method. As of today, there aren't
currently any deployments using dm-verity on OpenWrt with this
mechanism (apart from some boards on my desk at least, and people
who have tried the PoC[1] -- which is/was a PoC and obviously subject
to changes as part of upstream review and standartization)

[1]: https://github.com/openwrt/openwrt/pull/22177

  reply	other threads:[~2026-07-28 18:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21  2:34 [PATCH v3 0/3] boot: fit: authenticate the dm-verity roothash Daniel Golle via U-Boot
2026-07-21  2:35 ` [PATCH v3 1/3] boot: fit: factor out node-path collection in fit_config_add_hash() Daniel Golle via U-Boot
2026-07-28 18:42   ` Simon Glass
2026-07-21  2:35 ` [PATCH v3 2/3] boot: fit: cover the dm-verity roothash with the config signature Daniel Golle via U-Boot
2026-07-28 18:42   ` Simon Glass
2026-07-21  2:35 ` [PATCH v3 3/3] test: fit: verify dm-verity roothash is covered by " Daniel Golle via U-Boot
2026-07-28 18:42   ` Simon Glass
2026-07-28 18:45 ` [v3,0/3] boot: fit: authenticate the dm-verity roothash Simon Glass
2026-07-28 18:53   ` Daniel Golle [this message]
2026-07-28 18:56     ` 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=amj6nyd_JNOQczLt@makrotopia.org \
    --to=daniel@makrotopia.org \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.u-boot-project.org \
    /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.