Re: [COSE] Newly Submitted Draft - CBOR Web Token (CWT) Claims in COSE Headers
Tobias Looker <tobias.looker@mattr.global> Sun, 13 March 2022 20:47 UTC
Return-Path: <tobias.looker@mattr.global>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id D85C53A16A7
for <cose@ietfa.amsl.com>; Sun, 13 Mar 2022 13:47:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.407
X-Spam-Level:
X-Spam-Status: No, score=0.407 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001,
T_KAM_HTML_FONT_INVALID=0.01, T_REMOTE_IMAGE=0.01,
T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001,
URI_GOOGLE_PROXY=2.497] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=mattr.global
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 5zO7hfYPkuVq for <cose@ietfa.amsl.com>;
Sun, 13 Mar 2022 13:47:14 -0700 (PDT)
Received: from AUS01-SY4-obe.outbound.protection.outlook.com
(mail-sy4aus01on2128.outbound.protection.outlook.com [40.107.107.128])
(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 11BA23A1655
for <cose@ietf.org>; Sun, 13 Mar 2022 13:47:12 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=EdZ2OQTbne7T8VrF/8hltkpz+Iu3RyrtPQjtSgqv9SgFoxTrcd39qXQJkyxKMjGjvrhP8NHVD3E2ZTu2HuXuOnDEKUZf8EzFzXIs2r56jKkW+xANffHYajnRvGSxxZAd8c95sBYF7Vp245JkvRS+p6V+40ojfYzgAoBlWJTJpdELn8pB4vtKaTZlu5juu04EjvB0EHpiTuPyotjAlkrzzVH3vgIeNEkFAfVtzRQCb7JaVeiZraCeHzdn2408xe0ilYanm4INwov6jajxJtg+HTzE/TE4CQV0LY76+rdVSNOoUfc3L3aQPdbYP+ISeAbDXq5iGeSsSCgr3fvuQeCRow==
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=CYdtQ/vBrobRRc3179AvDrBUJwCYFkvylxRGKlyH+F0=;
b=g6JO5bjQ/AB6HcrS0QifW/meujXAWoL9E1DnZN6htxx2qj8Spmeg49jkgD3mxjkrh5a4JcyhCmCE6ltm4BQlX1xRO1Rgr2Ot74Ab0BQzQYLTVOLGXcWj/DqVQh0dbwHVTBtzxE0EOd5W+iQ9MC/2cy2L43PmIOVnAWjGMp2IUtAK0cxgWtMu0/9fex4vFeBkI7oLQ0iSXpCnki4O3cIMh5tdAUEE8esxubG9vOApnUF79PAFXcFpP0HGF4S/FeAJgvcXztV2mc8K9g3eLsQb0WGXDKVaPaUrf7jjr6Kb5jdHiNZP9WKlVeem6zMk8K17r9Ks1NetdeXz5HRU/wXmWg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=mattr.global; dmarc=pass action=none header.from=mattr.global;
dkim=pass header.d=mattr.global; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mattr.global;
s=selector1;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=CYdtQ/vBrobRRc3179AvDrBUJwCYFkvylxRGKlyH+F0=;
b=XJlbKU3U5lkNFJq0VO/mBzuKLlNW82IT5hb6lkPd+pXhjTVHM0xqDpURORm/6VNbC33nHwtaGWhUDXVS+NHtv6I4csXQyWaauRdinT5fVGgU4Qkn0XUPBaAho7cAnkSWZfNDn2KNkdpgRUx5xuWfmqW0nwaWd2AoMzuF4+Aw1hQ=
Received: from SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:b2::12) by
MEYP282MB3692.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:174::5) with
Microsoft
SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.5061.24; Sun, 13 Mar 2022 20:47:08 +0000
Received: from SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM
([fe80::e5be:555c:28b4:86aa]) by SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM
([fe80::e5be:555c:28b4:86aa%5]) with mapi id 15.20.5061.026; Sun, 13 Mar 2022
20:47:08 +0000
From: Tobias Looker <tobias.looker@mattr.global>
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Mike Jones
<Michael.Jones@microsoft.com>, Anders Rundgren
<anders.rundgren.net@gmail.com>, Laurence Lundblade <lgl@island-resort.com>
CC: "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [COSE] Newly Submitted Draft - CBOR Web Token (CWT) Claims in
COSE Headers
Thread-Index: AQHYLe2WRhRO0cNsYEy31uS81Xo4sayrwO6ggACI4DCAACJrgIAA21qAgAAicbCAAHr4AIAAAExAgA/wTU4=
Date: Sun, 13 Mar 2022 20:47:08 +0000
Message-ID: <SY4P282MB1274539D0B684903BFF30F159D0E9@SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM>
References: <SY4P282MB1274BCAC469DFE3B7284DFB29D039@SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM>
<DBBPR08MB5915A5EE40B555A4953E7BA0FA039@DBBPR08MB5915.eurprd08.prod.outlook.com>
<SJ0PR00MB10050EBE6EAB4E80584A31B9F5039@SJ0PR00MB1005.namprd00.prod.outlook.com>
<280EEA8E-67E4-4E7A-94A6-8C0A60048F81@island-resort.com>
<36e34eb7-ee20-3644-4383-1c3f72279fc3@gmail.com>
<DBBPR08MB59154C935195F0ADEFD0EC4BFA049@DBBPR08MB5915.eurprd08.prod.outlook.com>
<SJ0PR00MB10051A6A8F8D3C9F87896899F5049@SJ0PR00MB1005.namprd00.prod.outlook.com>
<AS8PR08MB591101F54BE439EB52F48449FA0C9@AS8PR08MB5911.eurprd08.prod.outlook.com>
In-Reply-To: <AS8PR08MB591101F54BE439EB52F48449FA0C9@AS8PR08MB5911.eurprd08.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;
MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2022-03-03T17:02:05Z;
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_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;
MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=36ec2deb-a102-4df9-acd3-bbc9d072b7ce;
MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;
authentication-results: dkim=none (message not signed)
header.d=none;dmarc=none action=none header.from=mattr.global;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: aba70426-fbe5-49f8-61f2-08da0532a420
x-ms-traffictypediagnostic: MEYP282MB3692:EE_
x-microsoft-antispam-prvs: <MEYP282MB36928CD58FF2EBB7971EBC3B9D0E9@MEYP282MB3692.AUSP282.PROD.OUTLOOK.COM>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xZNKhIhWvlxSLtGaslIOZFnWKRLVWOcZDzrJvdYfwxMKSGKU3kfQvAVxqbMwbg1NKuQCvFhCwrwVMiql2PQiSzCdmJTFxUnPPqHMbe8ptypExMK1l2KG/+Gb14cnXsg2GnmGBXpqo/qwBnx4bP/EvQS203XGrNpGvHfc0Ioj5rdAIFEvsnYe1I+t8/8GMLJ712nTX5W/yGdD6tR2eO2ie3zUZ3/krmv5XoFsICaEV2oZ2SR4KhvHrKeYM9/xXBuSsypk4+sAU4oEddmkFu1/Dzg0tXWPRu34aInfwLb1COSxplUD995mVK6jkATzq16/mue+idpQwY/dBbDbBsAHk3+0XklFfffXFQ3ky8ykPZyVgqPcPRngqn0caW75/4SdqIijAZ7jcQkxSD72VHtA+/JyYyLZCGBNDurqrG3oRG3ADmVdd7QqWB5QHrSixo9E98kVslFbaRhfIu/i1cMHRMr1C5svdT1ioHcSyFUTL3TMicH2LEF/6Ip24sMnsSph/cP1jRJuNgQG+zauQxctGrVUblMdOLQwQGwTRoHrLzmwGIZ3uMEPG8sPEhZ5LWdYId4+I0mD5U7RsrvMJffmKR+nDawSLMSCGtlyTQ2GpZIa+KHDagsIECJ2pTu3o4k3ioO+b94XsMJLLIKCgH+f61nCF7bwBV/ZLNmrVGRLVQ9gBcLOnP7G/XS9xLH4C9760HJ8PnLN3ZQnfulIRfl5ECIYfLGinSZmUTovMzjLo6A0ZiBD2IkaST2RNtxqE+WDfx9ODK5Q+kReOPJN/b+GkdImSfC9ul1CbRoX54UAn7c=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM;
H:SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM; PTR:; CAT:NONE;
SFS:(13230001)(376002)(346002)(39830400003)(366004)(396003)(136003)(71200400001)(166002)(86362001)(44832011)(8676002)(19627405001)(66946007)(76116006)(66556008)(66476007)(66446008)(64756008)(4326008)(122000001)(316002)(38100700002)(19627235002)(110136005)(55016003)(38070700005)(26005)(5660300002)(2906002)(53546011)(52536014)(6506007)(7696005)(186003)(8936002)(45080400002)(9686003)(33656002)(966005)(83380400001)(508600001);
DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?TIUWQt22d2YDfErauUdUro0EqaZp6sUB/NVKuk+/SzvyAJnl4D7ZkU73?=
=?Windows-1252?Q?Rv9dklBHCnKrKF3EfJma99eKORptPMxhUz1f7Yk4D2/8WWrJIpgGFUzG?=
=?Windows-1252?Q?1eUySM0bRlfFXMWTXXxpKJUeRKBnWRtiwHaVijv+e+29mM6eXRx+P8gk?=
=?Windows-1252?Q?/uPj7W85J8P0lZIlFYBHi7I1gaETNMBtTR0++Nmsysx2aT4xPWjzjxp+?=
=?Windows-1252?Q?ydX851ojs4SZqgj7ECfw4eDo3ABAkL4P2Q0c7tnTrl4rMMvA8ReUFIN0?=
=?Windows-1252?Q?U/5FgayISApNkjDCZft+pfMyiKU3AZRLnahLflaIN+C+363QDNwr6e01?=
=?Windows-1252?Q?/Lpr55NovRefcIi6nTKHujZiDe3esShoMd7kKKxlqhSQ6ZiKBloEcsAh?=
=?Windows-1252?Q?sHyaksuH0OnvNLcY+4pBbps8OxrtLds/cdm3cfesx8pMehOqTqcGTOhC?=
=?Windows-1252?Q?hwFjWISZ+5FJ1ArUUTBp6wTkgShvEvFscJn80NJ7lCAebQl5kuOn2Cxm?=
=?Windows-1252?Q?AtO+2UwQfF9RKFVcuoI6WOJcMHxk/pion+RNBXaT+bdeciCsCRvUUoiE?=
=?Windows-1252?Q?jAeMd/Xopzw1QArfao0Q6VpqVPfDpBsOIqQRLxVbsHUTe5D4bue3QNeQ?=
=?Windows-1252?Q?1s7oZAwZG9usCF1QANFI6cl/+5clOK0HqZjYNix6jqubuTKjj/eGsBtM?=
=?Windows-1252?Q?8RsI6hN2Bx+EW14quOjVR8bt03IfytG+WcpRmI5m7rHkq/F6Ps7y/8SV?=
=?Windows-1252?Q?u0faY7q5ToiRZYLDjOgZT+yGHNDIEr7YfH7/QTtl62sOdFm2ybPLqr0g?=
=?Windows-1252?Q?09GMP7cmsBxVwGibsirrFJgNQvzuN3Spum11dT5D3tlni+MM1wEqAiai?=
=?Windows-1252?Q?pRRWSwfh9W7vmqrAmWuraquqmpl0alKpDRCtU8Xav16xAzYwHOtIPnel?=
=?Windows-1252?Q?9z60DpMfT4h5dzjppbNURx1+YNyxQOmt4kEy91GuZ7YzB8Khs40aGS3K?=
=?Windows-1252?Q?nVcQa+3Z5iMdetVwU+5PHJ738LnBkwDono4jVHuAQMywhcy0rgFfvbgR?=
=?Windows-1252?Q?emDgHGKthxrjk+qQHeUXBNl5NtZlwpLZPuZCksdooWjFFrDYib0e3f/g?=
=?Windows-1252?Q?aFlDs6UxQ5RoSsiEF4B3sPqr3rGv1fzqCXwCcmIFislrgTVuTZfZW6i6?=
=?Windows-1252?Q?/WBsdh8f9oYBmyBlTgc5PgpFvUE6+NM8H0QUL7rWpV4crIKDSMqGMYaB?=
=?Windows-1252?Q?3xaNlcxPCdp0Imlafqcwriwwkk62cy6RCF57GqzgZERJKHg3rLNXmRjo?=
=?Windows-1252?Q?K2txgfvwKz+tL+qpsfakKmhntj84w7da4w/aDLh9qnzd7ugMyt+vk+o/?=
=?Windows-1252?Q?FAVD5VeW4uNZ+MQFk4aIjAXUC+T2EWHB0mfdKfxK4g5BySkZHwXSG2NN?=
=?Windows-1252?Q?rM53mxTwDRlOxiflVsxKnB3pM2XVVjzD6BdFbq7Khsvv7fY7pAmfHjHT?=
=?Windows-1252?Q?OtQdpv3MrGrdSMXZ1emHalKeciUWt2tNTNvU4GOALLPWlBzw8yG+uAk1?=
=?Windows-1252?Q?cxXXfWtyVETN+B72+y0a8B5XDOkS+19cevVQqw=3D=3D?=
Content-Type: multipart/alternative;
boundary="_000_SY4P282MB1274539D0B684903BFF30F159D0E9SY4P282MB1274AUSP_"
MIME-Version: 1.0
X-OriginatorOrg: mattr.global
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: aba70426-fbe5-49f8-61f2-08da0532a420
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2022 20:47:08.5798 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: c2c9cf73-6aae-4702-9844-02adab723771
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: hyDi9uOYgRNuOXCWibKAMr/TbcqBg4jCY6WOXdlw8YuN2nmhAoKPvEpNbuR/BfkZTTT5HT/SOWBfC1lWwXW0clGctnEWcX9RfrPsor2AfBg=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MEYP282MB3692
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/m5eC-GUNHusUdnkdaje01OBAx0E>
Subject: Re: [COSE] Newly Submitted Draft - CBOR Web Token (CWT) Claims in
COSE Headers
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>,
<mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>,
<mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Mar 2022 20:47:19 -0000
Hi Hannes, I can elaborate. Encrypted CWTs - In some circumstances CWT claims can be useful to have available for processing prior to decryption. For example the iss claim can be used to indicate to a recipient of an encrypted CWT how it should be decrypted, by informing the recipient who encrypted (and potentially signed) it. Detached Signature - In cases where a detached signature COSE structure is being used the payload can be un-available (or of invalid form) to express CWT claims. A concrete example is being able to express who signed the detached signature structure (using the iss claim) and when it expires (using the exp claim). Thanks, [Mattr website]<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fscanmail.trustwave.com%2F%3Fc%3D15517%26d%3Dw46s4eMXULV_ns1ZfAKYLbVKcqey_PHiW1WeN4boYw%26u%3Dhttps%253a%252f%252fmattr.global%252f&data=04%7C01%7CSteve.Lowes%40mbie.govt.nz%7C5a65fe33c70b41fd8ba908d976f3a2f1%7C78b2bd11e42b47eab0112e04c3af5ec1%7C0%7C0%7C637671611076709977%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tKqCMzLUQNCeORd908YqfqZoT7tCy%2FMVwXdjpch1sDY%3D&reserved=0> Tobias Looker MATTR CTO +64 (0) 27 378 0461 tobias.looker@mattr.global<mailto:tobias.looker@mattr.global> [Mattr website]<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fscanmail.trustwave.com%2F%3Fc%3D15517%26d%3Dw46s4eMXULV_ns1ZfAKYLbVKcqey_PHiW1WeN4boYw%26u%3Dhttps%253a%252f%252fmattr.global%252f&data=04%7C01%7CSteve.Lowes%40mbie.govt.nz%7C5a65fe33c70b41fd8ba908d976f3a2f1%7C78b2bd11e42b47eab0112e04c3af5ec1%7C0%7C0%7C637671611076709977%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tKqCMzLUQNCeORd908YqfqZoT7tCy%2FMVwXdjpch1sDY%3D&reserved=0> [Mattr on LinkedIn]<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fscanmail.trustwave.com%2F%3Fc%3D15517%26d%3Dw46s4eMXULV_ns1ZfAKYLbVKcqey_PHiW1SbN9fvNg%26u%3Dhttps%253a%252f%252fwww.linkedin.com%252fcompany%252fmattrglobal&data=04%7C01%7CSteve.Lowes%40mbie.govt.nz%7C5a65fe33c70b41fd8ba908d976f3a2f1%7C78b2bd11e42b47eab0112e04c3af5ec1%7C0%7C0%7C637671611076719975%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=t%2BidOI32oaKuTJf1AkcG%2B%2FirIJwbrgzXVZnjOAC52Hs%3D&reserved=0> [Mattr on Twitter]<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fscanmail.trustwave.com%2F%3Fc%3D15517%26d%3Dw46s4eMXULV_ns1ZfAKYLbVKcqey_PHiW1WdMte6ZA%26u%3Dhttps%253a%252f%252ftwitter.com%252fmattrglobal&data=04%7C01%7CSteve.Lowes%40mbie.govt.nz%7C5a65fe33c70b41fd8ba908d976f3a2f1%7C78b2bd11e42b47eab0112e04c3af5ec1%7C0%7C0%7C637671611076729970%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BD9WWyXEjVGlbpbCja93yW%2FzLJZpe%2Ff8lGooe8V6i7w%3D&reserved=0> [Mattr on Github]<https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fscanmail.trustwave.com%2F%3Fc%3D15517%26d%3Dw46s4eMXULV_ns1ZfAKYLbVKcqey_PHiWwGdMoDtMw%26u%3Dhttps%253a%252f%252fgithub.com%252fmattrglobal&data=04%7C01%7CSteve.Lowes%40mbie.govt.nz%7C5a65fe33c70b41fd8ba908d976f3a2f1%7C78b2bd11e42b47eab0112e04c3af5ec1%7C0%7C0%7C637671611076729970%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=4AhRuXZCnU5i3hcngo4H3UiNayYUtXpRcImV4slS1mw%3D&reserved=0> This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002. ________________________________ From: Hannes Tschofenig <Hannes.Tschofenig@arm.com> Sent: 12 March 2022 01:45 To: Mike Jones <Michael.Jones@microsoft.com>om>; Anders Rundgren <anders.rundgren.net@gmail.com>om>; Laurence Lundblade <lgl@island-resort.com> Cc: Tobias Looker <tobias.looker@mattr.global>al>; cose@ietf.org <cose@ietf.org> Subject: RE: [COSE] Newly Submitted Draft - CBOR Web Token (CWT) Claims in COSE Headers EXTERNAL EMAIL: This email originated outside of our organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe. Hi Mike, maybe you can give examples of where this feature is used in JWTs, which would explain why you want to have it in CWTs as well. Ciao Hannes From: Mike Jones <Michael.Jones@microsoft.com> Sent: Thursday, March 3, 2022 6:02 PM To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>om>; Anders Rundgren <anders.rundgren.net@gmail.com>om>; Laurence Lundblade <lgl@island-resort.com> Cc: Tobias Looker <tobias.looker@mattr.global>al>; cose@ietf.org Subject: RE: [COSE] Newly Submitted Draft - CBOR Web Token (CWT) Claims in COSE Headers We are *definitely* not attempting to change anything about COSE message processing, including how encryption is done. We are defining an additional header parameter that can be used – that’s it. -- Mike From: Hannes Tschofenig <Hannes.Tschofenig@arm.com<mailto:Hannes.Tschofenig@arm.com>> Sent: Thursday, March 3, 2022 1:45 AM To: Anders Rundgren <anders.rundgren.net@gmail.com<mailto:anders.rundgren.net@gmail.com>>; Laurence Lundblade <lgl@island-resort.com<mailto:lgl@island-resort.com>>; Mike Jones <Michael.Jones@microsoft.com<mailto:Michael.Jones@microsoft.com>> Cc: Tobias Looker <tobias.looker@mattr.global<mailto:tobias.looker@mattr.global>>; cose@ietf.org<mailto:cose@ietf.org> Subject: RE: [COSE] Newly Submitted Draft - CBOR Web Token (CWT) Claims in COSE Headers Hi Anders, Thanks for jumping in. The example you provide below is actually quite interesting and related to a question I posted to the list a few days ago (see https://mailarchive.ietf.org/arch/msg/cose/9nowDz5kbfUvrGR-o6U1Tm31XAA/). I am not sure whether the intention of Tobias & Mike are actually to re-define the way how encryption is accomplished. They should confirm. Ciao Hannes From: Anders Rundgren <anders.rundgren.net@gmail.com<mailto:anders.rundgren.net@gmail.com>> Sent: Thursday, March 3, 2022 8:39 AM To: Laurence Lundblade <lgl@island-resort.com<mailto:lgl@island-resort.com>>; Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org<mailto:Michael.Jones=40microsoft.com@dmarc.ietf.org>> Cc: Hannes Tschofenig <Hannes.Tschofenig@arm.com<mailto:Hannes.Tschofenig@arm.com>>; Tobias Looker <tobias.looker=40mattr.global@dmarc.ietf.org<mailto:tobias.looker=40mattr.global@dmarc.ietf.org>>; cose@ietf.org<mailto:cose@ietf.org> Subject: Re: [COSE] Newly Submitted Draft - CBOR Web Token (CWT) Claims in COSE Headers On 2022-03-02 19:33, Laurence Lundblade wrote: Makes sense to me. Helps out for the EAT claim named “profile” which gives information about the type of the token you might want before fully verifying it. Addresses an issue Anders brought up about the profile claim. Not so fast :) I brought up a bunch of things which can be illustrated by this (just implemented...) example of an encryption object: 211(["https://example.com/myobject"<https://example.com/myobject>com/myobject>, { / COSE content encryption algorithm = A256GCM / 1: 3, / Key encryption container / 2: { / COSE Key encryption algorithm = ECDH-ES+A256KW / 1: -31, / Key identifier / 3: "mykey", / Ephemeral key / 5: { / COSE Key type = OKP / 1: 1, / COSE Curve = X25519 / -1: 4, / COSE X coordinate / -2: h'33a04b83d4428824b6d5477522d4a88fac4441122bc46136c0203faa308c3929' }, / Encrypted key / 10: h'e08977c25aeccaecd63b3367de2e2b8f700c82e098ad1e5099d9db510920ccff14debf820427e4ba' }, / Tag / 8: h'59a84826983e3247fbec4295f75cc138', / IV / 9: h'fd8556c122cff2bc128d5119', / Encrypted data / 10: h'e16b16c29da5163eb0131dd1f10f080f8850f55df2ae9d89a3b839ad50952858445f290dfb60' }]) The core of this builds on Deterministic CBOR which unleashes the true power of CBOR in a way legacy solutions do not. The enhancements include: * Eliminating wrapping of header and (unencrypted) application data. * Using the entire container (modulo the algorithm output variables which are added lastly) as input to a signature process and to the authentication part of an encryption process. In the example that includes the top-level CBOR tag as well. cryptoOperation(cborObject.encode()) is all that it takes on the encoder's side. This is pretty much what the X.509 folks have been doing from the very start so there is close to zero innovation here ?? In the example I have also used a URL as profile/object type indicator since IANA CBOR custom tag 1537244 or whatever you end-up with, simply isn't pretty enough :) To be more serious: URLs are decentralized and would in this context probably be browseable as well. Cheers, Anders 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. 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.
- [COSE] Newly Submitted Draft - CBOR Web Token (CW… Tobias Looker
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Hannes Tschofenig
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Mike Jones
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Laurence Lundblade
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Anders Rundgren
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Laurence Lundblade
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Hannes Tschofenig
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Hannes Tschofenig
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Mike Jones
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Anders Rundgren
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Carsten Bormann
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Anders Rundgren
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Laurence Lundblade
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Anders Rundgren
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Hannes Tschofenig
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Tobias Looker
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Laurence Lundblade
- Re: [COSE] Newly Submitted Draft - CBOR Web Token… Hannes Tschofenig