Re: [Rats] I-D Action: draft-ietf-rats-eat-15.txt

Michael Richardson <mcr+ietf@sandelman.ca> Sun, 02 October 2022 11:17 UTC

Return-Path: <mcr@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 42CF4C1524A9 for <rats@ietfa.amsl.com>; Sun, 2 Oct 2022 04:17:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.907
X-Spam-Level:
X-Spam-Status: No, score=-6.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4XYd43YdeMOI for <rats@ietfa.amsl.com>; Sun, 2 Oct 2022 04:17:27 -0700 (PDT)
Received: from relay.sandelman.ca (relay.cooperix.net [176.58.120.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A754EC1522D9 for <rats@ietf.org>; Sun, 2 Oct 2022 04:17:27 -0700 (PDT)
Received: from dooku.sandelman.ca (dynamic-046-114-035-104.46.114.pool.telefonica.de [46.114.35.104]) by relay.sandelman.ca (Postfix) with ESMTPS id 8F2701F459 for <rats@ietf.org>; Sun, 2 Oct 2022 11:17:24 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id 088821A0758; Sun, 2 Oct 2022 13:17:23 +0200 (CEST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: rats@ietf.org
In-reply-to: <166466905854.59321.12818330000633725430@ietfa.amsl.com>
References: <166466905854.59321.12818330000633725430@ietfa.amsl.com>
Comments: In-reply-to internet-drafts@ietf.org message dated "Sat, 01 Oct 2022 17:04:18 -0700."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Sun, 02 Oct 2022 13:17:23 +0200
Message-ID: <869853.1664709443@dooku>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/OPOZkFBT1lMmYwrSl1EtrLjKAIo>
Subject: Re: [Rats] I-D Action: draft-ietf-rats-eat-15.txt
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 02 Oct 2022 11:17:31 -0000

internet-drafts@ietf.org wrote:
    > The IETF datatracker status page for this draft is:
    > https://datatracker.ietf.org/doc/draft-ietf-rats-eat/

    > There is also an HTML version available at:
    > https://www.ietf.org/archive/id/draft-ietf-rats-eat-15.html

    > A diff from the previous version is available at:
    > https://www.ietf.org/rfcdiff?url2=draft-ietf-rats-eat-15

I wish I could read the diff.
You did not fix the too-long lines.

I edited -14 and -15 to truncate the long lines in the appendix, and put that
onto github (since iddiff has a limited set of places it will read from), and
readers can try:

https://author-tools.ietf.org/diff?url_1=https://raw.githubusercontent.com/mcr/eat/eat-diff-short/draft-ietf-rats-eat-14.txt&url_2=https://raw.githubusercontent.com/mcr/eat/eat-diff-short/draft-ietf-rats-eat-15.txt

iddiff is not yet as good rfcdiff, and generates some additional diffs around
page breaks and the like.

Some comments:

1) you've changed the section names of the claims:

Universal Entity ID Claim (ueid) ->  ueid (Universal Entity ID) Claim
I see why this might be a good idea, but it sure isn't pretty.
I will think on this.

2) "DEB" is gone, thank you.
3) I like the changes to the Intro.

4)"This document registers no media or content types for the
   identification of the type of EAT, its serialization format or
   security envelope.  That is left for a follow-on document."

I'm okay with this, but maybe to say,
    That is left for to follow-on documents, or may be defined by
    by documents that define EAT Profiles.

5) Can Detached EAT Bundles contain a mix of CWT and JWT?
   Up in the introduction, it seems to imply this, but I think section 5 says no.

6) "Each claim defined in this document is added to the $$Claims-Set-
   Claims socket group. "

The term "socket group" is a CDDL-ism.  I know what it means, but it might be
confusing to some (pointy haired manager) who don't know what CDDL is.
It might be worth adding to the terminology section.  I'm not sure here.

7) 4.2.13.  bootseed (Boot Seed) Claim

   The "bootseed" claim contains a value created at system boot time
   that allows differentiation of attestation reports from different
   boot sessions of a particular entity (e.g., a certain UEID).

   This value is usually public.  It is not a secret and MUST NOT be
   used for any purpose that a secret seed is needed, such as seeding a
   random number generator.

I guess that the second paragraph is needed because the word "seed" might
confuse people into thinking it has something to do with seeding PRNGs.
Maybe the problem is the name of the claim.
Maybe we can come up with a different name for the claim instead?
Maybe bootnonce, or bootinstance or ??

If I have bootcount, and I have a per-device identifier (UEID...),
can I use UEID as a key to CBC encrypt bootcount to make bootseed?

8) DLOAS: "This claim is typically issued by a verifier, not an attester."
would it be worth splitting 4.2 up into two or three sections?
* Claims from Attesters or Verifiers
* Claims from Attesters
* Claims from Verifiers
?
(Also measres claim)

9) section 4.2.18.1.2.2.  Six levels of subsection tells me that maybe
something is wrong.

Probably Submodules claim can go into claims area, but then forward reference
an entire Submodules *SECTION*

10) I did not review the CDDL changes.

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