From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Lemmer Webber Newsgroups: gmane.lisp.guile.user Subject: Re: Encoding for Robust Immutable Storage (ERIS) and Guile Date: Wed, 09 Dec 2020 15:01:11 -0500 Message-ID: <87lfe621h4.fsf@dustycloud.org> References: <86ft4hg4qu.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28020"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: guile-user@gnu.org To: pukkamustard Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Dec 09 21:14:42 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kn5rF-00079R-Et for guile-user@m.gmane-mx.org; Wed, 09 Dec 2020 21:14:41 +0100 Original-Received: from localhost ([::1]:55668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn5rE-0005KB-HH for guile-user@m.gmane-mx.org; Wed, 09 Dec 2020 15:14:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn5es-0002MU-V2 for guile-user@gnu.org; Wed, 09 Dec 2020 15:01:54 -0500 Original-Received: from dustycloud.org ([50.116.34.160]:45876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn5eq-0002Hj-Ve for guile-user@gnu.org; Wed, 09 Dec 2020 15:01:54 -0500 Original-Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id B188626641; Wed, 9 Dec 2020 15:01:50 -0500 (EST) In-reply-to: <86ft4hg4qu.fsf@posteo.net> Received-SPF: pass client-ip=50.116.34.160; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17068 Archived-At: Congratulations pukkamustard, I really am excited by and respect the work you're doing on this. I think it's probably the proper replacement slot for the storage work I'm doing in Spritely. Once Spritely Goblins gets ported to Guile it'll be really fun to combine these two things. :) pukkamustard writes: > Hello Guile Users, > > I'm happy to announce guile-eris 0.2.0. This is a Guile implementation > of "Encoding for Robust Immutable Storage (ERIS)" [1]. > > ERIS defines how an arbirtary sequence of bytes can be encoded into a > set > of uniformly sized blocks and an identifier (read capability). The > blocks are encrypted such that the original content can only be > decoded > given the read capability. ERIS is a scheme for content-addressing in > the sense that the read capability is deterministically computed from > the content itself. > > This is done by splitting content into blocks, encrypting them and > collecting references to blocks in a higher-level node (i.e. building > a > Merkle Tree). See the specification [1] for a detailed description of > the encoding. > > Encodings like ERIS are common in protocols such as Bittorrent, > GNUNet, > IPFS, et. al. ERIS decouples the encoding from any particular protocol > or application, allowing content to be referenced regardless of > storage > and transport layer. For example ERIS encoded content can be stored > and > transported over IPFS [2], but also over HTTP or via an USB stick. > > My interest in developing this has been for an ActivityPub-esque > applications where content can be cached and replicated to make > availability of content more robust. There seem to be many other > applications, including Guix substitutes. > > ERIS is still "experimental". This release is intended to initiate > discussion and collect feedback from a wider circle. In particular I'd > be interested in your thoughts on applications and the Guile API. > > ERIS is very much related to Datashards [3] and is in progress of > converging closer. > > I have submitted a patch to Guix. You should be able to start > experimenting with ERIS with `guix environment --ad-hoc guile-eris > guile` shortly. > > Thanks and happy hacking! > -pukkamustard > > [1] http://purl.org/eris > [2] > https://gitlab.com/openengiadina/eris/-/blob/main/examples/ipfs.org > [3] https://datashards.net/