Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp972035ybh; Wed, 22 Jul 2020 19:02:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNg6S/w7rV6GVvtTRomf8aPqL+NYjdeDh6++fVu81dKnN2TXc6mlWHhF8RaogubNsTQMLz X-Received: by 2002:aa7:d353:: with SMTP id m19mr2026517edr.75.1595469725963; Wed, 22 Jul 2020 19:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595469725; cv=none; d=google.com; s=arc-20160816; b=AQ7NkPp+Ltj5JgwLuNvU5P0brRsb00fHrErkL+MJtZjJgpMGyziDyOUZS3VIA6vvCg Cvvy7yujN1BbLml571MbjT04WGKPt+UXD9Tbp542tNdJKRU2FBLlyKmZmKH1BFnX+5G8 hV7N66+jsLJKmGNcKos1oIFcBEDQxdYOcJVdTYbZzF+JyD8vLapp7reP/rpxZFDY5yBO nin6Fyknc2AWLqxuKbTUi8m8xuEUJ0nF2VGqda9bMlSpQAqiyIwhGeWXHCcTpWPjfLTd xiBjLS4ObCvKXXWwvq8BYlBcbBjh+/6jBdFVrvz7bwO2yj9UQFjEeWx50aW4gQyj4Dez YMLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=4295En5FODt+mxnwk34jHpZD/XRhkpvS2vQMwcmb/b8=; b=IqB1oCAuFUYaLKr8QuKpuqLj8twn1P6D4ejoS4AF73HX0nBOEW2YRvsYv2W5MmHefu da3oFTGh9+aBjryq5w7pO7GjNq4HY1y3GbTDLfMVyfoV2wIq5CPNmii5B92pZ3wQl1Nb ct9lkhv+KwqMcwrxXvfp98r7mAdZM30iWVzk+6b1p5DYOs1EjfExZvwgFhOgwGx2y5I4 YwSLSd+xBk6AMgC4eVjxwMLNguW0zPzbxSzBmm64OKYrkEQOmiKoFP4KfRV2ARpfeeFL jDod+zzKaqRN37rCGsMKOV7NX9HevLdpoRoVyW7UAmttIBcEHs0pD0LqdlGgiC+X4rf+ bcQA== 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 do14si1391704ejc.39.2020.07.22.19.01.43; Wed, 22 Jul 2020 19:02:05 -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 S2387615AbgGWCB3 (ORCPT + 99 others); Wed, 22 Jul 2020 22:01:29 -0400 Received: from mga04.intel.com ([192.55.52.120]:54427 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731394AbgGWCB3 (ORCPT ); Wed, 22 Jul 2020 22:01:29 -0400 IronPort-SDR: LYcSWz3SZYTsF4Sr4G/3h0ZWIKFGpanO4CHUwymgoqbFFTGBZ7F9baRliJYkM/VHlQ+wQg0hAC CEsVD4EvSDNA== X-IronPort-AV: E=McAfee;i="6000,8403,9690"; a="147945576" X-IronPort-AV: E=Sophos;i="5.75,385,1589266800"; d="scan'208";a="147945576" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jul 2020 19:01:20 -0700 IronPort-SDR: AfB3QoR8dOeXKSTFIzakQUxAEHUMujQi3jKGF0iQjYTddGezShJDyqb54qhIKW8Cu1dgipZN71 HnoUpqS2iNjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,385,1589266800"; d="scan'208";a="302149612" Received: from schwings-mobl.ger.corp.intel.com (HELO localhost) ([10.252.33.132]) by orsmga002.jf.intel.com with ESMTP; 22 Jul 2020 19:01:16 -0700 Date: Thu, 23 Jul 2020 05:01:14 +0300 From: Jarkko Sakkinen To: "Alexander A. Klimov" Cc: zohar@linux.ibm.com, dhowells@redhat.com, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] encrypted-keys: Replace HTTP links with HTTPS ones Message-ID: <20200723020114.GG45081@linux.intel.com> References: <20200716195227.65839-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716195227.65839-1-grandmaster@al2klimov.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 16, 2020 at 09:52:27PM +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. A commit message should describe action e.g. "Replace HTTP URL with HTTPS URL given the security concerns and the slow deprecation of HTTP." > 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. Please remove this. We don't care about it. Git log should only contain information either for studying or maintaining the kernel source code. > > Signed-off-by: Alexander A. Klimov /Jarkko