Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp338661pxa; Wed, 5 Aug 2020 02:27:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlLzFtLfsp7cb51OXX4GcW6d4QtAtTl97imsTDHhS9ArLu3i6Yd6Lgp2tUG1phjB4jMozT X-Received: by 2002:a17:906:38d8:: with SMTP id r24mr2180844ejd.341.1596619669331; Wed, 05 Aug 2020 02:27:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596619669; cv=none; d=google.com; s=arc-20160816; b=Zr0rpAd3kxil2HF3YhLvzUwxEeLw7dHuLDQWH4Kd9wL1IZxsZ9GemPncgSRD36GNGt HljQWBIoDNddr+0aOnTf2HsxFQq2mM7a3zIkawZY2utKwG6sT9qbNcrOHnuoky2ucLnw KAx3cN0m0qH4oP4Pmg5/VNEAeYtBMyxT7LOGdkk6cl8eHqWwcAXW9ox10YNHQ9WDziOn BVBm00vpAhkDxo8OG6az/1HRIzHnBSvegVedN77VnBNzDccH0a146+1MlXndlDTFTcoD /ekw5EzWNj/DUDfkmoV58GyAj6REd7h8vPgnSa7wX8iDL0yaz4v8euXsEIDRR6MMDqOv Bw5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=p6R59+QQ/spfa+1edQUb/iJFYwT+kv37H80yMFB/B88=; b=sp8uXAR5XGm9pyssBCH9HMq2joZuEO42saURssW3pCe9g3NAJCvOy9VlOmG47TFiN8 0yOU835wIQ3MqD2D3ndyDYQNi51ZPuTRhDZ5UyWbh6szjiwTjOLkpJPHLSDRdFFzBodJ SuCiVO3B0XYa+o8lCYqhhO3xcV3eM1cvHmaB2MeEUJakB9pfCJvyEQ/37RusTzyrHrlJ zCPviMsFr3scJPrht6AP4FczuVZQaZjP2Ux2mnmkHaZzxXL0LiphvUfCio10Ol5AgMAQ EcN1P6jWV+vRDq4ywaEiqQGBBgdZJ52MbUFZyx+ujISrCBYRTJ3aJ9a0hLckOdQJkVm7 k3qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PjSgc3SZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id od24si877705ejb.630.2020.08.05.02.27.18; Wed, 05 Aug 2020 02:27:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=PjSgc3SZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728346AbgHEJ0O (ORCPT + 99 others); Wed, 5 Aug 2020 05:26:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:58930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725809AbgHEJZf (ORCPT ); Wed, 5 Aug 2020 05:25:35 -0400 Received: from localhost (router.4pisysteme.de [80.79.225.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2599920792; Wed, 5 Aug 2020 09:25:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596619534; bh=ERRvfqEriokU7TkTN7wbLnT2FuGkg1l29VyZXOxiN7I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PjSgc3SZFpd+xtRwvrWVtY3lwE4NPJVm4XVgvSlI6xTUJZ187Nn/zXb9Xek+Nvli1 w+Lbg4ApC+JcWgF9mdF3uXfmhIU7gSagg3K4U6nBlRfdQWN6olaw94jL7ZshL7QRDZ 6k0kCN/6tP9/KiZLYQCz92UN/GmOGgbxH7wyULnE= Date: Wed, 5 Aug 2020 11:25:32 +0200 From: wsa@kernel.org To: "Alexander A. Klimov" Cc: nsaenzjulienne@suse.de, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, wahrenst@gmx.net, ardb@kernel.org, chris.brandt@renesas.com, andriy.shevchenko@linux.intel.com, linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: bcm2835: Replace HTTP links with HTTPS ones Message-ID: <20200805092532.GK1229@kunai> Mail-Followup-To: wsa@kernel.org, "Alexander A. Klimov" , nsaenzjulienne@suse.de, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, wahrenst@gmx.net, ardb@kernel.org, chris.brandt@renesas.com, andriy.shevchenko@linux.intel.com, linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20200717185247.81988-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cN0A5YokcrYPGsSB" Content-Disposition: inline In-Reply-To: <20200717185247.81988-1-grandmaster@al2klimov.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cN0A5YokcrYPGsSB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 17, 2020 at 08:52:47PM +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 Applied to for-next, thanks! --cN0A5YokcrYPGsSB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl8qewwACgkQFA3kzBSg KbbmuA/9GyPdwQnTBTL8GnTKxOd6w5OA3yao0e0dNkRTXdF1+aFUrTOaMoGhEngl osR+RLfxjL5mVnaIUVF6VmCsbtsu65XnJbl+El4lKXKrpJRRIoINz5rkEEvI4IJq y/HMnCwINjuhUMWxpBXB9Z8YAfbZBsFgaPUcBBhaLvVLGHPVMc2FUJ9aHvb/dNoy jHVLyFEC/rYB+Axi77OYOfSRobVG9M40CfjPm2pt1Oe7CQ8k5SZ3q9tvHDgJEKaf yDlNtN9esKHVdySlWjXiaqbU82rogtDS86/8PMTK6N8FkPQXdOhU/WWQiWH/0wo/ /bjs6Zlc3UpjkdMj1w5v8eFr9Ooufznr8s64dweVTyF7J76S+EZWQ1AuYzEjFD5t QPFYhZhnsPZRsrXd9clclKKr5UfR/+ZVn8TPl0XPATMOmb9a+PZydzMuPUK/5q7b zyO4JlDkJKcSP0akrLtwd0kGLbyq2a1V2QBiEx/d3BrjZyYFQ/uH4DLmyVdmQ9xC N0jtP6CzhJxqAyFJ9ke+V1mDJrofvU91+OqNUkbrcWKccQcuaPNZEwQOByxOK4kh 3uNXXuW5w8Gd+dOQcrwNQv5QR2xLszy77EVbeeuwP7vPTndnkPU8vSwaDmnnX+z8 V5+OJHHchEPeuqRZf8gRjC/C8JXW/XLm/XN1SWGwET3YrvznFDI= =HSH/ -----END PGP SIGNATURE----- --cN0A5YokcrYPGsSB--