From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sEdFNqO/WGfscQAAe85BDQ:P1 (envelope-from ) for ; Tue, 10 Dec 2024 22:24:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id sEdFNqO/WGfscQAAe85BDQ (envelope-from ) for ; Tue, 10 Dec 2024 23:24:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Btp3kFZO; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=CIZNI7lo; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733869475; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DGTh71KfVcl5RnP3mCdXKRNYb1YBGfmOsVtPv8P54sE=; b=iJAk5B3Sieu0SRU8THcsvbeyN5XWHb3OiWeRhZU7La9eyffI9eBwfkw+AZwcoC4SihV2oY fYvCiG1KdTm7OIVVCf2F3AqiBk16LAUeXqMixDK/hvPStruCDiNNeArZm7f7RI3x5F/pbg sfn85jWwkw3DQFocDlej3R2+yEysPjNJcZeFheXbceqP31XWJE+/RK4tja4R8a+u4ZZUqw 881f0LUHXI8rFyn5UPyozPZPb2WtXnai9WycFKpUAOpdkeVJ+oPneaqTCWSeTsknRn/AWM g7K/Nyl3CkS3jTkj0aRR+1la2XkCoPoemfIKv/O6++TxvKGWl2XO2clP9gfW9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Btp3kFZO; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=CIZNI7lo; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733869475; a=rsa-sha256; cv=none; b=tLRmF11FzeHMp6kzdRGzvbAL1JyPSRNqFN26fq4dIRZhFTbniF/RYPXtG1eAmUDV2Nupzd qH8oPQPRjebUjK2Z9jaV6Bk5b4D18uwZ1ASDwbUBmr4HzfBr2rkjtb0ljuHfLaIc08aARd FkKmvIy21EWwx0jvSI332174/Ib55e1mcel1VoFyDJUt07wFJ38qhmux/0Lnw1j9Pz9fgp UzjlKez0Ou7SRMr7ZQwwxg1tn1jRVKuC8Hp3P5DlyL9P4sIM/jWimQg1AMnfqere9Zvna7 CFWSOnoS7DWuo+jhzRMtXDUr3T+XVdJVyrioYZ1ZAb/E7/8V9jzVL2uZtQU7pQ== 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 B0FD87B85E for ; Tue, 10 Dec 2024 23:24:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL8eC-000231-63; Tue, 10 Dec 2024 17:24:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL8eB-00022j-8h for bug-guix@gnu.org; Tue, 10 Dec 2024 17:24:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tL8eA-0003mo-Vw for bug-guix@gnu.org; Tue, 10 Dec 2024 17:24:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=DGTh71KfVcl5RnP3mCdXKRNYb1YBGfmOsVtPv8P54sE=; b=Btp3kFZOsErQKgGBMZhYNzhrVEHKM1yc7Gnxeus/JrNSA8Wuy5mzTUCsGYaOUO38emIZDWNE1b7QjJkwLyZ3rbX1d0nxOoxJkgXGM1ila57KWbvKHkF5Kq0ciHVCRW6GlQQRmdEDSdNyu4oaL+DEwPo2mwA18pY+Lg7rtULch3Gv0uyMQ4UQwxt0eP4PLrRBwY6vnYfjeeyHh4QwdrsanPiQeFGTu+5X0t0zNnFtzXuyLRBYO6R+c4q36dCGdoDdLaF2Ts+wrcY3NIYFJlxTdVEzfCSCyt7wWjgA5sFAk7dTL8DverzM9v4ZUvUPghPA3I6i1OUfhk7dxqqPpSG+zg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tL8e9-000832-OU for bug-guix@gnu.org; Tue, 10 Dec 2024 17:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74711: Certificate issues with =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?pull=E2=80=99?= when system clock is in the past Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Dec 2024 22:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74711 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ngraves@ngraves.fr Cc: 74711@debbugs.gnu.org Received: via spool by 74711-submit@debbugs.gnu.org id=B74711.173386942330866 (code B ref 74711); Tue, 10 Dec 2024 22:24:01 +0000 Received: (at 74711) by debbugs.gnu.org; 10 Dec 2024 22:23:43 +0000 Received: from localhost ([127.0.0.1]:59919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL8do-00081W-Qs for submit@debbugs.gnu.org; Tue, 10 Dec 2024 17:23:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL8dl-0007zo-B2 for 74711@debbugs.gnu.org; Tue, 10 Dec 2024 17:23:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tL8de-0003lV-CM; Tue, 10 Dec 2024 17:23:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=DGTh71KfVcl5RnP3mCdXKRNYb1YBGfmOsVtPv8P54sE=; b=CIZNI7lolS9IqEDQI9TD I1VEWbX8/Etuqx+y/XTHzjLiAsrUhewPSIXTGGjbyKxgmuaJQD2chvyrwM218mdRadYA4QO6hrD2a 76/iG0uHXllqwAeD9+xWQEcrrz7gBRPQIKmU/RI0H1YGsMpdMZhmAuHy+1FL6WbnB5oC4/th3rcsd i6AZWO7bmCis2Z1T6brzX+GIylXgEpzo8FwHAiKdE9iZ3+KwgBBEz6ctRdgIn+DdeMcph4//t1Elo l8Qknbd2KXmVexrAf5/EtFSDPBHDqufy9qmJVutGIXs3yB/PsLRttP35SCQ/nTAmyX17NLEbeysA3 eUP9TR97Ieuptw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <4fe84e12db12aa32d75a427d3000db02@ngraves.fr> (ngraves@ngraves.fr's message of "Sat, 07 Dec 2024 10:45:02 +0100") References: <4fe84e12db12aa32d75a427d3000db02@ngraves.fr> Date: Tue, 10 Dec 2024 23:23:27 +0100 Message-ID: <877c87i3ds.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.16 X-Spam-Score: -0.16 X-Migadu-Queue-Id: B0FD87B85E X-TUID: 7+rfPR9ZmL1T Hi, ngraves@ngraves.fr skribis: > I've found the reason behind the extremely annoying SSL certification > refusals. > > When I use an installation image, the date is not necessarily set at > the real date. In my case, `date` was set in 2019, and triggered the > SSL verification refusal (not yet valid). Could it be that the clock battery of that computer is dead? Otherwise it=E2=80=99s not supposed to happen. > I don't know why it sometimes doesn't happen. If we can't > fix/automate it at the time we boot in the installation medium, we > should probably add a warning in the manual / a hint in guix pull / a > proper error in guile-git (that could provide more information than > just Git failing) ? The error I see is: --8<---------------cut here---------------start------------->8--- $ guix shell libfaketime -- faketime 2019-01-01 guix pull -p /tmp/p Updating channel 'shepherd' from Git repository at 'https://git.savannah.gn= u.org/git/shepherd.git'... guix pull: error: Git error: the SSL certificate is invalid --8<---------------cut here---------------end--------------->8--- I agree it could give more details, but that=E2=80=99s all we get from libg= it2 I believe. Worth investigating how this can be improved. That said, what we could/should do is add a =E2=80=98--no-check-certificate= =E2=80=99 option to =E2=80=98pull=E2=80=99 and =E2=80=98time-machine=E2=80=99; it wou= ld be handy in emergency situations like you described. It should be possible to implement that with the =E2=80=98certificate_check= =E2=80=99 callback in =E2=80=98git_remote_callbacks=E2=80=99. I=E2=80=99ll see what = can be done in this area. Thanks, Ludo=E2=80=99.