Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp756728ybh; Wed, 22 Jul 2020 12:22:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziiZvJMqWqRA7O0E/KEB2vG9snTD8uKO2vDYpeBJH2ghNgA1qLQ/GubbjcTrOPSJPMHssS X-Received: by 2002:a05:6402:3058:: with SMTP id bu24mr949076edb.242.1595445737041; Wed, 22 Jul 2020 12:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595445737; cv=none; d=google.com; s=arc-20160816; b=Tnz+zfbztzgDE+L4SX1WTt1s2Cq+qc5ZOx7XtrTf3y4jLqbpHdeobNmEISH//hHs49 DT2KB2wIsWo52Wi02KvCFxgt+MEW2TLXtrnVrMg7Mt7VvkOOMlcu0pY5osinqCd4aHRU lwOUvdDGgp6zxH18+KT986UOD134bD9mqvcpzZC5aJxDasVoOBqJatWuYBs3sdxbFN8L Pjl3dF9aum1BfRmW96f5U+3rvgA31mWUYZw5b7qLdMUyOLTVMP8CfSigUERA/IB17ir+ YpzNldx9kLpiLuOGCGX/PMYr7SPyiGSfpeFcn1LxkJr2Ee6Gfe5vtQzNYUa8XTNETQfF 7T3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=vgJV7j020YGoCbUAxQbH9Yx5WIwSKdDOGW9roC78mJA=; b=P1JaKbYJ6cv3H2i7wDr2vXAVHtfOc2jtr4lA5w4pVPhCGAla7eZrXz5b70gyh7dQ/u ULD2FOFsOd+1ZM1GCSgmX8fU67NEvZgnpdVMPwlVR+VrX5z6uLl8QhK2Pylq+wzO+OBQ 0P1/abWzWjI6wttiDheoinLF62qHWRwsREp6KznguXmljOfnGrqcsMqDDmph9Q7vq502 fErMqUddmPj6odhTWWIa8l1MPc4GJE22Pg6BYHuaJn3yPRZnUMgwmSFHq0rTOnwnBmu0 1FLBtfns7N2aouYVHK/XJj3XDSdArLTd/oGE+w4wf4QP6UQYcqrI9KJV9jSWz0tFufxY 4mPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q18si569895edr.440.2020.07.22.12.21.54; Wed, 22 Jul 2020 12:22:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732797AbgGVTU4 (ORCPT + 99 others); Wed, 22 Jul 2020 15:20:56 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:33340 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726564AbgGVTU4 (ORCPT ); Wed, 22 Jul 2020 15:20:56 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id C10D9BDF0A; Wed, 22 Jul 2020 19:20:52 +0000 (UTC) From: "Alexander A. Klimov" 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" Subject: [PATCH v2] ARM: STM32: Replace HTTP links with HTTPS ones Date: Wed, 22 Jul 2020 21:20:46 +0200 Message-Id: <20200722192046.69334-1-grandmaster@al2klimov.de> In-Reply-To: <55c95208-de0f-b2d3-c20c-d19f3ce34e2a@st.com> References: <55c95208-de0f-b2d3-c20c-d19f3ce34e2a@st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++++ X-Spam-Level: ****** Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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