Re: [Rats] [EXTERNAL] Re: EAT IANA registry

Mike Jones <Michael.Jones@microsoft.com> Wed, 27 November 2019 21:04 UTC

Return-Path: <Michael.Jones@microsoft.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 ABC22120127 for <rats@ietfa.amsl.com>; Wed, 27 Nov 2019 13:04:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 (1024-bit key) header.d=microsoft.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 otWSJky9eLl4 for <rats@ietfa.amsl.com>; Wed, 27 Nov 2019 13:04:27 -0800 (PST)
Received: from NAM06-BL2-obe.outbound.protection.outlook.com (mail-eopbgr650096.outbound.protection.outlook.com [40.107.65.96]) (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 AF367120A95 for <rats@ietf.org>; Wed, 27 Nov 2019 13:04:27 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cggHK/n/eLqboBF/c3jwYJT+owhI9L3bro1H5j6eWnkrsgjbe0s9epvQqPYEb9A3RmxA1T1HpQ1xENgsp8FHC79tauOxIoAEcIyc3ner335Xz99YzKYEHHP9ZhQWG9hScYhyN9KTmpZKzLycIdTS/3/phviAzvJkNVQY83go7tKfMTgV2ieQQdKWonMIJ6jVhJkbZU7JaUP27F4T7b0gaIUuwPBZv502JLaHvENCIQ7TYHlI7QBcP/RGEaZBTfU5KuTU482LxfmAk+LVIAUnYk5miYIVk9AUo/E1vTRtsG8nza8W+qzF3jDvdpXLs2RkiyCrSizpMUy9tUAglEDzvA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3wtT78iSDXwP9SXtwwPYYMOI5BdV0+04+U2p0y0T5e4=; b=IGhLuNqYaFKU1y1ZA0K/GdkrIBvGW1391iQMwPYZbhmOrYAq34KXS69ZSqrlqM0Qe3HC3C9BBUKVKu6O//JpwcYMdsBQoI4XdGJ9i0tZX//4opuO9jrHSX3VSj6FTTfVaOB7xu1h9cpuzzQn3+lRkKxEQSGUuKm3kF4hkJhELf9IMn+95yDGLlzstJ9blZqLGFHgSObD9gBwo4qAIBNTNccwgaeFTHxrNZ8qwo67ho663wu8lEMKFJ57ZfmJHyhEQjKA2E7xfzahTXiJmPA2Omwd73AxDpesyzskCoU5Q6kKTly+jbmj0Pbpeu/Asv+52UQGpc2WD7D2UYPc1mgX6Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3wtT78iSDXwP9SXtwwPYYMOI5BdV0+04+U2p0y0T5e4=; b=Lecb6y0UiWFEcUExiNu3I9yu7/zc/93qC0op2NIoZI/heS2Lro5QI6YbuQRs+uRI9yhtoAvys9sP643venIMJ1k2E77h2iqmAOI82VyOkNL3RRvOh+MGyI5wuvJ7lyjZdW7rMHdd3QivrNc7IKA/k0JVitMaxVj9YhmFpHlD76o=
Received: from MN2PR00MB0574.namprd00.prod.outlook.com (20.178.255.147) by MN2PR00MB0590.namprd00.prod.outlook.com (20.178.255.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2530.0; Wed, 27 Nov 2019 21:04:25 +0000
Received: from MN2PR00MB0574.namprd00.prod.outlook.com ([fe80::9d3d:62e9:e933:bb70]) by MN2PR00MB0574.namprd00.prod.outlook.com ([fe80::9d3d:62e9:e933:bb70%9]) with mapi id 15.20.2536.000; Wed, 27 Nov 2019 21:04:25 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Yaron Sheffer <yaronf.ietf@gmail.com>, Laurence Lundblade <lgl@island-resort.com>, Benjamin Kaduk <kaduk@mit.edu>
CC: "rats@ietf.org" <rats@ietf.org>, Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Thread-Topic: [Rats] [EXTERNAL] Re: EAT IANA registry
Thread-Index: AQHVpNF3tjUEO7PdBkKzZ6PhH0P0Q6eeb6WAgAC8WwCAAFVuwA==
Date: Wed, 27 Nov 2019 21:04:25 +0000
Message-ID: <MN2PR00MB057424C20F7549E74C4590B8F5440@MN2PR00MB0574.namprd00.prod.outlook.com>
References: <D2CF9D31-057E-4B47-A3D0-08BBBF997F47@gmail.com> <VI1PR08MB53605A2A2E61E6EAE2609FECFA490@VI1PR08MB5360.eurprd08.prod.outlook.com> <09C4F36B-C9CE-44DF-9DF8-F3365A7E3053@gmail.com> <53C13986-A523-4349-BDC3-F8ACC2BCFD29@island-resort.com> <DM6PR00MB05697456BC04AC34B156850DF54B0@DM6PR00MB0569.namprd00.prod.outlook.com> <20191127031910.GF32847@mit.edu> <CFF55BD3-66F8-485A-9AF5-1DD38B5F444C@island-resort.com> <ECA98A18-0E4B-4C51-AFE4-FB84E61AC809@gmail.com>
In-Reply-To: <ECA98A18-0E4B-4C51-AFE4-FB84E61AC809@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=d22b888b-d04c-453a-901f-00006ca45c13; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2019-11-27T20:59:19Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Jones@microsoft.com;
x-originating-ip: [50.47.84.162]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 4720f7f6-79a5-46a6-01ee-08d7737d628c
x-ms-traffictypediagnostic: MN2PR00MB0590:
x-microsoft-antispam-prvs: <MN2PR00MB0590534346ECB5F50726999CF5440@MN2PR00MB0590.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-forefront-prvs: 023495660C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(366004)(376002)(396003)(39860400002)(346002)(199004)(189003)(54094003)(14454004)(14444005)(256004)(53546011)(76176011)(8990500004)(7696005)(478600001)(5660300002)(74316002)(6506007)(8676002)(81156014)(81166006)(3846002)(6116002)(966005)(790700001)(10090500001)(71190400001)(446003)(71200400001)(11346002)(25786009)(33656002)(6436002)(186003)(66446008)(76116006)(2171002)(2906002)(55016002)(9686003)(236005)(8936002)(54896002)(6306002)(66476007)(6246003)(52536014)(102836004)(66066001)(66946007)(4326008)(64756008)(561944003)(110136005)(606006)(54906003)(7736002)(26005)(99286004)(10290500003)(86362001)(229853002)(22452003)(66556008)(316002); DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR00MB0590; H:MN2PR00MB0574.namprd00.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Kh9BluHuzB4rqeDM20AR7OzvpncoRlYQZG4z0msufw5mceIcgSUpvhpwQVddeLvhrvmHw/RJ3IcDhZiPDuYyoZrn8NRkWMzEPAr9VjgF2Ak88UguPUrCOHagUlCuzxM59vPA1fkzIyo7IG6yQq7lgnddhbDyC4bN7b6AI2PRIHX/yjKQV8pXnYHv+5nHLbnj9SSqXulAQTCz8Sa/nTo7xMkqNukkBkLw30gDJx1MbzgFk/YMt99ZOr+IZa+SgWflsTXEXjTVomwjCDoWCUi/cw8+MXncMKqgbpn4IlXmtWUVpzkXmEyv8sNC3F80B4ffVIU6jNU1Ta1FSs6OcqUcFrbaHo4uzYwdh4NE/aErotfgKBc6mrVwkHnG9qKSJa2VK98vE/5reAw6tk2qbRK+HL2avJ+63thxv7THsJb3Zrx42PiRABVKxtFxgVIHMO3fOTiUZZVjpG4glUxre/FwM2Xi6INGmwkg0xm/Vmsby1w=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR00MB057424C20F7549E74C4590B8F5440MN2PR00MB0574namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4720f7f6-79a5-46a6-01ee-08d7737d628c
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2019 21:04:25.5094 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: zgcQqantSV38e2BRLSj02qOGiY+8/nIsLxVh2jLKqq191m1O5lhX+xOSMC0kl67W6k+WnnjYmcRhKtM0uRpkUg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR00MB0590
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/xuORAEQI-mT43kI53satqBlMIxE>
Subject: Re: [Rats] [EXTERNAL] Re: EAT IANA registry
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: Wed, 27 Nov 2019 21:04:32 -0000

The point of having a common JWT Claims registry is to enable future specifications to benefit from reusing applicable claims registered by past specifications.  For instance, the Security Event Token [RFC 8417<https://tools.ietf.org/html/rfc8417>] specification recently registered this general-purpose claim:
   o  Claim Name: "txn"
   o  Claim Description: Transaction Identifier
   o  Change Controller: IESG
   o  Specification Document(s): Section 2.2 of [RFC8417]<https://tools.ietf.org/html/rfc8417#section-2.2>

That made it available to EAT and other future specifications using JWTs.  If it had instead put it into its own registry, the potential for reuse would have been lost.

Let’s likewise let future specs benefit from EAT-defined claims by putting them in the normal IANA JWT Claims registry.

                                                       -- Mike

From: Yaron Sheffer <yaronf.ietf@gmail.com>
Sent: Wednesday, November 27, 2019 7:54 AM
To: Laurence Lundblade <lgl@island-resort.com>; Benjamin Kaduk <kaduk@mit.edu>
Cc: Mike Jones <Michael.Jones@microsoft.com>; rats@ietf.org; Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Subject: Re: [Rats] [EXTERNAL] Re: EAT IANA registry

To put it into perspective, there are already 57 claims registered [1]. So even if 7 claims overlap, this is a relatively *small* number. IMO there is high value in a separate namespace for EAT claims, and the standard way to create such a namespace in JSON is exactly as Ben is proposing.

Thanks,
                Yaron

[1] https://www.iana.org/assignments/jwt/jwt.xhtml

From: Laurence Lundblade <lgl@island-resort.com<mailto:lgl@island-resort.com>>
Date: Wednesday, November 27, 2019 at 06:39
To: Benjamin Kaduk <kaduk@mit.edu<mailto:kaduk@mit.edu>>
Cc: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org<mailto:Michael.Jones=40microsoft.com@dmarc.ietf.org>>, Yaron Sheffer <yaronf.ietf@gmail.com<mailto:yaronf.ietf@gmail.com>>, "rats@ietf.org<mailto:rats@ietf.org>" <rats@ietf.org<mailto:rats@ietf.org>>, Hannes Tschofenig <Hannes.Tschofenig@arm.com<mailto:Hannes.Tschofenig@arm.com>>
Subject: Re: [Rats] [EXTERNAL] Re: EAT IANA registry


On Nov 26, 2019, at 7:19 PM, Benjamin Kaduk <kaduk@mit.edu<mailto:kaduk@mit.edu>> wrote:

...but I'm not sure that "avoiding duplicates"
would apply to a proposal that makes a single JWT/CWT claim for "EAT data"
and puts the attestation claims in a map as the value for that "EAT data"
claim.  What existing JWT/CWT claims would duplicate the potential contents
of the EAT data fields?

That is an interesting thought — put all of EAT into one JWT/CWT claim that is a map. Other’s have mentioned it to me. It would let EAT re use the most compact integer CBOR integer labels.

Right now we re use the following claims from JWT or CWT by normative reference:
- nonce
- Token ID cti/jti
- Time stamp (iat)

Also these JWT or CWT seem either likely or possible use in EAT:
- cnf (proof of possession of key)
- iss Issuer
- expiration
- not before

That’s a fairly large overlap which makes me disinclined to putting all of EAT into one map that is one JWT/CWT claim, separating EAT claims from CWT/JWT claims.

I’m no OAuth expert, but I wonder if some of the EAT claims might be useful for other than EAT tokens, another reason not to keep them separate.

I suspect we’re going to find at least one more use for a signed map of label-value pairs in the next few years that would be able to re use at least some of these claims — another reason to keep them in the same space.

LL