Re: [Rats] Composite Evidence

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 23 January 2020 20:26 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 217F0120C10 for <rats@ietfa.amsl.com>; Thu, 23 Jan 2020 12:26:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 EyGo3NPX-8rZ for <rats@ietfa.amsl.com>; Thu, 23 Jan 2020 12:26:48 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00F82120970 for <rats@ietf.org>; Thu, 23 Jan 2020 12:26:47 -0800 (PST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 998F538982 for <rats@ietf.org>; Thu, 23 Jan 2020 15:26:13 -0500 (EST)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 0332AC50 for <rats@ietf.org>; Thu, 23 Jan 2020 15:26:47 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: "rats@ietf.org" <rats@ietf.org>
In-Reply-To: <BYAPR11MB2536EEF62BD7B1C53EC59659A10F0@BYAPR11MB2536.namprd11.prod.outlook.com>
References: <BYAPR11MB2536867559E1A20682A1FC2BA10F0@BYAPR11MB2536.namprd11.prod.outlook.com> <25403.1579747229@localhost> <BYAPR11MB2536EEF62BD7B1C53EC59659A10F0@BYAPR11MB2536.namprd11.prod.outlook.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 25.1.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Thu, 23 Jan 2020 15:26:46 -0500
Message-ID: <12596.1579811206@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/LYdASWTrGlewL7XYXDKBA_CDzso>
Subject: Re: [Rats] Composite Evidence
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Remote Attestation Procedures <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jan 2020 20:26:50 -0000

Eric Voit (evoit) <evoit@cisco.com> wrote:
    >> First, I found the diagram confusing, because I think you rotated our
    >> previous diagram 90 degress clockwise.

    > As I was adopting the passport model, I used the Architecture Document
    > Figure 4 in Section 5.1 as a base.

Yes, I knew that, but I think we need to meld it into the diagram we have,
so we need to find a way to allow people's visual cortex to map things visually.

    >> Second, I found the extra hash(),@time, stuff distracting, as it went into
    > a
    >> level of detail that just confused me.

    > I need to put together a submission which defines the elements diagram.
    > These details are important for exposing why I see the intersections of
    > evidence types and composite evidence being quite important.  Some of these
    > reasons are exposed in my reply to Dave & Ned which dives into three types
    > of evidence (i), (ii), & (iii).

I'm happy if you have "ev(i)","ev(ii)", etc. and explain that in the text.

    >> Give an example of something that would not fall into that category.
    >> Maybe you are trying to abstract "has a signature" to things that can be
    >> verified without a asymmetric digital signature. (KerbV Ticket?)

    > It is true I am trying to abstract away from "has a signature".   I didn't
    > want to exclude things like the possibility that Verifier B to go back to
    > Verifier A if a trust relationship hasn't been established between them yet.

How about "signature (or equivalent)"

    >> I think that the key thing that we needed to be able to say is that
    > Composite
    >> Evidence is not:
    >> 1) struct evidence_claims foo[];
    >> -or-
    >> 2) struct attestation_results foo[];
    >>
    >> but rather:
    >> union composite_evidence {
    >> struct evidence_claims ec;
    >> struct attestation_results ar;
    >> } foo[];

    > I very much agree with your code above. And the definition needs to reflect
    > this.   The question which Ned & Dave open up is whether types of
    > evidence_claims need to be exposed in your union composite_evidence.

Of course "struct evidence_claims" is a structure, I expect it to often be an EAT.
So I'm not sure I understand the debate.

    > directly hits my question of whether the definition of composite evidence
    > needs to intersect the definition of evidence types (i), (ii), & (iii).
    > The more I think about this in the context of your code above, the more I am
    > hoping to keep the two concepts orthogonal.

Is the question about how this union is distinguished?

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [


--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-