From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ALT4JcdlEWAKdwAA0tVLHw (envelope-from ) for ; Wed, 27 Jan 2021 13:08:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WDLCIcdlEWCFPQAAB5/wlQ (envelope-from ) for ; Wed, 27 Jan 2021 13:08:23 +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 05FCB9402BD for ; Wed, 27 Jan 2021 13:08:22 +0000 (UTC) Received: from localhost ([::1]:59166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4kYX-00065o-VC for larch@yhetil.org; Wed, 27 Jan 2021 08:08:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4kYE-00064l-Go for guix-patches@gnu.org; Wed, 27 Jan 2021 08:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4kYD-00062F-SO for guix-patches@gnu.org; Wed, 27 Jan 2021 08:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4kYD-0001fL-NX for guix-patches@gnu.org; Wed, 27 Jan 2021 08:08:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44199] Info: Rehash Project References: <5c72bcb9c86934deda97d952eb5cd459e615b313.camel@student.kuleuven.be> In-Reply-To: <5c72bcb9c86934deda97d952eb5cd459e615b313.camel@student.kuleuven.be> Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Jan 2021 13:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44199 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: wontfix patch Received: via spool by 44199-submit@debbugs.gnu.org id=B44199.16117528276334 (code B ref 44199); Wed, 27 Jan 2021 13:08:01 +0000 Received: (at 44199) by debbugs.gnu.org; 27 Jan 2021 13:07:07 +0000 Received: from localhost ([127.0.0.1]:44034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4kXL-0001e5-4q for submit@debbugs.gnu.org; Wed, 27 Jan 2021 08:07:07 -0500 Resent-Date: Wed, 27 Jan 2021 08:07:07 -0500 Resent-Message-Id: Received: from michel.telenet-ops.be ([195.130.137.88]:35238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4kXI-0001dw-O6 for 44199@debbugs.gnu.org; Wed, 27 Jan 2021 08:07:05 -0500 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id Mp722400U0mfAB406p73vo; Wed, 27 Jan 2021 14:07:03 +0100 Message-ID: <328647d66cf760388a26f2bbfaf3080801ca9ad0.camel@telenet.be> From: Maxime Devos Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-Qx1Ey2gZRVchSYxkCiwR" MIME-Version: 1.0 Resent-From: Maxime Devos Resent-Cc: 44199@debbugs.gnu.org Date: Wed, 27 Jan 2021 14:07:02 +0100 Content-Transfer-Encoding: User-Agent: Evolution 3.34.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1611752823; bh=pf5rJCI6uq4CsyCpkhj8gfPn7bYjWgMhudU7/l/Glns=; h=From:Cc:Subject:Resent-From:Resent-Cc:Date; b=eCD7uVwYoCD+XvJ1POxV7ERyNvE+w7DIDhhyqTKnfb8DvZsaQWpJBlIqeTBORKc/S KHsBUiMcA5Is+rCL2zq0l8N8A7Q0HLn7J3q+f2CXgnSuw/ZMcZe4Rkg3JOUfJCTE8v uFkeqfOU/3u0TImEqZIVqWTPR3DRvEY5HCTRJfRlLv6/z5c1b0crahcrFtq2fljMd7 vr4HJ0CzP6Z6f/57CcoDqs13tbM3tGQVmMAURhemx/RxUeZDdJLfPnn9tFed4MzAyY /pcndOV29XxQEJfBpQ/1aBwYabzeZdDGyfipafFdW28hVLwkTYnSqSKeX9KJFrQ6WZ 3kLtbgDvGwtWw== 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: , Cc: 44199@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=eCD7uVwY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 05FCB9402BD X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: ujEOFxo7c2ih --=-Qx1Ey2gZRVchSYxkCiwR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Matias (and Guix, which I've CC'ed), To Matias: a follow up message will follow. Unfortunately, I've just taken a pause from Guix+GNUnet hacking (though probably I'll occasionally resume hacking once in a while). Some things that work now: * The rehash service itself seems to work (https://notabug.org/mdevos/rehash). This is the service where peers add SHA512<->GNUnet FS URI mappings they discover (replace SHA512 by whatever Guix uses). * Unless I broke anything, the =E2=80=98remirror=E2=80=99 service (actually just a daemon implementing a web server to run locally) can proxy http: downloads. Proxying https: is a little difficult, as =E2=80=98remirror=E2=80=99 would need to play man-in-the-middle, but may be implemented eventually. Or maybe guix can be patched to (optionally) not use the CONNECT method for proxying https: downloads. There is no =E2=80=98offloading=E2=80=99 to GNUnet yet, though. * Perhaps a better approach for substitutes: In the =E2=80=98scheme-gnunet=E2=80=99 repository (https://notabug.org/mdev= os/scheme-gnunet/src/master/ROADMAP.org), I've written a publish-store.scm and download-store.scm script, that respectively upload and download an item from the store/GNUnet FS (using the gnunet-publish and gnunet-download binaries). It's not plugged into the guix substituter and guix publish yet, though. I'm a bit at a loss how to do this properly, so I'm more-or-less waiting until (a future revision of) the IPFS patch is merged, and then I'll try to add GNUnet as =E2=80=98just another p2p sys= tem=E2=80=99. Greetings, Maxime --=20 Maxime Devos PGP Key: C1F3 3EE2 0C52 8FDB 7DD7 011F 49E3 EE22 1917 25EE Freenode handle: mdevos --=-Qx1Ey2gZRVchSYxkCiwR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYIADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYBFiCRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pPTAQDTaskqInlgIBD7g93IkaptLS2v ddCGN9fojF0WKPGnYAEAivUCGWCEvCknev8qngB+KIRBDH2CG0ikXaMDXUlOIgM= =+8KI -----END PGP SIGNATURE----- --=-Qx1Ey2gZRVchSYxkCiwR--