From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EFcfOLATyWRQvgAASxT56A (envelope-from ) for ; Tue, 01 Aug 2023 16:16:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QJEUOLATyWQmIAAA9RJhRA (envelope-from ) for ; Tue, 01 Aug 2023 16:16:16 +0200 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 8067F42217 for ; Tue, 1 Aug 2023 16:16:16 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=OU1XyGfH; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690899376; 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: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=9Glyf74yxdX9lOx25PbrRAn7GQIt7CQmHaAMjztKyto=; b=aknJouOLm3YRqRmZPQRhGmE4+9tmntlsKgAg1rFekLSNibe1EtfanXFYnGxNiKyxlJlzox MYb3NBuK1s9zujS4lh4tOumTkHHjGYSAF1L/qXbXJcAxbag7S5H4lJ7sCVM2N4hcsYe2Qc 3TmPjOFEbO0PqDeiqIu8LVJSV20TBjTjpGxjw16hnYzozcfCN3adYY80f6Df6wgb1LJ7Ad 2llo3YQbqKAidBOTvCvUZOYIF3VBdOLb+MpKUuea5nOiM/l7Q84lTg55yrosG1JOHJvN1H pRDmVPS7e5fmEIbV/rAsUd9jrlDW9v/D0D4p5gCjHQupw/CyFEs8Gpf0DFL1mA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=OU1XyGfH; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690899376; a=rsa-sha256; cv=none; b=Wi7LPeymglu48L8p5+5MOWIH/1OG1V+uMXQl/YlevUBZUVGJoBVDuUO2BjmSFwf/wHBc9b 84LByXsbAWbZ9Q7/woCsS/LJzUPVodMM6Qhc2aea3d5D/0mjt+SA0K3Nrq4viKQhLzvoy0 8axW1i6xi5jihiSnEROtQ/FrcSQDYgMH2LZEZki+t6HjXc3ai9YKVC5Nt7rMNquD48Y6Pl qigOsAO5oJQ/PTVwCol1P0UymFVkVqlWG8sq1LkhSh+dDgLJanH45aO0rk6JOjWd7dU7IM aJyRbzWst/0Ddw4pt9UUhexesaIyQ799PNfXuVjFLHw8P9SqPJ6kezQVxpNh3g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQqAO-0006ZN-Ge; Tue, 01 Aug 2023 10:16:04 -0400 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 1qQqAL-0006Yt-Vp for bug-guix@gnu.org; Tue, 01 Aug 2023 10:16:02 -0400 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 1qQqAL-0002sM-Mk for bug-guix@gnu.org; Tue, 01 Aug 2023 10:16:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qQqAL-0005sQ-If for bug-guix@gnu.org; Tue, 01 Aug 2023 10:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64648: Can't clone a git repo over anonymous SSH Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 01 Aug 2023 14:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64648 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Edouard Klein Cc: 64648@debbugs.gnu.org Received: via spool by 64648-submit@debbugs.gnu.org id=B64648.169089931922535 (code B ref 64648); Tue, 01 Aug 2023 14:16:01 +0000 Received: (at 64648) by debbugs.gnu.org; 1 Aug 2023 14:15:19 +0000 Received: from localhost ([127.0.0.1]:48152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQq9e-0005rK-MI for submit@debbugs.gnu.org; Tue, 01 Aug 2023 10:15:19 -0400 Received: from mail-oo1-xc2e.google.com ([2607:f8b0:4864:20::c2e]:57750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQq9c-0005r3-1I for 64648@debbugs.gnu.org; Tue, 01 Aug 2023 10:15:16 -0400 Received: by mail-oo1-xc2e.google.com with SMTP id 006d021491bc7-56661fe27cbso3813840eaf.3 for <64648@debbugs.gnu.org>; Tue, 01 Aug 2023 07:15:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690899310; x=1691504110; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=9Glyf74yxdX9lOx25PbrRAn7GQIt7CQmHaAMjztKyto=; b=OU1XyGfH9z0kEQGuyx2AasXzAQz3dnqmYlKGRrbMxhe7eWAbwIy6OL6LJyV0nQAPxX CWocn3dQH1DN5emZeKEVXAFpBjCOGspcifg4OH1zkyPfUizywExYzs+M823wi3MRTw7S WIVK68or541v9UnS7quZ4uTrdpkbelcBYRrcXbwDUcR4WiRW4epMO/trVahG9hKnPtng vnDwoETa9i3zCENkUoJcmfOIW0+fGCccv34p5thuxb/P8QaVWLEF0KgM3rGSZvzJ42ZO 6iH42iJsUA+EW3D9vqkFPisMdFww/UCJuUWwuqI4VsvBg8CM/LO4UsDJaZygw4jOitfw k76A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690899310; x=1691504110; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9Glyf74yxdX9lOx25PbrRAn7GQIt7CQmHaAMjztKyto=; b=TAStlB1F99vYFRdTZejwvpJ4MbtEDFqBe2OzNbqOv5OidVVYOvL/qN3Ui1vXZXGRC+ VL/uUvodTR5QZRxK0uikvU87S8JTq7u+QSLICO7tZju0OX+U6GxUIGDgCGhPP/NoMshb 5tmQmo+JRtnvLFETFE52UWwVj8rbV9iNAC3LHjBYorFo8Dsb0UsSdVyQ3j4n1IeQqIWT KyplBf/cO0ijFZkFzY8W7pkk7Ia7pYiycdPRrrtuD4kMqQwAeourCLjaqYZDp9WGsv1j 8or3Mkws5eXs/fCudn8Mu8Kmy33Aqdj2wrRMZRc2QUB0jdTmQg1aRquz1JGMJzBXP55h r3Ig== X-Gm-Message-State: ABy/qLZBNLC9HN0BAL46p5d4nCHiZ9p92w49qJIM8TNRhteRzh0yvo32 f2WDCqB4CyjnwtbnHyIib+dJEKB4K0Q= X-Google-Smtp-Source: APBJJlEIVqcL8kk9mZRwssnJuj89M8OEYgaD0+lm5DUdJQN7ZXvlnGmEaeM5n1zrIirPeUloUgIXSg== X-Received: by 2002:a05:6358:52c3:b0:133:7c4:e752 with SMTP id z3-20020a05635852c300b0013307c4e752mr4528008rwz.26.1690899309885; Tue, 01 Aug 2023 07:15:09 -0700 (PDT) Received: from hurd (dsl-151-227.b2b2c.ca. [66.158.151.227]) by smtp.gmail.com with ESMTPSA id e16-20020a0ce3d0000000b0063642bcc5e4sm4641786qvl.9.2023.08.01.07.15.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 07:15:09 -0700 (PDT) From: Maxim Cournoyer References: <87zg3xpaje.fsf@rdklein.fr> <874jlyn2n3.fsf@gmail.com> <87tttkzbb5.fsf@rdklein.fr> Date: Tue, 01 Aug 2023 10:15:08 -0400 In-Reply-To: <87tttkzbb5.fsf@rdklein.fr> (Edouard Klein's message of "Mon, 31 Jul 2023 11:18:04 +0200") Message-ID: <87jzuesvbn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.54 X-Spam-Score: -4.54 X-Migadu-Queue-Id: 8067F42217 X-Migadu-Scanner: mx1.migadu.com X-TUID: ZPuNliZi4n+K Hello, Edouard Klein writes: > Hi ! > >> >> Don't they also offer a HTTP(S) access? I think libssh as used by >> libgit2 expects an SSH agent running... I remember wresting with it in a >> CI context. > > Well, "they" is me :) I finally opened up anonymous access via git:// > but I'm not extatic about it, it's one more daemon that can be pwnd. > > https://gitlab.com/edouardklein/guix/-/commit/40e320d14b4c583214cdbd45fb47453c5ebb762a > > The dedicated service did not work so I rolled my own as a > sheperd-root-service. I did not have the time to look into the issue. > > So the problem remains, but is less urgent because it has been worked > around for now. Fixing this upstream seems like a hard battle. OK; I think the best course of action here would be to come up with a minimal reproducer written in C using all the API available of libgit2 or libssh2 (which is used by libgit2) and report any issue to their issue tracker and/or work toward a fix. It'd be interesting to see how libssh compares, and perhaps attempting to revive this pull request which adds 'libssh' as a backend to libgit2 here [0] [0] https://github.com/libgit2/libgit2/pull/5253 -- Thanks, Maxim