Re: [Rats] Android comments on EAT draft

Laurence Lundblade <lgl@island-resort.com> Thu, 16 May 2019 02:26 UTC

Return-Path: <lgl@island-resort.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 EFB3E120091 for <rats@ietfa.amsl.com>; Wed, 15 May 2019 19:26:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 22l0Ha-3znwf for <rats@ietfa.amsl.com>; Wed, 15 May 2019 19:26:27 -0700 (PDT)
Received: from p3plsmtpa11-04.prod.phx3.secureserver.net (p3plsmtpa11-04.prod.phx3.secureserver.net [68.178.252.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 31315120041 for <rats@ietf.org>; Wed, 15 May 2019 19:26:27 -0700 (PDT)
Received: from [192.168.1.108] ([76.192.164.238]) by :SMTPAUTH: with ESMTPSA id R66Dh4kPsgkrER66Dh9GV4; Wed, 15 May 2019 19:26:26 -0700
From: Laurence Lundblade <lgl@island-resort.com>
Message-Id: <35459D73-3D08-4E0B-814B-780AD60DD600@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_21BA5A69-1443-4BEA-BB63-DCBE0A1E1E48"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
Date: Wed, 15 May 2019 19:26:25 -0700
In-Reply-To: <CAFyqnhVJ-ps4bdhsyQDOHdzHVZsXeK7_kCDXxUVUcuyDzWS3uA@mail.gmail.com>
Cc: rats@ietf.org
To: Shawn Willden <swillden=40google.com@dmarc.ietf.org>
References: <CAFyqnhVJ-ps4bdhsyQDOHdzHVZsXeK7_kCDXxUVUcuyDzWS3uA@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.9.1)
X-CMAE-Envelope: MS4wfBRymGv2tYhP0uDKqSpAvPwkM6Ujb2RlEqDjTtOFKwsey1Lz58OlmyPZMNjYw9bJcayw3XfP+K7mgvUDZLFgi9pXvFV03o+JIgh2044UbLDVziyA4hSG QS3jfenza/WFPF+KnuFzIPPLuL5ZH5P76fYlUH88LMdQrrTEoCWlsSpmdpDoIX0/v1VrkI0xwxGkonRLgGJG+2KD7OiACQ1qIhTjBoZ9rqXDs0oRZVQvW0pR
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/OLDr6doPrQRF4ehmDl0ou18ccKU>
Subject: Re: [Rats] Android comments on 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, 16 May 2019 02:26:30 -0000

Hi Shawn, a couple notes:

- The claims in EAT are just a start and by no means complete. Adding claims that carry and describe keys is certainly on the list.

- All claims are considered optional and many claims are expected to be left out in some use cases for privacy reasons.

Personally, I’d like to see EAT be useful for Android and would value yours and Google’s input to make it so.

LL

(Not sure what rats@ietfa.amsl.com is, have replaced that address with rats@ietf.org)


> On May 15, 2019, at 5:43 PM, Shawn Willden <swillden=40google.com@dmarc.ietf.org> wrote:
> 
> Hi all.
> 
> After being invited by Laurence to join this WG some time ago, I have completely dropped the ball. I apologize for that; in the interim period I have expanded my team from one engineer (me) to six, and we all still have more to do than we can accomplish, which gives a good indication of how much I was dropping on the floor.  I think I have now delegated enough that I can begin to put some time into this.
> 
> After reviewing the draft (which I like a lot, in many ways), I notice a crucial divergence of focus between EAT and Android Keystore Attestation.  Perhaps this means that EAT is not applicable for Android; but I'd like to explore the question a bit.
> 
> Specifically, EAT is about attesting to a device while Keystore Attestation is about attesting to a key -- though we also attest to quite a bit about the context of the key, i.e. the device. Indeed, the device information we provide is growing with every release, because there's a strong pent-up demand for device attestation.  So Keystore Attestation is gradually expanding to include the device attestation role, but must also retain its key attestation purpose.  For EAT to be directly applicable, it would have to include claims about a key as well.
> 
> Perhaps another option is that we could use an EAT attestation as a sub-element inside a CBOR structure that attests to a key.  Or maybe there are other ideas about how an EAT attestation may fit into a larger attestation that describes characteristics of entities other than the containing device?
> 
> Another, more tractable, area of difference is that EAT provides Claims for several data items which Android will likely never allow to be attested because of their privacy implications and potential for ecosystem fragmentation (apps choosing which devices they'll run on -- we generally try to deny them the information they'd like to have to make those choices).  These are:
> UEID
> Origination
> Location
> We do allow OEM Identification, though it's a different format and is restricted.
> 
> Some other claims that we have, and think are important, are OS version and patch-level (represented as a date, YYYYMMDD); secure boot verification key digest; secure boot digest (hash of all verified code); application ID (a digest of the requesting app signing key); and secure app version (hmm, don't have a patchlevel, but we should!  I'll see about adding that for R).
> 
> I suppose all of this could be address by registering additional claims.  I'm not sure it would make sense to add a set of claims (or a complex claim) that addresses key attestation, though.  That seems to significantly change the semantics. Or does that sort of extension seem appropriate to folks?
> 
> I also have a set of more detailed comments and questions, plus some editorial suggestions.  I put the draft into a Google Doc and added comments.  I've asked my team to take a pass through it as well, and I'll share it with this mailing list as soon as they've had a chance to weigh in.
> 
> Again, my apologies for jumping in late.  Let me know if you think EAT just isn't appropriate for Android.
> 
> -- 
> Shawn Willden | Staff Software Engineer | swillden@google.com <mailto:swillden@google.com> | 720-924-6645
> _______________________________________________
> RATS mailing list
> RATS@ietf.org
> https://www.ietf.org/mailman/listinfo/rats