All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Husemann <martin@NetBSD.org>
To: Jerome Forissier <jerome.forissier@linaro.org>
Cc: Francesco Dolcini <francesco@dolcini.it>,
	u-boot@lists.denx.de,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Javier Tia <javier.tia@linaro.org>,
	Maxim Uvarov <muvarov@gmail.com>
Subject: Re: [PATCH v2 00/14] Introduce the lwIP network stack
Date: Mon, 27 May 2024 11:45:22 +0200	[thread overview]
Message-ID: <20240527094522.GA22281@mail.duskware.de> (raw)
In-Reply-To: <23a33323-35d8-4ece-b57b-cdfbc318d3c4@linaro.org>

On Mon, May 27, 2024 at 11:36:26AM +0200, Jerome Forissier wrote:
> You're correct. The point I am making is about using a secure
> (authenticated) connection, and I should have clarified that. While using
> HTTPS might not be critical on a local network, things are different when
> downloading from the internet (think man-in-the-middle attacks).

(Sorry if this sounds like nitpkicking, but I am genuinely curious)
How is it supposed to work?

You need not only https but also verify the presented certificate chain,
and for that you need up-to-date root certificates (e.g. the bundle
available from mozilla).

This sounds a bit outside the scope of u-boot to me (or you should 
avoid the man-in-the-middle argument, which leaves the still valid
"sites stop offering plain http" argument).

If you really worry about man-in-the-middle you need to download via
https in an environment that does certificate validation, and then
even better verify the hash of the downloaded image. After that you
can offer the image locally - via http, https or tftp - for installations.

Martin

  reply	other threads:[~2024-05-27  9:45 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24 16:19 [PATCH v2 00/14] Introduce the lwIP network stack Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 01/14] net: introduce alternative implementation as net-lwip/ Jerome Forissier
2024-05-27 15:34   ` Tom Rini
2024-05-28 11:53     ` Ilias Apalodimas
2024-06-05 17:48     ` Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 02/14] Squashed 'lib/lwip/lwip/' content from commit 0a0452b2c39 Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 03/14] net-lwip: build lwIP Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 04/14] net-lwip: add DHCP support and dhcp commmand Jerome Forissier
2024-05-24 16:19 ` [PATCH v2 05/14] net-lwip: add TFTP support and tftpboot command Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 06/14] net-lwip: add ping command Jerome Forissier
2024-06-06  9:10   ` Ilias Apalodimas
2024-06-06 12:04     ` Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 07/14] net-lwip: add dns command Jerome Forissier
2024-06-06  6:29   ` Ilias Apalodimas
2024-06-06  8:51     ` Maxim Uvarov
2024-06-06 12:19     ` Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 08/14] net-lwip: add wget command Jerome Forissier
2024-05-28 13:39   ` Maxim Uvarov
2024-06-06  9:56     ` Jerome Forissier
2024-06-06 10:16       ` Maxim Uvarov
2024-06-06 12:14         ` Jerome Forissier
2024-06-06  9:38   ` Ilias Apalodimas
2024-05-24 16:20 ` [PATCH v2 09/14] test: dm: dsa, eth: disable tests when CONFIG_NET_LWIP=y Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 10/14] cmd: bdinfo: enable -e when CONFIG_CMD_NET_LWIP=y Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 11/14] configs: add qemu_arm64_lwip_defconfig Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 12/14] test/py: net: add _lwip variants of dhcp, ping and tftpboot tests Jerome Forissier
2024-05-28  9:41   ` Love Kumar
2024-05-28  9:53   ` Maxim Uvarov
2024-05-30 14:11     ` Jerome Forissier
2024-05-30 14:22       ` Maxim Uvarov
2024-06-06  9:18         ` Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 13/14] MAINTAINERS: net-lwip: add myself as a maintainer Jerome Forissier
2024-05-24 16:20 ` [PATCH v2 14/14] CI: add qemu_arm64_lwip to the test matrix Jerome Forissier
2024-05-27  9:23 ` [PATCH v2 00/14] Introduce the lwIP network stack Francesco Dolcini
2024-05-27  9:36   ` Jerome Forissier
2024-05-27  9:45     ` Martin Husemann [this message]
2024-05-27 12:45       ` Jerome Forissier
2024-05-27 12:47         ` Martin Husemann
2024-05-28 11:50           ` Ilias Apalodimas
2024-06-04 23:13   ` Peter Robinson
2024-05-27 15:34 ` Tom Rini
2024-06-06  9:15   ` Jerome Forissier
2024-06-06 14:25     ` Tom Rini

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=20240527094522.GA22281@mail.duskware.de \
    --to=martin@netbsd.org \
    --cc=francesco@dolcini.it \
    --cc=ilias.apalodimas@linaro.org \
    --cc=javier.tia@linaro.org \
    --cc=jerome.forissier@linaro.org \
    --cc=muvarov@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.