Re: [Rats] UJCS standardization (relates to UCCS WG last call)

"lgl island-resort.com" <lgl@island-resort.com> Wed, 13 September 2023 18:56 UTC

Return-Path: <lgl@island-resort.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 BD7E9C14F74A for <rats@ietfa.amsl.com>; Wed, 13 Sep 2023 11:56:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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 y03717Doz_TB for <rats@ietfa.amsl.com>; Wed, 13 Sep 2023 11:56:52 -0700 (PDT)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2096.outbound.protection.outlook.com [40.107.237.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 0598EC1524BC for <rats@ietf.org>; Wed, 13 Sep 2023 11:56:51 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NNpJpVgtIkypepbANJvjKigsheOxtJqn4eV3LEISKqaNO9GKzXrV+Q3su4yoM9hy3+h2tbMcseopO/oQbIFktoKq0JMEaIK/ZsID5+/J6vb9IQkBK17pSnc50H62S055rfyF0NGK4hQh5MGzBLSYj2tqC1L9zF61wP8z1cygkVoAneo6wdS3CU+czE1TT6Tai1Bqs4irLuBBmQ8x0l6MWuvN8arqhgorl0FjhMZmvEjvatzQMJPH2wOalFlq0gnMpUQk4uxwW+AASQPT5NVGwI5GOh2FiMeZhhNfXCrLsw7YyeEVq2SSWdgMepaoJcx1HThyBc6wO/jT5yx5ZzR/zw==
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=V/0H7A/UcGAaAurrWgSEX4RIdfxHjX+OdgRxSB7qoD8=; b=NUoByrbPOwysEOd5tn0SROY97SC3j2k7CMqomWNHYyd888N6XEMjahBZ895PYLYmQygNOaXfNqJp0getjbBcLsOUNRnDeFa5vNELLDQpkATsySND7aSMPD0004DtPRpF+XumbJBKbWqUeIY238/NO4gKaF+AUKPEkcYLZ0Zyv5FwOddzQBLXyzMfUXaJ17oj4rKPtOKyCJ9sxTs5VkC/ZyDqwD/PilEWtZXds4SBpy6BBZzBpPVXjsyFXAEeTHBpg4VGSOo6arB/9v2reD33aGnvSvCIxQJXTOs2TmhRBQ31KWuVxZeTX/LwSfvKrY8HYG3P4KJHRoHoPoVFRpjJ8w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=island-resort.com; dmarc=pass action=none header.from=island-resort.com; dkim=pass header.d=island-resort.com; arc=none
Received: from PH7PR22MB3092.namprd22.prod.outlook.com (2603:10b6:510:13b::8) by SN7PR22MB3885.namprd22.prod.outlook.com (2603:10b6:806:35b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.35; Wed, 13 Sep 2023 18:56:47 +0000
Received: from PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::f317:e4d1:7e1e:3934]) by PH7PR22MB3092.namprd22.prod.outlook.com ([fe80::f317:e4d1:7e1e:3934%3]) with mapi id 15.20.6768.029; Wed, 13 Sep 2023 18:56:47 +0000
From: "lgl island-resort.com" <lgl@island-resort.com>
To: "Smith, Ned" <ned.smith@intel.com>
CC: rats <rats@ietf.org>, Roman Danyliw <rdd@cert.org>
Thread-Topic: [Rats] UJCS standardization (relates to UCCS WG last call)
Thread-Index: AQHZ5nHbxOx1dK64ok2bPf07tcoBGLAZGyyA
Date: Wed, 13 Sep 2023 18:56:47 +0000
Message-ID: <E1E529B6-E1AA-4FC3-8C10-69952EE9B218@island-resort.com>
References: <1E84D504-0FA7-4947-A8C0-42F094C15CA2@intel.com>
In-Reply-To: <1E84D504-0FA7-4947-A8C0-42F094C15CA2@intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=island-resort.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH7PR22MB3092:EE_|SN7PR22MB3885:EE_
x-ms-office365-filtering-correlation-id: 6ec3a5f3-e8c2-42b8-be7f-08dbb48b2e66
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 0Y4ji3b6SiLbRdtTNwdkt8nBhZWClTXELT3hA38LPdTHTT81nNRrI7dv+YryRIgkX24OVGFToXmivksF+DjlQd+yGdtHqyH+0uZ0M0/fNYH8Dn+G/MafPKuAsb55B81jQKkD9vA6Zzwo1yj06X56rWJlirbFqMWRDIuOrpK43iEt9Ms+qB6P0SITxZjzROOan0Pz2YjTVA+h/j+D3C6xt/WO+OBdCW9rEFzPBoUUcflSPbsBuk9i1ew7sXzGpvkVqxWrVvsauANkMy52z9q87Xotsyz7vIu3WYj6PQY4Wtc6UcKn3dPpTyXwzqMFV/311acDKzxS8OZPPMfukncZ60ZcWv617QLTpH5AkPXTYw1h02HTKu81g8yyAUJPBgT9jYJwmg8uOdwO2cAfNaDnqtZ+rsryhwD9RY/k1DFYYTqjdph25mbKeplE24QF/51XMLpoE0M60U/CmBZUEAlrl2D1FDV47UjSr7kVibZXO+c+WuFlInZC1pRXSh2ayKeIpDcp3QVLJ0uLg47e2I5LDaF+MfAn4sOhrXoaCPcFJmqicQODvBKOx+PkyKMe2i9F2Gv2sbNi6djxdSAW2+bUKxIU8qOzgwr16pheBY7C9WooUrdyeJskytZTKzwyoyaZ8zlHwY3qUr59BTBhmysmLw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR22MB3092.namprd22.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(39830400003)(366004)(136003)(346002)(376002)(186009)(451199024)(1800799009)(36756003)(8676002)(2906002)(4326008)(8936002)(41300700001)(5660300002)(54906003)(76116006)(66446008)(64756008)(66476007)(66556008)(66946007)(6916009)(966005)(316002)(6506007)(6486002)(53546011)(122000001)(83380400001)(26005)(2616005)(71200400001)(38100700002)(478600001)(86362001)(38070700005)(33656002)(6512007)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ah05jxZ0/JTdvF6me9JSqlRr5nqvVQvpw82H5ItND6oQbo0xQI6DBMX76KYXlh0Hi/TyiSPzhKdtM1kkUeTOJ96Qr7yxkgMKJpYvjn7h/hAHN53UFywpsSpB0r2WG+fr2d6PI5d9oIj00J23ZILNLuQ9fhmMlw1/iRra26KIcBaaXU2/0dvEFuHF9aE2IevjSFhrD5YH0EWwZLn0GgzAZEb5PdKtZaJWCzXa+sWyloIcng9Izg8Mf9Koyy08hGSbG76soh+fDLUanvvqYCDxzEx7t88j8G96Z0nNZeLEkYcWllMnnE87joFl9RS0HJ0LfiDRJGmvTCzlADF3Xy0EX4wdn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rx7IGtEk48Sh+RlM+1zysIL+wLsMYCXtL2TVB3CJPImOU9k+2S7LZO+13GS5yhgkCM3Rh5dj3jskb8AQDq0aA1LKLmwoAtbvHSdIm0QVVtSrsQK3AoEnGOelm61NL3wS/mHkn/qXyd7fWvUW83opWFbm40gY6MIS4oPcT0REuUfx4dqIXFzg6FAsUumM3Jlsi/jdfDwWVrA==
Content-Type: text/plain; charset="utf-8"
Content-ID: <6E59B919DB70CD439F984FA4E0684224@namprd22.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: island-resort.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH7PR22MB3092.namprd22.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6ec3a5f3-e8c2-42b8-be7f-08dbb48b2e66
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2023 18:56:47.4642 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: ad4b5b91-a549-4435-8c42-a30bf94d14a8
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 0M/awnoymBr0+6o9220plHD2WqujBr25LS9sjwkf3dWECS2hszZjNm/k/VZtgWy7IC6xx3+fSG9eYDsYSk0ZLA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR22MB3885
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/f00je9N6wbxMrJ4vnQy4bSUExaM>
Subject: Re: [Rats] UJCS standardization (relates to UCCS WG last call)
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: Wed, 13 Sep 2023 18:56:56 -0000


