Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp803455ybh; Sat, 18 Jul 2020 22:51:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzULzvPvhBSpUn4L6XIjIqOh3A6+o1Pxj97iJ8Ei0uXl4UKsssgiwZ7Y3fOePID3gbV2akv X-Received: by 2002:a17:906:2b54:: with SMTP id b20mr15368676ejg.366.1595137870371; Sat, 18 Jul 2020 22:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595137870; cv=none; d=google.com; s=arc-20160816; b=qE8WRoc2cpkk3Sf3cmblvZZ2x2FEnGvuckD+dBpWWMxLnuIGaKWkBDLp7SW5bgaJGh yMxh9gu6csCJV5kyxomxisdvMtmeNOCNJo9JM8hB/cs8kGa7xB4LoeVuz1J/Wclhlhv3 Nb/zcnAMyo1u6ahP+FkChJ8tMxI6YL+kGFDI64hPAdfrI7EDgLQhSFKh2dRIgYTkcFr3 uuLzyFBL6OvHG0+MwuwQP1M0jlfOzz1wmOsjxchK8TCpy25jdmlyO7m0ZG5IKGVHN0/m ZCaiQ2bil7+gRM/p1E96A/nz6vIafyDOUCs+29TZoJ3PIu+GtfNL2ISyw+o5VGcj9GHd KpeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from:ironport-sdr:ironport-sdr; bh=lzs7qSXVqt5scNEAMn8LRN+j52gh46R1fL9JcSad5wg=; b=aXak63F2zD7wNmAwtQz1IEWrQqkpmikfY2v7D1sojslyKdddLhAM+NMNHrGO3ayTVB JtOBxweJUsb26xyS/3dGRut898gHi53mHLbewfFaIm3xqmjp8sGmalKjUxpbaMqkiY49 4/7WtRU7ot2KnucAVowYcpp/bqQFERrhGzICSnMwOfaEeqCcO7hPhBqWQp+D0eiQTWIf 86R/IuGbnW4ngOyG5CYkMhexYOY4AGLcaDxGjgfbOE7fkofP46CE/5DEiv2xH7ZPoVHE 8JXxqrJpfOEsRPdFK59Hv0cxTXj5PC9tPAtW/kaHOIwRRRjVLcuU2p/9F0HyGPkSYAow xgHg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h17si7541074ejl.514.2020.07.18.22.50.47; Sat, 18 Jul 2020 22:51:10 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726097AbgGSFuT convert rfc822-to-8bit (ORCPT + 99 others); Sun, 19 Jul 2020 01:50:19 -0400 Received: from mga11.intel.com ([192.55.52.93]:25351 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbgGSFuS (ORCPT ); Sun, 19 Jul 2020 01:50:18 -0400 IronPort-SDR: 7pMQrBxKIDL0VwbpHaV8qc+jO2hyEUBY6hWLr6RBfWoaaBK8/t1hhLlX+0RRLDVwYNmsoiAcw7 C2uAo+SUnS3A== X-IronPort-AV: E=McAfee;i="6000,8403,9686"; a="147749961" X-IronPort-AV: E=Sophos;i="5.75,369,1589266800"; d="scan'208";a="147749961" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2020 22:50:18 -0700 IronPort-SDR: 60F4I4iHhG52aKO7ohI8Kqw2MV0zmayWirJ6044zxDTpwaWRNF+A+6t+IqtLK80HJD1Wjk5aTX XZ7JIB9LhYxQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,369,1589266800"; d="scan'208";a="300965104" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 18 Jul 2020 22:50:17 -0700 Received: from hasmsx602.ger.corp.intel.com (10.184.107.142) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 18 Jul 2020 22:50:17 -0700 Received: from hasmsx602.ger.corp.intel.com (10.184.107.142) by HASMSX602.ger.corp.intel.com (10.184.107.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 19 Jul 2020 08:50:15 +0300 Received: from hasmsx602.ger.corp.intel.com ([10.184.107.142]) by HASMSX602.ger.corp.intel.com ([10.184.107.142]) with mapi id 15.01.1713.004; Sun, 19 Jul 2020 08:50:15 +0300 From: "Winkler, Tomas" To: "Alexander A. Klimov" , "arnd@arndb.de" , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] mei: Replace HTTP links with HTTPS ones Thread-Topic: [PATCH] mei: Replace HTTP links with HTTPS ones Thread-Index: AQHWXGxqJKkEttbDY0+bLNJvBGUVDqkOZ/sw Date: Sun, 19 Jul 2020 05:50:15 +0000 Message-ID: References: <20200717185925.84102-1-grandmaster@al2klimov.de> In-Reply-To: <20200717185925.84102-1-grandmaster@al2klimov.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-originating-ip: [10.184.70.1] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > 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 Acked-by: Tomas Winkler > --- > Continuing my work started at 93431e0607e5. > See also: git log --oneline '--author=Alexander A. Klimov > ' v5.7..master > > If there are any URLs to be removed completely or at least not (just) > HTTPSified: > Just clearly say so and I'll *undo my change*. > See also: https://lkml.org/lkml/2020/6/27/64 > > If there are any valid, but yet not changed URLs: > See: https://lkml.org/lkml/2020/6/26/837 > > If you apply the patch, please let me know. > > > drivers/misc/mei/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei/Kconfig index > 9d7b3719bfa0..f5fd5b786607 100644 > --- a/drivers/misc/mei/Kconfig > +++ b/drivers/misc/mei/Kconfig > @@ -9,7 +9,7 @@ config INTEL_MEI > if selected /dev/mei misc device will be created. > > For more information see > - > + > > config INTEL_MEI_ME > tristate "ME Enabled Intel Chipsets" > -- > 2.27.0