Re: [Rats] EAT Review Comments

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Mon, 13 December 2021 11:23 UTC

Return-Path: <Hannes.Tschofenig@arm.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 65BAB3A07BE for <rats@ietfa.amsl.com>; Mon, 13 Dec 2021 03:23:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=z2kztg6b; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=z2kztg6b
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 EDPOdsOHarlu for <rats@ietfa.amsl.com>; Mon, 13 Dec 2021 03:23:35 -0800 (PST)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50041.outbound.protection.outlook.com [40.107.5.41]) (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 5D9993A07BC for <rats@ietf.org>; Mon, 13 Dec 2021 03:23:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oko7ziIY3pUe4SP/5cyjTVbb+0s2TVgAyxemOOwmBFc=; b=z2kztg6bMUD3qa5sBi7x3qhftIXFINhfXzH0Pp9lUJaahgTCM67+XqCW0DfgPTcJTtxb1bFxM8MFhoIKBdtLi1pPr1rWDCJpFQdYtCB4YmL3TQSm95yX59Zm23SDoCDRi0S+/4LlPLKg0noP6OTzfzbUbmxq1hQ3u1SC9ExqEcM=
Received: from AS9P194CA0014.EURP194.PROD.OUTLOOK.COM (2603:10a6:20b:46d::25) by VI1PR0802MB2560.eurprd08.prod.outlook.com (2603:10a6:800:ad::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.17; Mon, 13 Dec 2021 11:23:31 +0000
Received: from VE1EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:46d:cafe::48) by AS9P194CA0014.outlook.office365.com (2603:10a6:20b:46d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.14 via Frontend Transport; Mon, 13 Dec 2021 11:23:31 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT060.mail.protection.outlook.com (10.152.19.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.12 via Frontend Transport; Mon, 13 Dec 2021 11:23:31 +0000
Received: ("Tessian outbound c61f076cbd30:v110"); Mon, 13 Dec 2021 11:23:30 +0000
X-CR-MTA-TID: 64aa7808
Received: from 86d941292861.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id A18AAAE3-72B3-4C0D-89E1-5C574A09A6DD.1; Mon, 13 Dec 2021 11:23:23 +0000
Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 86d941292861.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 13 Dec 2021 11:23:23 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hg4TNlpkN2Fdo7IQ1eYMGsBeiIgDKjaFEUrrnxYRXByjphsaR8PNmFmKUyGCPySlSWKMZ4XJL0snwVUlJJu8RmHq4UYDYkflf9mF0urEIwkD0ExOPvC5Di28iTUT6Ib6BTSMgR5shNaKFkJVmSYUqzPEYAXyjIv29DgNCXs40DWizLZazEg3CJds9n9KkpB9qAHsHoQ5zN3Wj3rYg1az29dtKCp0/npyOk2aXm+pLHC0ptvxJJ0a2I2uYYwAtD9Ois3qdPEuYc82AxVGmETkPgrBNI2EphnuVV2ZwYWKwsYbLJTpbU8Qhv8gTn3vLxGbLnRHjOMNEEDceSnbuGQ6bA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=oko7ziIY3pUe4SP/5cyjTVbb+0s2TVgAyxemOOwmBFc=; b=jf1KkzwYApXUVNHKCSskcTdJYuiJOmLEQ/z4XO/NJ+nYkNLTcxbjzmqQCTHYTUhawJGBR/0MfBv0CpGVqJXedRRd+9laGzZUujKyzTeWbaHuF1yCgM6NmAy51SSD5jPcYkgfdNkdtMLtaZsteFTEPYBpRRlZb9eGQfcdTzpiQ8ak665oVcfsLmvTAX0Axzw7Mgb6xUC6G+jJiJoG9L6hs8dixkb42KUhDkr56vsK4ipHzeMqWEDv/VJ3q/WNUS1Yc5XacyTE8p29ksheRg9R4kKAtzKrlBVRsIZImuhgn4hXrCXxpE6bcHRKDwlrQuxrfNgsr2Kxvvo0/ZKasYk9uQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oko7ziIY3pUe4SP/5cyjTVbb+0s2TVgAyxemOOwmBFc=; b=z2kztg6bMUD3qa5sBi7x3qhftIXFINhfXzH0Pp9lUJaahgTCM67+XqCW0DfgPTcJTtxb1bFxM8MFhoIKBdtLi1pPr1rWDCJpFQdYtCB4YmL3TQSm95yX59Zm23SDoCDRi0S+/4LlPLKg0noP6OTzfzbUbmxq1hQ3u1SC9ExqEcM=
Received: from DBBPR08MB5915.eurprd08.prod.outlook.com (2603:10a6:10:20d::17) by DBBPR08MB4742.eurprd08.prod.outlook.com (2603:10a6:10:f5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4778.11; Mon, 13 Dec 2021 11:23:21 +0000
Received: from DBBPR08MB5915.eurprd08.prod.outlook.com ([fe80::dd96:eb7:b263:b290]) by DBBPR08MB5915.eurprd08.prod.outlook.com ([fe80::dd96:eb7:b263:b290%4]) with mapi id 15.20.4778.017; Mon, 13 Dec 2021 11:23:20 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>, Laurence Lundblade <lgl@island-resort.com>
CC: "rats@ietf.org" <rats@ietf.org>
Thread-Topic: [Rats] EAT Review Comments
Thread-Index: AdfrXtD82TqKBMPPTvW26/ecfE3BXwAVcq+AAExCBMAALQl5AAAATmAQABWYVgAAhEwagAAEPYXQ
Date: Mon, 13 Dec 2021 11:23:19 +0000
Message-ID: <DBBPR08MB5915CCB944D6F5A171A1D96BFA749@DBBPR08MB5915.eurprd08.prod.outlook.com>
References: <DBBPR08MB59150EEE386E675005A52124FA6E9@DBBPR08MB5915.eurprd08.prod.outlook.com> <B81765CF-8515-440B-A021-977FCD59D5E2@island-resort.com> <DBBPR08MB5915DD8BAA394E7D665E4C7DFA709@DBBPR08MB5915.eurprd08.prod.outlook.com> <7e8275a1-10ce-bff8-9252-8c0d32d3e395@sit.fraunhofer.de> <DBBPR08MB59152EA489927AC3C1E59B69FA719@DBBPR08MB5915.eurprd08.prod.outlook.com> <68208DDA-1EF1-409D-B333-804CE903A5A6@island-resort.com> <f30508f0-120c-3813-3675-68a7a06a462f@sit.fraunhofer.de>
In-Reply-To: <f30508f0-120c-3813-3675-68a7a06a462f@sit.fraunhofer.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: D4549295E7A91C4D9BEE630903D26C00.0
x-checkrecipientchecked: true
Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
X-MS-Office365-Filtering-Correlation-Id: fb2f98af-fd7c-4687-d74d-08d9be2afe24
x-ms-traffictypediagnostic: DBBPR08MB4742:EE_|VE1EUR03FT060:EE_|VI1PR0802MB2560:EE_
X-Microsoft-Antispam-PRVS: <VI1PR0802MB2560F6D5D78E752160896D65FA749@VI1PR0802MB2560.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: wFrvmCAdYCDJjdkUIkx/V5uup1NrZ5nXX5D/a19Psem4rLPbM4Mvi4Ne7IIeYxJJKz4lMnwXcyngUHXEp6zMm395c/rZLXkScFnnvqTDUydI2cMI+UMPyx7V5UoBRodCXdujDbv67fYB9i9WMsBiqk0h0MifjocqQ2jqwHstC3hD+FxQp+DCkNWTLKTM+KTPEsmsPfEzZBArye236IovepLJO+kOBaZ3iYTFPzU4PjKGOFPiIEmvIlCDobGSjnjBsudcjSciaWREPJbnyEAFrdWY/cCUo3vs10lCM3FMV8PyBiIgVWw3IujdekVPts7Gm2GHpq8CMiTKEu7Uj83lRgTgT6ZKHO5Q0J0tf/cysF43NmSAFx/TzpTj/SYoQQrb0yQVnrqpvB9NjZ9cq4lhUwjIQNIg+292mB/5LFK+S/chhDI2y6kizMkLlzZkwSaytC2fx/YpkS6AjduI6CbtIXcw7vKESzYq22ZD19khLArKqAHLKTSnqP5XgtDmRzVnwt9xbrned4Xs6+5bSIPrHUk6j4MzZgxkUBpIi278M3FpnAZ5EgXZ6BdYely3oMydYQnp8Oy5EIBf+HJMMb8nz3p+NlbaEh4lIU0ebZYXyq3HtpFu/FAxidqkOg9HjvauEcROL+ptyyugV4sJQPqyZuI3XQCpUGYRsW+NOmrF7Zbi8KGss7uwQlEYJK2DqjXMktUqPOU2tHNbazbeIZVbIA==
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBBPR08MB5915.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(110136005)(5660300002)(4326008)(83380400001)(508600001)(186003)(7696005)(66946007)(122000001)(86362001)(33656002)(8936002)(76116006)(8676002)(26005)(71200400001)(2906002)(66446008)(9686003)(316002)(38070700005)(55016003)(64756008)(53546011)(66476007)(66556008)(38100700002)(52536014)(6506007); DIR:OUT; SFP:1101;
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4742
Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT060.eop-EUR03.prod.protection.outlook.com
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id-Prvs: b483b1cf-d21b-4ae4-4961-08d9be2af819
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: zd6Huh2gVWat6/VEiE5CLsCghM0J6fuR7mdyWYWseenYtDd18WQPrqgAnXPR3Wfh18m/TyI8u65witjMOrxVCjmyzv1X8vhHvi/OhIK7amzwn8QgTam1lXCN7ot8D/jVBlRbH/z7hF+3npBea5pj/mc9G31At8oWrNrhGXoEGtvWK6FvZfQLjNI4Z2/ntlc3Df7Ja1tZQ2YXipYqT49ijl1FTHXLLJQg6auJHcfUeosDSO9dSyGKs9RKinlpHwsij51Vow531g8m9NwqWMmvwn1GmIzxGUed9NkEcQVFnw5HlUdLcSjmRgfdaNholDdbo/aM0MJyj0enSm+BFvRZBiPfMoO6EM+kld8YS64UJkyxfk8TNGu4zmEz4ASupPg4j5jTclbgihyGNkmxow6iT/s23CyGH/lwL6wUkDrKl3WWGeKBIdqEMXLvXNdOrOibUQRYzqS1YFfYL4UowfeOBiUnkz3wKnOCv1nzD7nBE5z8V2APtlBZKtt33GiLiIIs/kH37ge0BhGHCOr8I0cxLUzYl+prnGg1J0zpVukNO/7o4ePZYzf4K/01yVhvcJNI0e4jaOYvk92UXTaBwvIdYU+t/fRD7eEobDsQmriobjPDkuHjQau/qY4ukx7R0J+3O926x9RFtQo69oOm15T2NQK9HTErmjO+0Kgs2KB7M8O8n4gcdNr1z7bRzogQCXeI+5X/SGSaBVSYqn9GDpsAXw==
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(53546011)(6506007)(26005)(356005)(110136005)(81166007)(36860700001)(186003)(47076005)(316002)(70586007)(86362001)(33656002)(336012)(8676002)(70206006)(83380400001)(508600001)(7696005)(5660300002)(2906002)(4326008)(9686003)(82310400004)(52536014)(8936002)(55016003); DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2021 11:23:31.0338 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: fb2f98af-fd7c-4687-d74d-08d9be2afe24
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT060.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2560
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/NMh5GLJSlPEoAaUceBjSXzyerEM>
Subject: Re: [Rats] EAT Review Comments
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: Mon, 13 Dec 2021 11:23:41 -0000

Hi Henk,

> (Hannes, weirdly I believe I did not receive your reply, but I assume it is quoted in the msg below)

I was trying to explain how we have implemented the attestation functionality in our TF-M and TF-A.

> I can accept that we are past that point :-) Please consider this a me lamenting about bad choices in the past that we have to live with today.
> I also see the argument that you can "reuse" CWT code (and then teach it how to treat as an EAT with extra code).

I know what you mean. I keep complaining about the past as well.
I guess it's all good as long as we can get across the finish line in a reasonably good state.

Ciao
Hannes



Viele Grüße,

Henk

On 10.12.21 19:11, Laurence Lundblade wrote:
> Below...
>
>> On Dec 9, 2021, at 11:57 PM, Hannes Tschofenig <Hannes.Tschofenig@arm.com> wrote:
>>
>> Hi Henk,
>>
>> You write:
>>
>>> My biggest point of concern is the scope creep into JWT.
>>
>>> EAT was intended to be a CWT (more on that detail below). The
>>> implementation complexity of including JWT now is kind of mind-boggling.
>>> I have been for a while and will continue to be in strong support of
>>> moving JSON encoding related normative text out of the EAT core
>>> doucment to supplemental EAT document.
>>
>>> Fundamentally, I am still opposed to EAT being a CWT. It allows to
>>> include any kind of CWT claims from an increasingly growing CWT
>>> Claims registry. I am allowed to include a nonce and a cnonce Claim
>>> simultaneous due to that. Or simply mix an exi Claim in. How shall
>>> an implementation act on that? That is a valid EAT composition. Is
>>> "ignore what you do not understand" the strategy here? That is not a
>>> really useful approach, if your goal is to establish an
>>> interoperable way to assert trustworthiness. I'd very much prefer a
>>> better scoped usage scenario for EAT for RATS by making an EAT
>>> something more specialized than a CWT (on the CBOR tag level). Maybe
>>> someone can explain to my why this is not an implementer's nightmare
>>> as I might miss something obvious here.
>>
>> We are long past the point of deciding that an EAT is a CWT with special claims. Companies have spend a lot of resources implementing it that way. Practically, there is no problem since you will not randomly add claims to an EAT. As stated in the draft, a profile needs to determine what claims must be present and what to do with optional claims. Then, this is not an issue at all.
>
> Yes, I think we are long past on that decision.
>
> The flexibility is necessary for the broad range of use cases, the ones listed in RATS Architecture and more. I doubt we could converge on one set of claims.
>
> We have profiles to address the problem too many and confusing claims.
>
> LL
>
>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.