> On Sep 13, 2023, at 11:41 AM, Smith, Ned <ned.smith@intel.com> wrote:
> 
> Note also that draft-ietf-rats-eat-media-type mentions "UJCS" but doesn't reference the spec that defines it. 
> 
> Additionally, RFC8392 requires the contents of a CWT to contain CBOR. I don't think UCCS (which defines both CBOR and JSON) clearly explains whether it modifies the RFC8392 content requirements. In other words, is a UCCS (not UJCS) the same as a CWT minus the signature?
> 
> RFC7519 places similar constraints on the JWT payload (that it contains JSON). Does a UJCS expect to preserve the JWT content requirements minus the signature?

Ahh, now your previous comments make sense to me, Ned.

I don’t think we want to use COSE to sign JSON-format claims sets or use JOSE to sign CBOR-format claim sets even though I we could. That seems like unnecessary complexity and flexibility to me and I don’t think anyone is asking for that. Definitely not me!

(EAT allows nesting of a UCCS EAT in a JWT-format EAT or a UJCS EAT in a CWT-format EAT, but that is whole-token nesting defined by EAT and a different thing).

> 
> If draft-ietf-rats-uccs is intended to define "UJCS" then it probably is not named properly.
> 

Yes, I’m using UCCS to refer to an unsigned CBOR-format claims set and UJCS to refer to an unsigned JSON-format claims set. If the draft covered both we’d have to rename the draft to UCS or UTCS or such.

