From: "Alexander A. Klimov" <grandmaster@al2klimov.de> To: linux@armlinux.org.uk, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" <grandmaster@al2klimov.de> Subject: [PATCH v2] ARM: STM32: Replace HTTP links with HTTPS ones Date: Wed, 22 Jul 2020 21:20:46 +0200 [thread overview] Message-ID: <20200722192046.69334-1-grandmaster@al2klimov.de> (raw) In-Reply-To: <55c95208-de0f-b2d3-c20c-d19f3ce34e2a@st.com> 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 neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: 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@al2klimov.de> --- v2: Undone crypto changes. arch/arm/mach-stm32/Makefile.boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32/Makefile.boot b/arch/arm/mach-stm32/Makefile.boot index cec195d4fcba..5dde7328a7a9 100644 --- a/arch/arm/mach-stm32/Makefile.boot +++ b/arch/arm/mach-stm32/Makefile.boot @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only # Empty file waiting for deletion once Makefile.boot isn't needed any more. # Patch waits for application at -# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . +# https://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . -- 2.27.0
WARNING: multiple messages have this Message-ID (diff)
From: "Alexander A. Klimov" <grandmaster@al2klimov.de> To: linux@armlinux.org.uk, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" <grandmaster@al2klimov.de> Subject: [PATCH v2] ARM: STM32: Replace HTTP links with HTTPS ones Date: Wed, 22 Jul 2020 21:20:46 +0200 [thread overview] Message-ID: <20200722192046.69334-1-grandmaster@al2klimov.de> (raw) In-Reply-To: <55c95208-de0f-b2d3-c20c-d19f3ce34e2a@st.com> 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 neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: 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@al2klimov.de> --- v2: Undone crypto changes. arch/arm/mach-stm32/Makefile.boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32/Makefile.boot b/arch/arm/mach-stm32/Makefile.boot index cec195d4fcba..5dde7328a7a9 100644 --- a/arch/arm/mach-stm32/Makefile.boot +++ b/arch/arm/mach-stm32/Makefile.boot @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only # Empty file waiting for deletion once Makefile.boot isn't needed any more. # Patch waits for application at -# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . +# https://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . -- 2.27.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-07-22 19:20 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-19 9:49 [PATCH for v5.9] ARM: STM32: Replace HTTP links with HTTPS ones Alexander A. Klimov 2020-07-19 9:49 ` Alexander A. Klimov 2020-07-21 8:49 ` Alexandre Torgue 2020-07-21 8:49 ` Alexandre Torgue 2020-07-21 17:49 ` Alexander A. Klimov 2020-07-21 17:49 ` Alexander A. Klimov 2020-07-22 7:06 ` Alexandre Torgue 2020-07-22 7:06 ` Alexandre Torgue 2020-07-22 7:11 ` Herbert Xu 2020-07-22 7:11 ` Herbert Xu 2020-07-22 19:20 ` Alexander A. Klimov [this message] 2020-07-22 19:20 ` [PATCH v2] " Alexander A. Klimov 2020-08-28 7:04 ` Alexandre Torgue 2020-08-28 7:04 ` Alexandre Torgue
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=20200722192046.69334-1-grandmaster@al2klimov.de \ --to=grandmaster@al2klimov.de \ --cc=alexandre.torgue@st.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-stm32@st-md-mailman.stormreply.com \ --cc=linux@armlinux.org.uk \ --cc=mcoquelin.stm32@gmail.com \ /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: linkBe 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.