Re: [Rats] Call for Adoption: EAT draft

Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> Thu, 23 May 2019 10:44 UTC

Return-Path: <kathleen.moriarty.ietf@gmail.com>
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 8AB9B1200B1 for <rats@ietfa.amsl.com>; Thu, 23 May 2019 03:44:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 bjCL271-YaDG for <rats@ietfa.amsl.com>; Thu, 23 May 2019 03:44:41 -0700 (PDT)
Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CC6412002F for <rats@ietf.org>; Thu, 23 May 2019 03:44:41 -0700 (PDT)
Received: by mail-oi1-x22f.google.com with SMTP id u64so4005659oib.1 for <rats@ietf.org>; Thu, 23 May 2019 03:44:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TtIGOb6UMkH8L4w2pLOcv1ogbR9rW8adej/Q1AHYNEY=; b=PDFOOr7V/4GDiqN43g+U4eVfQbb7stHgF22TRhM1Ibkc4V3J9tElkjHFrtTV3pCTCG oB36q9lJDQnD/IMY0fpNiIRtWNLxWrpjgiyZY6GFLMfM3AGqoqe072tfhRo+AhsP1fg9 Sy8bCDYWznBlQ5k6myRqWjiWI+wrN5zhkUC2uBeM++ihyXjtctaxyrrN3St+MWDGUYcq 3N2yE2Xl2Q5gZQQtzIANU+fXkumxkMt0oVOcX7gzIAIsurYNvHuhIL6TPpxFN/b8iNFt 7SE6PYDaebBVfOPgyc5O4ShUjaH571/r9KFb68suSTm8cwyMb7PdRa/RtgQCm6K9vYYQ LA1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TtIGOb6UMkH8L4w2pLOcv1ogbR9rW8adej/Q1AHYNEY=; b=RHozlAi9PtNDmiDLTRP9E0N0e9h6g07mnQ39igvUBAHdmP/sn5tJ0p5J759EFhTNYo LvfmJP9EFHtBG/pVOn00PqeeE+r0HF+YoLt/ch2F4iQs5sAz8VjnS4SMIKA58T1u6Nj7 ZVdOWVcJyRv1Mk5BKJPNX8QcOF6u8P6cBZm3RZzvpDOcM/kiR5OnMGLYfRkD5lR+MRG0 fvahMKQSdEDha3a/c7DD+Xkf/hE4rbRbka2uAjIHQgw8pEe2bWQ3OupeXZMtPqEGVJf+ eiGRZrYYwpNe6BEykar9IvxusqGsqzfxkkngCZJxKjhpla4HIF2RBVl1A4Bg7c15whWF b+JQ==
X-Gm-Message-State: APjAAAU2q/2ed2JI4520Umqbq3hlKIPVIDgHH/BiyjJmEuqixlAxVy+w 8xbP8aSUXEZVXgEjyaJdQ+nx2j8BueNbXduY4KCufdAI
X-Google-Smtp-Source: APXvYqzH8mfVkp4k4D56ov6g2lmdHwFthsupVOGFjwaqQACMlRJgIu0fnm0strCjx+Anj3dumOukG9OP7IZyyaiJrXE=
X-Received: by 2002:aca:3d54:: with SMTP id k81mr2150472oia.111.1558608280172; Thu, 23 May 2019 03:44:40 -0700 (PDT)
MIME-Version: 1.0
References: <CAHbuEH6Mdwp+neWbcecA-pMYZoXKiNda2A0EnMh-8WX=W9_edA@mail.gmail.com> <124ACA8D-6209-440C-99E4-B82A24FC18D1@tzi.org>
In-Reply-To: <124ACA8D-6209-440C-99E4-B82A24FC18D1@tzi.org>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
Date: Thu, 23 May 2019 06:44:03 -0400
Message-ID: <CAHbuEH5HVyWx+35+LxYNoiqSkwNte1kozWSCPTOPKXNLXeASvg@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: rats@ietf.org
Content-Type: multipart/alternative; boundary="000000000000e2404605898bc4aa"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/178uWnVzFjWPLF7SjdDQxxod4gU>
Subject: Re: [Rats] Call for Adoption: EAT draft
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 May 2019 10:44:44 -0000

Hi Carsten,

Thanks for raising your questions to the list (and authors).  I'll respond
with my take on it and would like to hear from the authors as well.

First, once a document is adopted, it becomes the product of the WG.  If
the WG would like it to strictly to have the attestation data use a CWT,
then the WG can specify that.  We don't have to wait on additional
iterations of the document to request adoption though.  I read through the
document and think it is well developed enough for adoption.  If you'd like
the document to take on a different shape, the way to do that is through
adoption, not more iterations outside of the WG process.

On Wed, May 22, 2019 at 3:24 PM Carsten Bormann <cabo@tzi.org> wrote:

> > The Entity Attestation Token (EAT)
> > https://datatracker.ietf.org/doc/draft-mandyam-rats-eat/
> >
> > This begins a 2 week period to determine interest in adopting this draft
> as a working group item.  The poll will close on May 24th EOD PDT.
>
> Hi Kathleen,
>
> I am definitely interested in this work.  This is important, and I’d like
> to be able to convince myself we are doing it right.
>

Your participation in review cycles would be most appreciated, especially
once adopted.

>
> I apologize for maybe being a bit slow on the uptake, but currently I
> don’t have enough data to make a decision that the present document is on
> the trajectory yet where I’d normally ask for WG adoption.  Maybe this
> adoption call simply is a few weeks (draft revisions) too early.
>
> While we can fix a lot of details in the WG process, I’d like to
> understand some fundamentals before committing to the trajectory I don’t
> understand.
>
> For instance, I’d like to understand whether an EAT is a token or a
> protocol message in some as yet undescribed protocol.  E.g., there is the
> 11, nonce.  Is this the same thing that would be 7, cti in RFC 8392?  Or is
> it really something that is about an attestation protocol?  If this is a
> nonce, what does the “nonce” mean?  A single-use token?  A nonce that isn’t
> quite a nonce but only can be reused in a limited context?  How does the
> nonce bind to that context?
>

Right the text of the draft from the start in the introduction does say
it's the same as CWT for the attestation, but it doesn't say it uses CWT:

   Moreover, the
   attestation data is defined in the form of claims that is the same as
   CBOR Web Token (CWT, see [RFC8392]).

Section 1.2 goes on to say:
   As per Section 7 of [RFC8392], the
   verification method is in the CWT using the CBOR Object Signing and
   Encryption (COSE) methodology (see [RFC8152]).

The intent of using CWT and CBOR is more clear here.



> More generally, I’d like to understand whether an EAT *Is* a CWT, or *Is
> like* a CWT.
> Can I put in an “exp” claim?  If yes, why do we need a new CBOR tag for
> something that essentially is a CWT?  Wouldn’t it be useful to explain when
> a CWT is an EAT and when it is just a plain CWT?  Tagging outside the COSE
> sign/mac isn’t enough (an attacker can change the tag and make a confusion
> attack).  Is this spec really the place to define a “loc” claim and its
> subclaims?  Is subclaims a concept that is only for EATs or is it for CWTs
> in general?
>

I agree, having EAT use CWT is cleaner.  If something is lacking, the COSE
WG is open again...

>
> I could go on explaining my lack of understanding here, but I think it
> should be clear that there are a lot of questions on *what* we are doing
> here (as opposed to *how* we are doing it, which is what the WG process is
> good for nailing down).  A couple of iterations on this document might
> allow us to make a much better case that this is indeed going to be one of
> the base documents for the WG.  Or maybe it really is a couple or three
> documents waiting to hatch from the eggshell.  We still have > 6 weeks
> before I-D deadline for Montreal to clean this up.
>

I get your point, the references to both JOSE and COSE make it a bit
confusing.  However, in reading through the full draft, they plan to use
the CWT registry, so I think there's just some minor cleanup to do that
should not stop adoption.  My opinion is that we can straighten it up as a
WG document.

It would be helpful for the authors to chime in on intent around CWT in
case I missed anything.

Thank you,
Kathleen

>
> Grüße, Carsten
>
>

-- 

Best regards,
Kathleen