From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34C6DC4332F for ; Fri, 10 Nov 2023 13:37:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B9B9641B92; Fri, 10 Nov 2023 13:37:09 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org B9B9641B92 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XZ3AoNfDemVG; Fri, 10 Nov 2023 13:37:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 502B3421BF; Fri, 10 Nov 2023 13:37:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 502B3421BF Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 736B71BF3E1 for ; Fri, 10 Nov 2023 13:37:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4D3F883843 for ; Fri, 10 Nov 2023 13:37:00 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 4D3F883843 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YbnhOVt7XZsD for ; Fri, 10 Nov 2023 13:36:59 +0000 (UTC) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by smtp1.osuosl.org (Postfix) with ESMTPS id 52B4583837 for ; Fri, 10 Nov 2023 13:36:59 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 52B4583837 Received: by mail.gandi.net (Postfix) with ESMTPSA id 00C7D40015; Fri, 10 Nov 2023 13:36:55 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.96) (envelope-from ) id 1r1Rgt-003zpn-12; Fri, 10 Nov 2023 14:36:55 +0100 From: Peter Korsgaard To: "Yann E. MORIN" References: Date: Fri, 10 Nov 2023 14:36:55 +0100 In-Reply-To: (Yann E. MORIN's message of "Mon, 6 Nov 2023 20:09:14 +0100") Message-ID: <874jhtlog8.fsf@48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-GND-Sasl: peter@korsgaard.com Subject: Re: [Buildroot] [PATCH 3/3 v2] pkg-download: add option to enforce hash checking X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Martin Zeiser \(mzeiser\)" , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Yann" == Yann E MORIN writes: > Currently, when a pacakge is downloaded from a custom location or > version, Buildroot excludes such a package from the mandatory integrity > check with hashes, because it was until now not possible to have such > hashes. > We now have a mechanism which users can leverage to provide additional > hashes, and so custom versions or locations can now be checked too. > Buildroot has no way to know that hashes have indeed been provided for > a custom location/version, and so will still happilly ignore an > unchecked package. > However, users who do provide extra hashes most probably do expect that > no download is done without an integrity check, and thus expect that a > missing hash not be ignored. > Add an option that users can select to make Buildroot forcibly require > at least one valid hash, and no invalid hash, for all downloads. > Reported-by: "Martin Zeiser (mzeiser)" > Signed-off-by: Yann E. MORIN Committed to 2023.02.x and 2023.08.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot