unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: pukkamustard <pukkamustard@posteo.net>
To: guile-user@gnu.org
Subject: Encoding for Robust Immutable Storage (ERIS) and Guile
Date: Mon, 07 Dec 2020 13:50:01 +0100	[thread overview]
Message-ID: <86ft4hg4qu.fsf@posteo.net> (raw)

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/



             reply	other threads:[~2020-12-07 12:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07 12:50 pukkamustard [this message]
2020-12-09 16:50 ` Encoding for Robust Immutable Storage (ERIS) and Guile Ludovic Courtès
2020-12-10  8:27   ` pukkamustard
2020-12-11  8:10     ` Ludovic Courtès
2020-12-09 20:01 ` Christopher Lemmer Webber
2020-12-10  9:02   ` pukkamustard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86ft4hg4qu.fsf@posteo.net \
    --to=pukkamustard@posteo.net \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).