From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MCgNO7XHAmIUhwAAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 20:42:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cLVgOLXHAmJ4kQAA9RJhRA (envelope-from ) for ; Tue, 08 Feb 2022 20:42:45 +0100 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 9E3F836C4B for ; Tue, 8 Feb 2022 20:42:45 +0100 (CET) Received: from localhost ([::1]:46430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHWNw-0007O7-K6 for larch@yhetil.org; Tue, 08 Feb 2022 14:42:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHU26-0006Qn-BK for bug-guix@gnu.org; Tue, 08 Feb 2022 12:12:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHU26-0001f9-1F for bug-guix@gnu.org; Tue, 08 Feb 2022 12:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHU25-0003bM-TX for bug-guix@gnu.org; Tue, 08 Feb 2022 12:12:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#49508: Implement --allow-insecure-transport for `guix pull` Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 08 Feb 2022 17:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49508 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 49508-submit@debbugs.gnu.org id=B49508.164434030113800 (code B ref 49508); Tue, 08 Feb 2022 17:12:01 +0000 Received: (at 49508) by debbugs.gnu.org; 8 Feb 2022 17:11:41 +0000 Received: from localhost ([127.0.0.1]:48484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHU1l-0003aV-2B for submit@debbugs.gnu.org; Tue, 08 Feb 2022 12:11:41 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHU1i-0003aJ-TX for 49508@debbugs.gnu.org; Tue, 08 Feb 2022 12:11:39 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id DDCC85C009F; Tue, 8 Feb 2022 12:11:33 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 08 Feb 2022 12:11:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=mesmtp; bh=lMbqFmGqohB pltNdW7UpcQYNgWGaJc8RnZlKT7f/CrU=; b=X8+c3TM4QGREkj1H9sMlgS1Njn9 DXTe+qMVI0YVX1HJuUVnKLbHx694eyfrC8XCkiq10gC3HiySFqOnAH2fGRK3T+Et G0KTEAZB9Q0B3gT0e5iI8eJjvNgtyPkgB9KAklWC+KbvCDir1cbgX6uEXoEIXmHF +gjecd2X8N8dmGPU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=lMbqFmGqohBpltNdW7UpcQYNgWGaJc8RnZlKT7f/C rU=; b=aSgZDinHoaEvsWZbRNXOfu2y5p9hMKJqKG6BGjqxKcfC6x5nTq0hA2MZT b+dhaxwQNx6EEvdpN9R8OL5P1QMOdortyEIV48/rYKAscxjJtWoJJ4nZPXKU709P f8rtokW4z5RjOor/SGQnWcEgRAt4Ib3EB1a72CC4dkXRKHQkHL26NPurxLZH/13+ ZehPX9HAi5BPGESBb5czfIR3ur9QU2lyjgNepasmFb7pWgwlVNKZfkw5AXj8P00g 07j4+DD+U8Ydo3uvwm1YQL1zkaVYNiQidZHjN0A3LlK3RsLaOObkkidCjtQp6jZP DODDsOM+DjdwuAIGuJCodNqPORpig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheejgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeihedtheetgfevveffieeiieffhfekgfehueduueduhfdttddvjeetteejueef tdenucffohhmrghinheplhhisghgihhtvddrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Feb 2022 12:11:33 -0500 (EST) Date: Tue, 8 Feb 2022 12:11:32 -0500 From: Leo Famulari Message-ID: References: <875yppbr1b.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <875yppbr1b.fsf@gnu.org> 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: 49508@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644349365; 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=lMbqFmGqohBpltNdW7UpcQYNgWGaJc8RnZlKT7f/CrU=; b=aT/iu7+Aoi6ElU/6cUZtGqvSIaYNT+I9RBLO4E0Rl5NmEh2AZaIlZEUu4LMk75/5wjHGos eQUTSlQdHQ6Etz5xuswshYbAw5rwOa3K4gP4o0m5I+rBYBpKGBGRU9O8mZ8FY5ktvAd3JV g16M+kGLi2PudKh1qIFhnXmdUB4jVmFDpqT2/isiCeb4LsXlYhapjIE3/Fko3FYnIwqijN LIGCqsBXJMvGPrxGC2wiw3eLliDbq8XIomGl8Cqu+gvSfSbD4Ocbe20bmq/hWjXJlxa2s/ zrB1H3IGlmxJy3gw3JjNLgXSTV+NwniNySu035hMjM4KHzH5vg901HvBVTcDOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644349365; a=rsa-sha256; cv=none; b=E22uYxGWE6RWiTz8tUlrL5cNa5Oif3yPu66gEsJBbfE2VNd27FRFMNAv45Av5tQiHPyDAs +fiqw1n60Dw1g3jpMNiZBTLtwRIQL/as+NlCVwN2rmp/11UEXgK5CbEmOTPRy4Z3ecmt1P Ziu+FVN0aivu0SQgMAEj+i4hRsJLOr3pNLyDpjZYjZv+sUhzEovr5sirLQpEosqCE95/cD 1k+TeC5bsdmGRBjtcohrsIEnTHW6EjVGtdlcw4XIDVi571DfybptX3Qu9JBP3/n5zH28og FMrwXlN4UyCsMqMMTTFGFkIjxDqui6Z9WCgMA4WPkA3OkzHPrvfhGLsbOVhokg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=X8+c3TM4; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=aSgZDinH; dmarc=none; 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" X-Migadu-Spam-Score: -3.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=X8+c3TM4; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=aSgZDinH; dmarc=none; 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" X-Migadu-Queue-Id: 9E3F836C4B X-Spam-Score: -3.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: KNVG++kKZpEg On Tue, Feb 08, 2022 at 11:18:08AM +0100, Ludovic Courtès wrote: > Unfortunately it seems that libgit2 doesn’t let us turn off certificate > verification: > > https://libgit2.org/libgit2/#HEAD/group/libgit2 > > ‘verify_server_cert’ in src/streams/openssl.c is called > unconditionally. Ah, that's not surprising. > So it seems that the first thing to do would be to > submit a patch upstream that would allow users to disable certificate > checks via ‘git_libgit2_opts’. Right, but it might not be accepted. > Now, by default, ‘guix pull’ honors /etc/ssl/certs. Assuming those are > up-to-date, it should be fine, right? Yeah, I think so.