From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 13 18:40:08 2018 Received: (at 33733-done) by debbugs.gnu.org; 13 Dec 2018 23:40:08 +0000 Received: from localhost ([127.0.0.1]:47066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXaaN-0005Gl-JS for submit@debbugs.gnu.org; Thu, 13 Dec 2018 18:40:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXaaJ-0005G5-P6 for 33733-done@debbugs.gnu.org; Thu, 13 Dec 2018 18:40:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXaaD-0002ha-Rr for 33733-done@debbugs.gnu.org; Thu, 13 Dec 2018 18:39:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXaaD-0002hJ-Ns for 33733-done@debbugs.gnu.org; Thu, 13 Dec 2018 18:39:57 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34746 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gXaaD-0000eV-FM for 33733-done@debbugs.gnu.org; Thu, 13 Dec 2018 18:39:57 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 33733-done@debbugs.gnu.org Subject: Re: bug#33733: Irrelevant narinfo signatures are honored References: <875zvx9hes.fsf@gnu.org> Date: Fri, 14 Dec 2018 00:39:55 +0100 In-Reply-To: <875zvx9hes.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 13 Dec 2018 23:43:39 +0100") Message-ID: <87a7l9808k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33733-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Ludovic Court=C3=A8s skribis: > The problem is that =E2=80=98guix substitute=E2=80=99 will accept such na= rinfos (when > they are signed by an authorized key), even though the signature doesn=E2= =80=99t > cover the important parts (namely: StorePath, NarHash, and References; > the rest is mostly informative.) A fix is attached with tests that > illustrate the problem. I pushed the fix as 60b04024f8823192b74c1ed5b14f318049865ac7 and an update of the =E2=80=98guix=E2=80=99 package as 7ef64ec8476e9f13262d7755aff27c97dd2cd683. I encourage you to upgrade your daemon. Ludo=E2=80=99.