From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 703A2C433E4 for ; Mon, 13 Jul 2020 14:18:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3CE522072D for ; Mon, 13 Jul 2020 14:18:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LuxEnXBp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3CE522072D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jk1htC+gXpigBZ2ORyMF+4l/9mGPsS5rxXpuRunlAHI=; b=LuxEnXBpn8hALjUXJLhor315B XvbK5s9eaeheKZTvi9yVILmC+UJyGP7ViPiIrfuWioKGal5MR20NeNmXNWg5ftT2qXhFOGDpORadC kKeBJ57WDEpiQEI4X7MfNjV/JsWbNhOAHrkUXq6teeVxzpYHxLuUpS3BynPJHrsnMkS5mzmpfbZTE iziIunUp7UPX2FsdncG9xxP1LWl5JuGGcy5U/Z4FnyUh2wE011/rK91qv3UzN8OYvYea/20uUCtDJ UZKPrPaBcofjQpH5dLvmZUBgTWDqLNi5uiatP78tl+ym0PdRswns8uP3bJgwGmsVV/LzEksul51SM weg2Ys6jQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1juzFt-0000Sn-Kc; Mon, 13 Jul 2020 14:16:29 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1juzFr-0000RO-CY for linux-arm-kernel@lists.infradead.org; Mon, 13 Jul 2020 14:16:28 +0000 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1juzFf-004sDh-EG; Mon, 13 Jul 2020 16:16:15 +0200 Date: Mon, 13 Jul 2020 16:16:15 +0200 From: Andrew Lunn To: "Alexander A. Klimov" Subject: Re: [PATCH] ARM: dts: kirkwood: Replace HTTP links with HTTPS ones Message-ID: <20200713141615.GA1078057@lunn.ch> References: <20200713070908.31846-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200713070908.31846-1-grandmaster@al2klimov.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200713_101627_439525_A7BA1C06 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, jason@lakedaemon.net, gregory.clement@bootlin.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, sebastian.hesselbarth@gmail.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jul 13, 2020 at 09:09:08AM +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. > > 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 Reviewed-by: Andrew Lunn Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel