Re: [Trans] Verifying inclusion proof

Matt Palmer <mpalmer@hezmatt.org> Mon, 29 June 2015 23:05 UTC

Return-Path: <mpalmer@hezmatt.org>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F0A51B2E60 for <trans@ietfa.amsl.com>; Mon, 29 Jun 2015 16:05:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.979
X-Spam-Level:
X-Spam-Status: No, score=-0.979 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_COM=0.311, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yj_x2gaijUg2 for <trans@ietfa.amsl.com>; Mon, 29 Jun 2015 16:05:08 -0700 (PDT)
Received: from mail.hezmatt.org (erdhenne.tobermorytech.com [178.63.85.14]) by ietfa.amsl.com (Postfix) with ESMTP id 81FDF1B2E53 for <trans@ietf.org>; Mon, 29 Jun 2015 16:05:04 -0700 (PDT)
Received: from mistress.home.hezmatt.org (2001-44b8-3196-7300-1c5b-a8f1-b591-1eef.static.ipv6.internode.on.net [IPv6:2001:44b8:3196:7300:1c5b:a8f1:b591:1eef]) by mail.hezmatt.org (Postfix) with ESMTPSA id C65B968A0A for <trans@ietf.org>; Mon, 29 Jun 2015 23:05:01 +0000 (UTC)
Received: by mistress.home.hezmatt.org (Postfix, from userid 1000) id BE9049FE66; Tue, 30 Jun 2015 09:04:58 +1000 (AEST)
Date: Tue, 30 Jun 2015 09:04:58 +1000
From: Matt Palmer <mpalmer@hezmatt.org>
To: "trans@ietf.org" <trans@ietf.org>
Message-ID: <20150629230458.GX30545@hezmatt.org>
References: <558D61DE.8020402@nic.cz> <CACM=_OeTnNCk+VSiQ1E5T2_a7YkxwxZ2w8HJSg13wtVc2wQUfA@mail.gmail.com> <55900D1D.2030009@bbn.com> <CABrd9SQV6tybHwgo=ZATEPjhsV64=5=O-fi10pcwHnAHCyArDA@mail.gmail.com> <20150628220648.GI13302@hezmatt.org> <CABrd9SS7-dDYUhJkFe99YQ2EtdO6x10y=VOc4Qr6ERL+PZq0hQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABrd9SS7-dDYUhJkFe99YQ2EtdO6x10y=VOc4Qr6ERL+PZq0hQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/trans/vFm6p9adG86MHsgvx1dDfLdj-78>
Subject: Re: [Trans] Verifying inclusion proof
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Public Notary Transparency working group discussion list <trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>, <mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>, <mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 23:05:10 -0000

On Mon, Jun 29, 2015 at 12:29:47PM +0100, Ben Laurie wrote:
> On 28 June 2015 at 23:06, Matt Palmer <mpalmer@hezmatt.org> wrote:
> > On Sun, Jun 28, 2015 at 04:26:51PM +0100, Ben Laurie wrote:
> >> On 28 June 2015 at 16:05, Stephen Kent <kent@bbn.com> wrote:
> >> > IETF standards need to be unambiguous. Code is very helpful, but it is not a
> >> > substitute
> >> > for a rigorous description of how to resolve the issue that Onderj raised.
> >>
> >> Whilst I am not necessarily opposed to that, there has to be a point
> >> at which you stop explaining what can be worked out given existing
> >> information. The RFC does state how the hash is calculated, from which
> >> it is clear what the placement of each node is in the hash
> >> calculation.
> >
> > s/it is clear/it is possible to determine/
> >
> > I would be in favour of more clarity around exactly how the inclusion proof
> > is represented; I recall having significant trouble comprehending how
> > inclusion proofs "worked", and ended up examining existing operational logs
> > and using trial and error to determine how the inclusion proof was
> > presented.
> 
> Feel free to open a ticket. However, the mechanism for verifying
> inclusion in a Merkle tree is widely available in standard texts, for
> example 3.3 in http://www.emsec.rub.de/media/crypto/attachments/files/2011/04/becker_1.pdf.

That document doesn't appear to be referenced in 6962bis, nor would it, I
assume, answer the question "how is the inclusion proof represented in the
response to get-sth-consistency".

- Matt