[Rats] Age Claim in EAT

Hannes Tschofenig <Hannes.Tschofenig@arm.com> Wed, 29 July 2020 08:38 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 E6ECA3A10C4 for <rats@ietfa.amsl.com>; Wed, 29 Jul 2020 01:38:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=H9wuUi0P; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=H9wuUi0P
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 LrJzFMWOv4hA for <rats@ietfa.amsl.com>; Wed, 29 Jul 2020 01:38:07 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2042.outbound.protection.outlook.com [40.107.20.42]) (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 B6E893A10C7 for <rats@ietf.org>; Wed, 29 Jul 2020 01:38:05 -0700 (PDT)
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=RyVZ31phb8+69iU/CxfBTx29DXKXGGa/sR1P0nVeEpg=; b=H9wuUi0PWpoAMzHqkPG6Wl6P2AUqwJ0rCG2TcHvJ54akSNqyMaB8KUBCp0UGMF5Lp8xv7ndu7g8NAhzY85bsZHtnerKMt7Jtdo5jLHNZS2aDs39XcKeGll8hmYnDcK4LjvyGHt5y0ScR6luMp1PujfvclOVDV5GhmwYOp6O7r6Q=
Received: from AM5PR0202CA0018.eurprd02.prod.outlook.com (2603:10a6:203:69::28) by DB7PR08MB3291.eurprd08.prod.outlook.com (2603:10a6:5:24::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Wed, 29 Jul 2020 08:38:03 +0000
Received: from VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:69:cafe::80) by AM5PR0202CA0018.outlook.office365.com (2603:10a6:203:69::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17 via Frontend Transport; Wed, 29 Jul 2020 08:38:03 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=bestguesspass 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 VE1EUR03FT042.mail.protection.outlook.com (10.152.19.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.10 via Frontend Transport; Wed, 29 Jul 2020 08:38:02 +0000
Received: ("Tessian outbound 7de93d801f24:v62"); Wed, 29 Jul 2020 08:38:02 +0000
X-CR-MTA-TID: 64aa7808
Received: from 9929ee07dbb4.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0E771E31-23DD-40D8-AAE3-249A5CC6DC32.1; Wed, 29 Jul 2020 08:37:57 +0000
Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9929ee07dbb4.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 29 Jul 2020 08:37:57 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ex0WBFm6jyCcaai2DONnE/fLtUsaT+YnZiG+Hu7j0Ut5sipONBn6bJGQfENO6aUN5gLAjwmXykeoC6gChOLWOUCOQi68+S/SO/OqBnYmuNW4RdW3jKhcvl7aaDZ1kSFyNDPX2PssQ82HgGG8u/73HJZOQF+UuRXjV3i7j6rr1MTeALKEZcdtUF1ez75/AvY7ouFZqQYlGkVrK46OLe/lCZS9ont/UTMc6RPRU8kY27XMdwWSNzURpKYfjO5+fIzcEcPEpFnrt61RA6iEa4akGQ0TwCZDMEGHdMNUWoO4zinACjOK4A2tOtt0WcqNS5JT5xM+9h3QGgxQOw4GAX2icg==
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=RyVZ31phb8+69iU/CxfBTx29DXKXGGa/sR1P0nVeEpg=; b=H4f919gUMIhq/7v2DdoxQoNtB/kl9kQqezcBieG1EWB/D1y18Smu0mGU5JJgrxeJ6G0ZZv5ZlPWN2aw/2y5RvOeo49VtRrbxxsvVudDBNqIG2r+UBoKaFIfIdoOL/U2IV1sOshfKZ/BDT+nsg+tk20Yq0Ml8kYrYnqtUowk6lfzJkqEiLNGWO9Tks/bKBz5bWaACWb7R0UEMzkMqaglXiYvU3sd0ONbzNR4/vHe7SpIGRTlH7mBKHSxnzM6tVeW1CayN+p9U3eLuqcvCGdQt71iU9oWabN4HxvZvTpNov666PDpSuvyy92yUXsJrQFZgKHfY5oUTk4vwsYEKToEuvg==
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=RyVZ31phb8+69iU/CxfBTx29DXKXGGa/sR1P0nVeEpg=; b=H9wuUi0PWpoAMzHqkPG6Wl6P2AUqwJ0rCG2TcHvJ54akSNqyMaB8KUBCp0UGMF5Lp8xv7ndu7g8NAhzY85bsZHtnerKMt7Jtdo5jLHNZS2aDs39XcKeGll8hmYnDcK4LjvyGHt5y0ScR6luMp1PujfvclOVDV5GhmwYOp6O7r6Q=
Received: from AM0PR08MB3716.eurprd08.prod.outlook.com (2603:10a6:208:106::13) by AM0PR08MB4196.eurprd08.prod.outlook.com (2603:10a6:208:129::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.20; Wed, 29 Jul 2020 08:37:55 +0000
Received: from AM0PR08MB3716.eurprd08.prod.outlook.com ([fe80::5d9e:7abf:79ac:95e3]) by AM0PR08MB3716.eurprd08.prod.outlook.com ([fe80::5d9e:7abf:79ac:95e3%5]) with mapi id 15.20.3216.034; Wed, 29 Jul 2020 08:37:55 +0000
From: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
To: "rats@ietf.org" <rats@ietf.org>
Thread-Topic: Age Claim in EAT
Thread-Index: AdZlgrFdILmwyFJNTPm5QA7JIbM9dQ==
Date: Wed, 29 Jul 2020 08:37:55 +0000
Message-ID: <AM0PR08MB371633B5B66CCC34BD38DB4BFA700@AM0PR08MB3716.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: 18561c9a-f318-43d1-8a21-5782c53fab08.0
x-checkrecipientchecked: true
Authentication-Results-Original: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=arm.com;
x-originating-ip: [213.162.72.158]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: a53101d5-41be-4f11-b919-08d8339ab52d
x-ms-traffictypediagnostic: AM0PR08MB4196:|DB7PR08MB3291:
X-Microsoft-Antispam-PRVS: <DB7PR08MB32911987FA45F85ED4A0DC94FA700@DB7PR08MB3291.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:8882;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: ZIyKrNzw2zmfQSqA7azLmdugNU4HHlFT0dYb02zZLUnCmY7mneL3uwMxDprjnR3PbiSZXkMQhmNBSN1aJwHiMMkgglZiYLPbZJMdLXdP6QU3fdb6eOOg6AFGlz1Eep6VRc416XM1l/GeWSdIr9oqFodz3UmgfcudNO9FCHa/4SJ3ShTW3OGCn7J5Vx7FRDppWcf2ax7kMLLu0ljIq21hja+iGLP4h79HcyvLKwH7ntFRa9fB6Sj3AM4Zt9ZMtVQd6o8N3/L81XSr7p8LcRCX2UE0Bi3d8gSFM3JX+x0fbIon0cMIXV0gj1GgT0sx6suB
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR08MB3716.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(39850400004)(376002)(136003)(346002)(71200400001)(55016002)(9686003)(3480700007)(186003)(316002)(8936002)(2906002)(26005)(8676002)(6916009)(478600001)(7696005)(86362001)(66476007)(64756008)(7116003)(83380400001)(66946007)(66446008)(33656002)(76116006)(5660300002)(6506007)(52536014)(66556008); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: 0/vRQDCYJPdSS9dcJMwUikHYKM4zW5hKFQW0zssPuR8x8IXvsNa2Gr8C0BN/WUEguvufpZnR+CsMpa6iftwL8c4/mKnjVj7/Y/jzuqZqWAHGC+6LmN5wqa79zZvYnh8qBssbUa19aqCgEaI7/w3jLjqQCR/2uZkYlNaeMVgQkSXKqQtE2kgZKuKNIRUU0W7xOqvZVcd08pSuvsnimFf/99gVD2wTzB13U/p2S2j9w8mOBdgwtb9AFWY6cnvXd3siSNu+4vTDnb4l3A6CCPWlu1EGp/4PosFgbeYlykLDDtdoYflaWAynEvFKxvktuUgoQQuJF3HbfKV/ZBczlhV60Hbaypuj7pvzwDr72Ilmdum24vp727eyW/tCcMVjGp+u9m4aQtzAd3ybw89/MrtmOEjXfc6LbPCJK0nDL1CbINEKsuSoIAYf91GUj0JjKsrdJgs/fRaFvmsvpMnR4JRB7JSmGj+vzmpjrhskFklYTxWH1FTNnQy0+4Y3rPSn6GTT
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4196
Original-Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs: eb858621-3641-4fe9-872f-08d8339ab0dc
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: s03QfxbCOHrjrIph8TNzyFrfMf7a8r2X9zzcXDJYPAH3g/hfGTald0DvNtRRwCRD98Am4+wlFkKMHMI5viVHuXEs8XEhmNTGM8O+s9T3SWNAyQY8E4l35C80iwWNer8wtsTL64/bVPRvQQ0/yHM81nbUuvfS1YaYDQQCtHqgkIFIQIXt2C2OrcNHMfoD61AIOYW+xa7zJZUVPXjGguYXUs0hw/0uAc9CQgArcK75bvIo5FezjvqvrpScSMoAPdJL+OiLhslCpPetmHZz/882JTaHAtL8Afkk7ekrI1eqoHtOigS/8Xs0ruvYz4LlwvzP0S+bMM/q0LKhzu+jeQuDKEnOVQ1Co9MsPgP4qamqn7ksrbU96NwaXvjrtpP6FKrIcrsZvJDZ7jVELkc1VklqxQ==
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; SFTY:; SFS:(4636009)(136003)(39860400002)(396003)(376002)(346002)(46966005)(3480700007)(33656002)(356005)(8936002)(55016002)(82740400003)(70586007)(26005)(47076004)(52536014)(81166007)(82310400002)(6916009)(2906002)(9686003)(36906005)(6506007)(70206006)(478600001)(336012)(86362001)(5660300002)(316002)(8676002)(83380400001)(186003)(7696005)(7116003); DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2020 08:38:02.9408 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: a53101d5-41be-4f11-b919-08d8339ab52d
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: VE1EUR03FT042.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3291
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/O6HmIoAiwa2y3lXUjcMp3_ki7OA>
Subject: [Rats] Age Claim in EAT
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, 29 Jul 2020 08:38:09 -0000

Hi Laurence, Hi all,

How does the age claim work?

The spec says "represents the number of seconds that have elapsed since the token was created".

By creating a token you also protect the claims with a signature and hence you cannot change the content of the claims anymore (without breaking the signature).

Hence, here "creating a token" must mean something different. I suspect it means when certain values have been collected from the device and before the token with the signature was put together. Correct?

If that's the case, I wonder whether it would also make sense to take into account that different information may be collected at a different point in time and hence the age indication would better go (somehow) with specific claims where the time difference between the collection of the data and the signature generation matters. I also wonder whether the number of seconds matter and whether you really want to communicate something more abstract, such as "I created a hash over the firmware during boot time" rather than "I created the hash over the firmware in real-time when I was asked".

Ciao
Hannes

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.