From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: PWM SUBSYSTEM Date: Thu, 9 Jul 2020 09:19:10 +0200 Message-ID: <20200709071910.kjrffbb3mvpmcshm@pengutronix.de> References: <20200708175924.15554-1-grandmaster@al2klimov.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fmgiwuezro3rtemv" Return-path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbgGIHTP (ORCPT ); Thu, 9 Jul 2020 03:19:15 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FF09C061A0B for ; Thu, 9 Jul 2020 00:19:14 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20200708175924.15554-1-grandmaster@al2klimov.de> Sender: linux-pwm-owner@vger.kernel.org List-Id: linux-pwm@vger.kernel.org To: "Alexander A. Klimov" Cc: thierry.reding@gmail.com, lee.jones@linaro.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org --fmgiwuezro3rtemv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 08, 2020 at 07:59:24PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. >=20 > 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. >=20 > Signed-off-by: Alexander A. Klimov LGTM: Acked-by: Uwe Kleine-K=F6nig Thanks Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --fmgiwuezro3rtemv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAl8GxOsACgkQwfwUeK3K 7AlGWAf9G+Z7fPy07lmGONJ+2G/rHAVec04kNvEx3wx1lho0PfZvpRhaoaKhXQoa lrYfDDMIbnng2Vqrpw7cA0LzFzedAO7pKofJ1d3I3PkjjPcCU5Cu2pw3rgH4KOgB eNIX2zuJnVBVKYEbqqO4WnIbHW0b8Yu5iWOErTvUmj7WKM6Otzz1zMRpmo01CtKk c0uHaPM9eDS8rLFr5Nd4emmyr5+YfcqOHWQ51odVlE627bIo2HYnfpWEQYsOBxX8 sUXL/m8o7LCDv+tYYEj1neLl8LuHl517g8A3XvM11W5Di/kVTFdiW9ti6+DBFCyK GdWu+meRxhGhw00XiU8Z7GZXgDAHzg== =I6Zg -----END PGP SIGNATURE----- --fmgiwuezro3rtemv--