LL



> -Ned
> 
> On 9/13/23, 11:03 AM, "RATS on behalf of lgl island-resort.com" <rats-bounces@ietf.org <mailto:rats-bounces@ietf.org> on behalf of lgl@island-resort.com <mailto:lgl@island-resort.com>> wrote:
> 
> 
> It was noticed during WG last call that UCCS does standardize an unsigned claims set in JSON format, only CBOR (even though it provides a CDDL definition for JSON).
> 
> 
> Here’s a few comments/reasons for standardizing UJCS:
> 
> 
> - EATs carrying attestation results are often B2B/server-server interactions where JSON+TLS is very common and the JWT signing overhead would be redundant.
> 
> 
> - Lack of UJCS standard sticks out a a missing piece in the document set of EAT, UCCS and EAT media types. It’s like we painted all the doors and windows of a house a pretty color except one. It’s a gap in the set of EAT, EAT Nesting, EAT Bundles and EAT collections.
> 
> 
> - It’s true that the original motivating use cases were only for UCCS, but EAT grew up and filled in to support JSON.
> 
> 
> - Beyond attestation, sending JSON claim sets secured with TLS seems like it would get a lot of use. Not my area, but I suspect lots are doing it in some form now and there might be some broader benefit.
> 
> 
> - JWT does have the NULL-cipher option, but its use is awkward, discouraged, a bit complex and wasteful.
> 
> 
> 
> 
> Here’s the document options I can see for UJCS:
> - Add it to UCCS now.
> - A new RATS standards track document. It will be a small document, but it will have to go through the whole process.
> 
> 
> I haven’t heard anyone opposing UJCS, just a preference that we get UCCS done soon. If we don’t put it in the UCCS draft, I will probably write up new document myself and push it through RATS. I feel like EAT is not done without it.
> 
> 
> I feel for the reader of the complicated document set of JWT, CWT, EAT, EAT media types and UCCS (plus COSE and CBOR). One more document adds to this.
> 
> 
> I did look at what it would take to add it to the UCCS raft and it doesn’t seem too difficult. The biggest disruption is seems like the name change. The CDDL is already there. I will try to help with the authorship in UCCS.
> 
> 
> Also, sorry I didn’t notice until now. I had years.
> 
> 
> LL
> 
> 
> _______________________________________________
> RATS mailing list
> RATS@ietf.org <mailto:RATS@ietf.org>
> https://www.ietf.org/mailman/listinfo/rats <https://www.ietf.org/mailman/listinfo/rats>
> 
> 
>