Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp729949ybh; Wed, 15 Jul 2020 13:41:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZynq3om1FMhYxNINRWKRt1AzeF6ZN5oBT6piBGFNM9m2lwEQ7QxAsikDCd6wSIjBvTroo X-Received: by 2002:a05:6402:1d97:: with SMTP id dk23mr1429331edb.1.1594845673178; Wed, 15 Jul 2020 13:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594845673; cv=none; d=google.com; s=arc-20160816; b=a3Xgq54BSWqFuH+KAT50KVa8iBPMzgoeNAXNqjA3kDPZI51kLiIV4CP4Mayd4cILiP 6Y+mBzdc2p2imarXZBzWNwPIth3XBwY93vAk/rDbNHK9J64qQdvnHSscqF90bnHHixWv GGVL+Fv8NUxHmRouNgWg6XmUhGucxCokSkIslJWml6/mVOr4RTIHC7kV4knDnHc1+x9j sI9ijkbRaPG8DIX0MdUY+5dI1qGdecAAh9mQWyuGTTmA+epu9oC3a7H7t5QLq/Dm6iS6 XbaCVhmLa9Rzk+tY+jHC/YoHhK2NqZsPctd3zjebei7sF8o2Qp/uCDLPzd5qY9FvV7HF H+KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=SFzopoKlXR7ew+jkHq5WWEeefQXWdXYz735U/RLizcw=; b=TLJbArOd/Qvag9GFhZ0dUIt/bOgdN9ZzXvdcMS/0cCE+zZPdhqoBFI/OTcHfmPy1EZ VDAGMneerTiRMSp5qPq2Z4z0BclQPtSHjAldA7JNi/hJyXTjVYtxJoRRjPa2Ncy+iN19 wlxrSgWuRPEK526oISXG7uIU/ffnocJctrlP1JBM3v0xSUYsGXD/8IPpWgztK1DpnBBz K1rPe1KQIe1JLOsZ9KyDVDkP81z/8t/41jVygWPc+lrqdI3eLIuNzzTlGQZtyljgIFy7 2cxeVSLeV9OXD+kVfU8etypIgHju/hp5srACHkw0K9LVocTQsdADVWC7RZfO6RiJVi74 dc2A== 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 lz15si1864648ejb.406.2020.07.15.13.40.49; Wed, 15 Jul 2020 13:41:13 -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 S1727817AbgGOUkV (ORCPT + 99 others); Wed, 15 Jul 2020 16:40:21 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:41926 "EHLO hera.aquilenet.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726960AbgGOUkR (ORCPT ); Wed, 15 Jul 2020 16:40:17 -0400 X-Greylist: delayed 501 seconds by postgrey-1.27 at vger.kernel.org; Wed, 15 Jul 2020 16:40:17 EDT Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 413A92FE3; Wed, 15 Jul 2020 22:31:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ibs7Zj-7XLWF; Wed, 15 Jul 2020 22:31:50 +0200 (CEST) Received: from function (lfbn-bor-1-797-11.w86-234.abo.wanadoo.fr [86.234.239.11]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6A5032FCD; Wed, 15 Jul 2020 22:31:50 +0200 (CEST) Received: from samy by function with local (Exim 4.94) (envelope-from ) id 1jvo4D-000k9L-Cw; Wed, 15 Jul 2020 22:31:49 +0200 Date: Wed, 15 Jul 2020 22:31:49 +0200 From: Samuel Thibault To: "Alexander A. Klimov" Cc: w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, gregkh@linuxfoundation.org, speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: speakup: Replace HTTP links with HTTPS ones Message-ID: <20200715203149.b6cmsku5lfrx56rm@function> Mail-Followup-To: Samuel Thibault , "Alexander A. Klimov" , w.d.hubbs@gmail.com, chris@the-brannons.com, kirk@reisers.ca, gregkh@linuxfoundation.org, speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <20200713091305.32708-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200713091305.32708-1-grandmaster@al2klimov.de> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alexander A. Klimov, le lun. 13 juil. 2020 11:13:05 +0200, a ecrit: > 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 Reviewed-by: Samuel Thibault Thanks! > --- > Continuing my work started at 93431e0607e5. > See also: git log --oneline '--author=Alexander A. Klimov ' v5.7..master > (Actually letting a shell for loop submit all this stuff for me.) > > 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. > > Sorry again to all maintainers who complained about subject lines. > Now I realized that you want an actually perfect prefixes, > not just subsystem ones. > I tried my best... > And yes, *I could* (at least half-)automate it. > Impossible is nothing! :) > > > drivers/staging/speakup/spkguide.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/speakup/spkguide.txt b/drivers/staging/speakup/spkguide.txt > index 1e622cd34363..3782f6a09e97 100644 > --- a/drivers/staging/speakup/spkguide.txt > +++ b/drivers/staging/speakup/spkguide.txt > @@ -1531,7 +1531,7 @@ The Free Software Foundation may publish new, revised versions > of the GNU Free Documentation License from time to time. Such new > versions will be similar in spirit to the present version, but may > differ in detail to address new problems or concerns. See > -http://www.gnu.org/copyleft/. > +https://www.gnu.org/copyleft/. > > Each version of the License is given a distinguishing version number. > If the Document specifies that a particular numbered version of this > -- > 2.27.0 > -- Samuel J'ai un gros problème: j'ai cet exercice à rendre demain lundi, mais ma TI 89 ne sait pas le faire... Est-ce que quelqu'un pourrait m'aider?? -+- OD In Guide du Neuneu Usenet : Comment ça ! Il faut réfléchir ?-+-