From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OES4IAvQWGfDggAA62LTzQ:P1 (envelope-from ) for ; Tue, 10 Dec 2024 23:34:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OES4IAvQWGfDggAA62LTzQ (envelope-from ) for ; Wed, 11 Dec 2024 00:34: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=pWlIMUIX; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=myc1PACX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733873674; a=rsa-sha256; cv=none; b=U7AX+GRda2BR3WfymITDV+MrPlj8y3Ga+eW+X+SHNRmCO7tTLe/MyDWq6scryfcrASMaEI Mk1RMEup7UexyhvV2dkch/Qt4ZeJHv/IYSeMFe3uAu/uOjU1fWakVKEtUQEFhhvff9mmGM 0dgrzCwXoGFJ5YcChJCUBsUUb471WrNuFEUW/lEBEToE/+aNP+pJadXD3Cha78/dbkNPRs 4EVKqYvn4aLPkH6ZsmwXKZa+c7+O0n90Psz8bXIXlgtXYr1aIlq9Z64yX7S4dYHtUKS6R4 zsyIQjUOadGITddgf7yfr9uOSjYVqvr1wr5BELEAHBYYZEmh2pCDuDI52+Ebiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=pWlIMUIX; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=myc1PACX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733873674; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=pVsfPDa9vN0ojfmtMpFZxOsBuSbDEv/m6LjzEFjubEE=; b=KOOvCBnxbzf+5R4i1Zz+62CNWq4dgHFx6dNP3ov/koZB8mHp67MK8vfdIEVEgAJXbSLpGy 2s3SGGjXugBJ5Cf3Bumsay8lsNPp6hEfbz0C564tSr6Mi+Oji4rh3uJbhq/QVi6pIdcADF 4wDMyx1kChQBa891AldQ14VzCVwZj7xBGec4BaCISwS5k9Oa2zHCxiq2AdckLAQFdIwuM8 XR+P+MDOJiqiKGzhUiM0lO12Cr9r7b7unrUj2Sr3Efid+fLf333wtXP8W0vBG2Uw+6J8KE 5z4lpBqjAOLxMbMEVA60qnkeRP3pyMF1BESDib5WBHDhOpUJ6Yaxcc0gDi+1VA== 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 A321A85C76 for ; Wed, 11 Dec 2024 00:34:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL9k4-0007a1-Ai; Tue, 10 Dec 2024 18:34:12 -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 1tL9jy-0007YT-VN for guix-patches@gnu.org; Tue, 10 Dec 2024 18:34:07 -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 1tL9jy-0002Ms-Mh; Tue, 10 Dec 2024 18:34:06 -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:From:To:Subject; bh=pVsfPDa9vN0ojfmtMpFZxOsBuSbDEv/m6LjzEFjubEE=; b=pWlIMUIXKuKDWE2h1B6aWZA6Uh7xhQSzyUk6kbS+CdBnf8JK02me8EEE7D+pHsirBz0GpXFvq80GFt03NKxOr9khYyAsKloROYXlWaWjKJBFAH3BOLEpcX/NtQcO1+jjJ8Q2ril6JQ//R9KfJighMe5adG3M8ytJD/+Nca/3J0QyLZaRsX/klEEc9Ihz6RPWdN6y9LChH1CbtApYNN91+kwVgReA0uQYhbIkUYjVn7z3MRJsm/+U4KeaYmUCXZ/4AnC+jrhZKJhsz85wnas4HSOeszAcE0hHFkL1ZYAF14rDxseChpB3nf4F8kDj6xMP9jVt49yUmU75X+i9jumuPA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tL9ju-0005Nm-Rs; Tue, 10 Dec 2024 18:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74776] [PATCH 0/7] Adding '--no-check-certificate' to 'pull' and 'time-machine' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Tue, 10 Dec 2024 23:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74776 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74776@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Nicolas Graves , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.173387362120582 (code B ref -1); Tue, 10 Dec 2024 23:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Dec 2024 23:33:41 +0000 Received: from localhost ([127.0.0.1]:60032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL9jY-0005Lr-VY for submit@debbugs.gnu.org; Tue, 10 Dec 2024 18:33:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:52566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL9jW-0005Lc-P0 for submit@debbugs.gnu.org; Tue, 10 Dec 2024 18:33:39 -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 1tL9jV-0007VL-TI for guix-patches@gnu.org; Tue, 10 Dec 2024 18:33:37 -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 1tL9jT-0002M6-Ee; Tue, 10 Dec 2024 18:33:35 -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:Subject:To:From:in-reply-to: references; bh=pVsfPDa9vN0ojfmtMpFZxOsBuSbDEv/m6LjzEFjubEE=; b=myc1PACXRmVCn9 XGXMzu9tvoCIOO4VAiphEUBcIwX7bvbUoCFUntbIiJdyG+vHztoNcbMOc7ZlC7mkHT41oyb6+0Hcz b9fmQUPC59nlPPfizuRG+jtq/AC4N+JBM69exR7/OeODte3QfOKzX9QzHlAkjw+e6WVDh79KvMRUF +NRvXdUUGh8C23EtiDWRLIyJ+kT+NeQWYD2+qrnPJE/5ctoHScmUxJ7CcNUHgxwLdarQFdT9cZ+2Z iA9E/8lzBSJniDwuvKO2v+89zLzHgiRuRGNeicLnl6lJOhwO/VgdoQfTkiUiN6fBwBeAaz0EYFmdj jOxZ5YJzuquppBiolSWw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 11 Dec 2024 00:33:22 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: A321A85C76 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.86 X-Spam-Score: -2.86 X-TUID: jd5kQqYxA59T Hello, As discussed with Nicolas in , being able to skip X.509 certificate verification in ‘guix pull’ & co. can be useful in emergency situations. This patch series: • fixes ‘guix download --git --no-check-certificate’ so that ‘--no-check-certificate’ is actually honored; • adds ‘--no-check-certificate’ to ‘pull’ and ‘time-machine’. Thoughts? Ludo’. Ludovic Courtès (7): git: Remove Guile-Git < 0.4.0 compatibility fallback. git: Allow X.509 certificate verification to be disabled. guix download: Honor ‘--no-check-certificate’ for ‘--git’. channels: Add #:verify-certificate? and honor it. pull: Add ‘--no-check-certificate’. inferior: Add #:verify-certificate? to ‘cached-channel-instance’. time-machine: Add ‘--no-check-certificate’. doc/guix.texi | 8 ++++ guix/channels.scm | 22 ++++++++--- guix/git.scm | 72 ++++++++++++++++++++++++----------- guix/inferior.scm | 24 ++++++++---- guix/scripts/download.scm | 34 +++++++++-------- guix/scripts/pull.scm | 16 ++++++-- guix/scripts/time-machine.scm | 14 ++++++- 7 files changed, 134 insertions(+), 56 deletions(-) base-commit: dcaccc8b722cee279c00bb321baa48ae73563931 -- 2.46.0