From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kL70AuZkdWCmCwAAgWs5BA (envelope-from ) for ; Tue, 13 Apr 2021 11:31:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kGJmOOVkdWC5QQAAbx9fmQ (envelope-from ) for ; Tue, 13 Apr 2021 09:31:17 +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 3E20FDA7B for ; Tue, 13 Apr 2021 11:31:17 +0200 (CEST) Received: from localhost ([::1]:37890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWFO8-0006y6-DB for larch@yhetil.org; Tue, 13 Apr 2021 05:31:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWFNu-0006xD-E5 for bug-guix@gnu.org; Tue, 13 Apr 2021 05:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWFNu-0005u7-6X for bug-guix@gnu.org; Tue, 13 Apr 2021 05:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWFNu-0004Iy-2A for bug-guix@gnu.org; Tue, 13 Apr 2021 05:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#46829: `guix pull` uses incorrect certificate store Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Apr 2021 09:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46829 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Received: via spool by 46829-submit@debbugs.gnu.org id=B46829.161830621016478 (code B ref 46829); Tue, 13 Apr 2021 09:31:02 +0000 Received: (at 46829) by debbugs.gnu.org; 13 Apr 2021 09:30:10 +0000 Received: from localhost ([127.0.0.1]:58973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWFN3-0004Hi-Lf for submit@debbugs.gnu.org; Tue, 13 Apr 2021 05:30:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWFN2-0004GV-G5 for 46829@debbugs.gnu.org; Tue, 13 Apr 2021 05:30:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45768) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWFMx-0005Gs-7d; Tue, 13 Apr 2021 05:30:03 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54314 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lWFMu-0002UQ-J0; Tue, 13 Apr 2021 05:30:01 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871rd0ebd5.fsf@cbaines.net> <877dmrtbvn.fsf@gnu.org> <877dm54zk3.fsf@gnu.org> Date: Tue, 13 Apr 2021 11:29:58 +0200 In-Reply-To: (Leo Famulari's message of "Mon, 12 Apr 2021 02:42:07 -0400") Message-ID: <87zgy2leg9.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: , Cc: 46829@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618306277; 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; bh=cDX5QYLuXLTLStQ3XBlQT026gJO/5A16gA1cc6Cs+Ng=; b=WbK8YQKUXmb5H2/IGCZu0p07/vQX8B0GZLGMJ50GZa+JaRXpbJJRnFhlRahP/kWcBz0QK8 AdvdNiyP+FxbpU2B8dIa4xYEevbMIkpL8X0Ng7GGz7LCGQICtRPrdgxsNb1sUoVyEkvXpm FbZpu0kdSweq4m+iezwyb98EdBIlMYeHmFY1ojOnKKjcR90qTyrrt7SewDOrSdcX5PNZ0G R3BU+9upY8ABPFOTuEiPwZ5mey0af3WQLIbBLKaulEy2BdfjV2M5Bio0klJ1e+FCfg8P3f +nfcyuxaQZheIXPZ5MnS/fWiv/3cBImKgqZXyZ6QqAfekQA7uUJhqJrWAKoL6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618306277; a=rsa-sha256; cv=none; b=uv4Hslnmf1HQlqBvSaLWiN4awmF9CwtilBxcjyVJqIVx29bgaa7HpmXlHmvlSjR30jROrT XdouBOjRurPJdFq2mU5o01M/OVEu92RCPWqIvi84YHMKoECoQmYQcvO7cPTpDFvWbiykOq EGGKtgJMSbXDZcOFxeArS8w5aJSweo3sgUQLFSmrltzjhUF2PN/7iGblVmG1m4mMnOxcvh gKCEeKEE7IzZSLoBv2WE9R6zsmEloMByPS3Sgebq1gg+1bsC/lUFXMwKyMO6ehlPo8X2TA 2t8ZTWPMB7MK4gEg109uH1h8O9GPN1cKJsU56TR0OHmAww1zXoF+krDwi/waqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Spam-Score: -2.94 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: 3E20FDA7B X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: YfAAdYOxM1R4 Hi, Leo Famulari skribis: > On Sun, Apr 11, 2021 at 09:29:00PM -0400, Leo Famulari wrote: >> I checked and, although there have been some changes upstream at Let's >> Encrypt [0], our le-certs still works for contacting Savannah with TLS. > > I checked wrong; le-certs needs to be updated. I'm testing the update > now... So I think the issue is that, when =E2=80=98nss-certs=E2=80=99 is not insta= lled, =E2=80=98guix pull=E2=80=99 uses the LE certs, but these certificates expire quite freque= ntly, whereas if you have =E2=80=98nss-certs=E2=80=99 installed, there=E2=80=99s = =E2=80=9Calways=E2=80=9D a valid authentication chain from the roots. Indeed, running =E2=80=98guix pull=E2=80=99 in the 1.2.0 live VM image work= s (it has =E2=80=98nss-certs=E2=80=99 installed in /etc/ssl/certs). Likewise, a Guix= System 1.2.0 installation that includes =E2=80=98nss-certs=E2=80=99 (which is the defaul= t) is unaffected. For those who do not have =E2=80=98nss-certs=E2=80=99 installed, a workarou= nd is to do avoid HTTPS: guix pull --url=3Dhttp://git.savannah.gnu.org/git/guix.git This is fine because the =E2=80=98guix=E2=80=99 channel is authenticated an= yway. We could also add a =E2=80=98--no-check-certificates=E2=80=99 option to =E2= =80=98guix pull=E2=80=99. For that, Guile-Git needs to implement =E2=80=98git_transport_certificate_check_cb=E2=80=99 & co. I started doing= that but it=E2=80=99s a bit of work (wrapping =E2=80=98struct git_cert=E2=80=99 is c= umbersome) so I=E2=80=99m willing to punt on it for now. Thoughts? Ludo=E2=80=99.