Re: [PATCH] Replace HTTP links with HTTPS ones: LVM
From: Jonathan Corbet
Date: Sun Jul 05 2020 - 16:30:03 EST
On Sat, 27 Jun 2020 12:31:38 +0200
"Alexander A. Klimov" <grandmaster@xxxxxxxxxxxx> wrote:
> Rationale:
> Reduces attack surface on kernel devs opening the links for MITM
> as HTTPS traffic is much harder to manipulate.
>
> Deterministic algorithm:
> For each file:
> If not .svg:
> For each line:
> If doesn't contain `\bxmlns\b`:
> For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
> If both the HTTP and HTTPS versions
> return 200 OK and serve the same content:
> Replace HTTP with HTTPS.
>
> Signed-off-by: Alexander A. Klimov <grandmaster@xxxxxxxxxxxx>
Applied but...
> diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
> index 921888df6764..30ba3573626c 100644
> --- a/drivers/md/Kconfig
> +++ b/drivers/md/Kconfig
> @@ -27,7 +27,7 @@ config BLK_DEV_MD
>
> More information about Software RAID on Linux is contained in the
> Software RAID mini-HOWTO, available from
> - <http://www.tldp.org/docs.html#howto>. There you will also learn
> + <https://www.tldp.org/docs.html#howto>. There you will also learn
This HOWTO, once one finds it beyond that link, starts by saying:
This HOWTO is deprecated; the Linux RAID HOWTO is maintained as a
wiki by the linux-raid community at http://raid.wiki.kernel.org/
So clearly adding HTTPS isn't really the optimal fix here...
jon