Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1397145ybh; Mon, 13 Jul 2020 18:23:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwo5BAInlVTLP0KYQP/AzbXvsD5cVLAaW3M1JKfqSBdYddEVwHB5u5EhQ0POKyVCKOZr1A X-Received: by 2002:a17:906:160f:: with SMTP id m15mr2378168ejd.423.1594689822879; Mon, 13 Jul 2020 18:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594689822; cv=none; d=google.com; s=arc-20160816; b=E5mypgEWo/u/fWKJ+TA9W2zK876GcqleqClwzbJrL2ksEGO1tlnhbF6YrbIezoA+Yu WSaNlTzEi7npC5Z9INpvxG0WkMvGAF9lGXIcrFQ4o0W/bDlnmmfA9FoTqvXZCkyeAFGB Lz18HxHDcWXnhpdIzaUGsAhJC0bL4n2ou5+aY38SLHn6yEenxI3yjkJhVW/5UzAuZRn1 /WvkgEvuv7c1V00jbLEF8O7rod3/SNdav3J36ceoq27PZ2VCXnDUL+PSj9t8J7uhRZyr 56meRJoNWRo+XzdtmT5YR2V3Soh9czuajRsvLUbEjSvGF2aPP6KgXUsIHkZfzk7zVMOs DiyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kSZ8A/K3JBp8LhqRTcQFI6Kag9kj97BCjG/6uEWAlZc=; b=fSE5+cElWZ3vUFXIAud7HAHeWHpYXb4yO5Cc6dIw/9EjxLojXK+tR5pdMXfyaFPEDi zWQoJhaNt3TZQHTr6HoDx4sLMde1yrzD9pdfzkseVyqS+d27h8QVau4EgytE62y2jeca 0oDwIOSzrUWl+8kOD+kQ2FSpj0N4v223WeQVT3EX5pMS2k0de+iCdYJoG9S4eIzEHmW6 fAo3uo+dnZnnNlrjEHbsv7FveWrUt+TunGXDebQkbmp/NxRBMoQk3FmkNdOo/yT0G8zz yuxfAM6wGDYwG3w8yyG2I7wQ5nsTBYpLD7LTZjU3t29qt62T8MT5odMxFO4yfJhH0BMr S6lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aol.com header.s=a2048 header.b=ODio+wTg; 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=REJECT sp=REJECT dis=NONE) header.from=aol.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v11si10457203edr.331.2020.07.13.18.23.15; Mon, 13 Jul 2020 18:23:41 -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=@aol.com header.s=a2048 header.b=ODio+wTg; 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=REJECT sp=REJECT dis=NONE) header.from=aol.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726864AbgGNBWy (ORCPT + 99 others); Mon, 13 Jul 2020 21:22:54 -0400 Received: from sonic315-55.consmr.mail.gq1.yahoo.com ([98.137.65.31]:36112 "EHLO sonic315-55.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726364AbgGNBWy (ORCPT ); Mon, 13 Jul 2020 21:22:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1594689773; bh=kSZ8A/K3JBp8LhqRTcQFI6Kag9kj97BCjG/6uEWAlZc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=ODio+wTgG8PN6r2cbOHOkXApXvS1xdIi6NXA4PImpbo92ezGIVt3qYUGr3XfmyJF+yz9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X4IIz3g2MMeT.g3aqqcpunRXMNxT8Ax5uvG4hg5H0 RHSXZ5rpdYM.4q077o8GTu2es118G3Duh0JlOcGVWbVj92BoSkWyVaCAzgo9PdwvXSZdgN9aLoVe W4CDO319FR_fZx2kSly6a08v9.p8SxbAyE27CDzgyEbeshWIf6goUofcGQ75lHyw.7B7ud4hH3YW eAogDELd2AZBbndnSFpF4oj27JCVmSckNAL972OqJceHhf4Zq6uHeo3UtflRq7pPNbhgItHuGN0L xj2fNssv4F6BaYMCnENMYwnB_EtpvHz4_m1R7blesOIm02bcdW.EK9nYDkHSjHoNTwCv9pIgZNZy kqM0lpLDkoDRZm_s5voyIMhHg065MosNVMU0iVsnqb.DkEngb2duuQTUGwVk.tky2h2EO2Nk1Rjh JI_yAxzmiNp2r9mW4E1zXPvGU04r3BXExwVkEO04Yd.ocJ_UQvoYUOnluZR8wGVN8So4jmhWp5cz KCr2q8eH9IoHQQF7nS55l572onKVaIgsMCU1I6a8sDf0Zn7DRyqDo0e2y9wH_5U8SqJH9djPq9CB XWxnwQO0HSxE1bGZBWCdaNzjzqZq428dy0QBJWplYEkPBMHnAp325Akn6tCdzp_y6_ZqF Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Tue, 14 Jul 2020 01:22:53 +0000 Received: by smtp416.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID ccb2d8946b485b8111546e619c1c7f07; Tue, 14 Jul 2020 01:22:51 +0000 (UTC) Date: Tue, 14 Jul 2020 09:22:46 +0800 From: Gao Xiang To: "Alexander A. Klimov" Cc: xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] erofs: Replace HTTP links with HTTPS ones Message-ID: <20200714012244.GA18418@hsiangkao-HP-ZHAN-66-Pro-G1> References: <20200713130944.34419-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200713130944.34419-1-grandmaster@al2klimov.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-Mailer: WebService/1.1.16271 hermes_aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Content-Length: 797 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 13, 2020 at 03:09:44PM +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 Looks good to me, Reviewed-by: Gao Xiang (Will apply later with other potential patches...) Thanks, Gao Xiang