all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, gnunet-developers@gnu.org
Subject: Re: gnunet-guile reboot & guix (take two)
Date: Mon, 05 Feb 2018 19:51:36 +0100	[thread overview]
Message-ID: <87tvuv5kxz.fsf@elephly.net> (raw)
In-Reply-To: <871shzd0v5.fsf@gnu.org>

Hi,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi amirouche,
>
> amirouche <amirouche@hypermove.net> skribis:
>
>> After discussing gnunet & guix at fosdem with gnunet
>> people I have better picture of where things can go.
>>
>> The short story is:
>>
>> 1) There is no way to know the gnunet hash aka. gnunet uri
>>   of a substitute before the build.
>>
>> 2) There is no way to associate gnunet hash and guix hash
>>   in a secure/trusted manner over gnunet. Except maybe
>>   if we use GNS to publish guix hash as subdomains of
>>   substitute-server.guix.gnu?
>
> Before jumping to conclusions, did you check the narinfo format that we
> use on HTTP?  A narinfo is essentially a statement that a given store
> item, resulting from a .drv build, has a specific content hash.

This may have been due to my unclear communication at the Guix Meeting
on Friday.  What I said there is that we cannot possibly know the hash
of the output *ahead of time*, which is why it cannot be recorded as
part of the package definition.

The file format of the narinfo files accompanying substitutes, however,
(as provided by files served through “guix publish”) *does* contain the
hash of the contents.

> Lookup by content hash over GNUnet’s AFS is all we’d need.

Indeed.

For items that are *not* reproducible (or that are marked as not
substitutable) a different mechanism would be needed, but it is much
less important to have it.  For those items a keyword lookup (where the
keyword is the name of the derivation or the name of the item’s path in
the store) with filtering by GNS trust would be possible; but
considering that this case is less important and harder to implement I
don’t think we need to bother with it.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net



_______________________________________________
GNUnet-developers mailing list
GNUnet-developers@gnu.org
https://lists.gnu.org/mailman/listinfo/gnunet-developers

  reply	other threads:[~2018-02-05 18:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-03 13:10 gnunet-guile reboot & guix (take two) amirouche
2018-02-03 14:46 ` Adam Van Ymeren
2018-02-05 13:25 ` Ludovic Courtès
2018-02-05 18:51   ` Ricardo Wurmus [this message]
2018-02-09 15:27 ` [GNUnet-developers] " amirouche

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

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

  git send-email \
    --in-reply-to=87tvuv5kxz.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=gnunet-developers@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.