From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id tT5EOQ7tG2BWewAA0tVLHw (envelope-from ) for ; Thu, 04 Feb 2021 12:48:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QD6iNA7tG2A7HAAA1q6Kng (envelope-from ) for ; Thu, 04 Feb 2021 12:48:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8104E94029C for ; Thu, 4 Feb 2021 12:48:14 +0000 (UTC) Received: from localhost ([::1]:36790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7e3R-0000T8-G1 for larch@yhetil.org; Thu, 04 Feb 2021 07:48:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7e3G-0000Rf-3r for bug-guix@gnu.org; Thu, 04 Feb 2021 07:48:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7e3F-0001AC-SO for bug-guix@gnu.org; Thu, 04 Feb 2021 07:48:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7e3F-0004nM-RW for bug-guix@gnu.org; Thu, 04 Feb 2021 07:48:01 -0500 Subject: bug#45895: Channel authentication should start at the current commit(s) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 04 Feb 2021 12:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45895 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45895-done@debbugs.gnu.org Mail-Followup-To: 45895@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 45895-done@debbugs.gnu.org id=D45895.161244283518360 (code D ref 45895); Thu, 04 Feb 2021 12:48:01 +0000 Received: (at 45895-done) by debbugs.gnu.org; 4 Feb 2021 12:47:15 +0000 Received: from localhost ([127.0.0.1]:40165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7e2U-0004m4-NL for submit@debbugs.gnu.org; Thu, 04 Feb 2021 07:47:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7e2T-0004ls-Iw for 45895-done@debbugs.gnu.org; Thu, 04 Feb 2021 07:47:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36423) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7e2O-0000nc-Bd for 45895-done@debbugs.gnu.org; Thu, 04 Feb 2021 07:47:08 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54936 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l7e2L-0002SN-Mf for 45895-done@debbugs.gnu.org; Thu, 04 Feb 2021 07:47:08 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czy6xffy.fsf@inria.fr> <87wnvqg8ls.fsf@gnu.org> Date: Thu, 04 Feb 2021 13:47:04 +0100 In-Reply-To: <87wnvqg8ls.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 02 Feb 2021 09:46:39 +0100") Message-ID: <87zh0k6lvb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.86 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 8104E94029C X-Spam-Score: -2.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: i3uhLk+Cs2Qm Ludovic Court=C3=A8s skribis: >>>From 9bbce577036f2018d605d111042b0a7fc1be266b Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Ludovic=3D20Court=3DC3=3DA8s?=3D > Date: Tue, 2 Feb 2021 09:37:33 +0100 > Subject: [PATCH] channels: Consider the current channel commit as authent= ic. > > Fixes . > > When the ~/.cache/guix/authentication is empty, this change allows > authentication to start at the current commit, as shown by 'guix > describe', instead of starting from the introductory commit, which would > take more and more time (there's currently 18K commits per year). > > * guix/git-authenticate.scm (authenticate-repository): Add #:authentic-co= mmits. > [authenticated-commits]: Append it. > * guix/channels.scm (authenticate-channel)[authentic-commits]: New > variable. Pass it to 'authenticate-repository'. Pushed as 29009fdb2d3636eafa77b406da2430b08a22d47e. Ludo=E2=80=99.