Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1631469ybh; Thu, 23 Jul 2020 13:55:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBxUZXJgaahqXxANOcBqoTx2+yjX/EFr+Qv00tcMH2h3ha7jck49zEeIGfHVmPaoTg1whR X-Received: by 2002:a17:906:d784:: with SMTP id pj4mr5934653ejb.405.1595537735774; Thu, 23 Jul 2020 13:55:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595537735; cv=none; d=google.com; s=arc-20160816; b=A6yDAfR120UQobFZ4EeDbmvkKrafUHO8wDlz0FaascabIZqoQ5bGcpLzaCZZi2QNR/ DqLLL4Sf+KIVPDiip1/QtetvL2JF96tfWKlq0gPNMMApvMWAg5hv6Xrzra0tecdr+3OI L5svOlWtPLgYDaVEWpkNgbGfQyamfQSvB6iUKWbwvhtxd0MMjiFzSKNFUpnZoHnxXYrY GEpErxGFEG9RkgLxjWrOoB+JRdVHQgRNNNJacJP359yBTEv8wCBi4Tc9L0pgC8DmXK5y PkdhoaXPOUziL7WFYdUJ5hpQtaxrjXnJRIDgNX1hl8WYQkfbqWQIq7z4G16659i1Ajam gCnQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=jGz5RZ7+D32gPjYa/2W2Gm3hWvh3PtjKmzA7/0yP9xI=; b=mFRjBa7Oy9VTX7oZlPtqjyGKZLJh8a0nDqRWas7mN/Yx0gi2lDTSman/IKwJ64mT3F AsAdXlOXErb5YlFRwcm9m6ut0zOx5pmvUc4MdZ83xaG0WbVl3WSkPXAdk/VcxPb5B7O7 ro4kd5srwDELTqV+cK52+oUW//5WEORL8Zv6cd9MJJ7CwfhNIaO81S3/W+Nl9C14LgIr wUrJuqLNYMOvTnVhhdPEkBy0HAH+630zcYRs7ZGN8WQ0p3J51D1FfSwXdX+n+hOgM4z3 5+CvoMaQoKn3gxIYY35g2RRN9nnm1ocU3tDT/8VLB/vCfR6wVNE1cjmA8kGkSCdFot2y OtpQ== 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 b10si2609562eje.471.2020.07.23.13.55.13; Thu, 23 Jul 2020 13:55:35 -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 S1728076AbgGWUyj (ORCPT + 99 others); Thu, 23 Jul 2020 16:54:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbgGWUyj (ORCPT ); Thu, 23 Jul 2020 16:54:39 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E48CAC0619D3 for ; Thu, 23 Jul 2020 13:54:38 -0700 (PDT) Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 2E1BC2BA; Thu, 23 Jul 2020 20:54:38 +0000 (UTC) Date: Thu, 23 Jul 2020 14:54:37 -0600 From: Jonathan Corbet To: "Alexander A. Klimov" Cc: torvalds@linux-foundation.org, martink@posteo.de, tsbogend@alpha.franken.de, viro@zeniv.linux.org.uk, cyphar@cyphar.com, geert+renesas@glider.be, luis.f.correia@gmail.com, mchehab+samsung@kernel.org, paulburton@kernel.org, ribalda@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] CREDITS: Replace HTTP links with HTTPS ones Message-ID: <20200723145437.3a756093@lwn.net> In-Reply-To: <20200714175528.46712-1-grandmaster@al2klimov.de> References: <20200713114321.783f0ae6@lwn.net> <20200714175528.46712-1-grandmaster@al2klimov.de> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Jul 2020 19:55:28 +0200 "Alexander A. Klimov" wrote: > ationale: > 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 both the HTTP and HTTPS versions > return 200 OK and serve the same content: > Replace HTTP with HTTPS. > > Signed-off-by: Alexander A. Klimov > --- > Undone also three more URLs. > > ➜ linux git:(https-links/46) ✗ git diff --color-words --word-diff-regex=. -U0 > diff --git a/CREDITS b/CREDITS > index e5267acb98e0..32ee70a7562e 100644 Applied. jon