Re: [Cbor] What's your opinion of using CDDL to simultaneously define CBOR and JSON?

Henk Birkholz <henk.birkholz@sit.fraunhofer.de> Tue, 07 September 2021 20:17 UTC

Return-Path: <henk.birkholz@sit.fraunhofer.de>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55D163A1382 for <cbor@ietfa.amsl.com>; Tue, 7 Sep 2021 13:17:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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=fraunhofer.onmicrosoft.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 7W6VFEQrymdp for <cbor@ietfa.amsl.com>; Tue, 7 Sep 2021 13:17:09 -0700 (PDT)
Received: from mail-edgeS23.fraunhofer.de (mail-edges23.fraunhofer.de [153.97.7.23]) (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 DBC753A1380 for <cbor@ietf.org>; Tue, 7 Sep 2021 13:17:06 -0700 (PDT)
IronPort-SDR: lVKm7OCCWRoWx2mVFtMqrJ5mg3l4RdsK3bColeAyx+YCPdY+xvKrrT8ptWmeCuxp5mZDsPgyAa 1RmPMfsNrFHA==
IronPort-PHdr: A9a23:Nh/yIh9deV7JLP9uWMHoyV9kXcBvk7T5IgBT7YAo2PpCcaWmqpLlOkGXpfBgl0TAUoiT7fVYw/HXvKbtVS1lg96BvXkOfYYKW0oDjsMbzA0tHMDDDlf0f7bmaiUgF5FEU1lot3iwLUlSHpP4YFvf6n2/5DIfAFPxLw1wc//0Bsjclc2q0eC19ZDJJQlF11KA
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2EoAQBuyDdh/xmnZsBaHQEBAQEJARIBBQUBQIFIBQELAYFSUX6BQoRIg0kBAYU5h1cuA5pbglMDSQsLAQEBAQEBAQEBCAEqCwoCBAEBAwOEbAI1ggkBJTcGDgECBAEBARIBAQYBAQEBAQYEAgKBIIVoDYNTgQgBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEFAkFHDDEBAQEBAgEBARARDwEFCAEBLAwECwkCDgoCAiYCAicLJQYBDAYCAQEegk8BglUDDiABAQMLjiqPNAGBOgKKH3qBMYEBgggBAQYEBIE6Ag5BRoI5GFqBWgMGCQGBBioBgn6KfCcQgVVEgRUnD4JzPoJiAQECAYR0gmSHMDRgQw4CLyyBA4EBkVU2qzAtB4IDgSuBMQYLiH6UCgYULJVdBpEilhyMRJhrAgQCBAUCDgEBBoF3gX9NJE+CaVEZD44gN4M7hRSFTHICNgIGAQoBAQMJhUeMRQEB
X-IPAS-Result: A2EoAQBuyDdh/xmnZsBaHQEBAQEJARIBBQUBQIFIBQELAYFSUX6BQoRIg0kBAYU5h1cuA5pbglMDSQsLAQEBAQEBAQEBCAEqCwoCBAEBAwOEbAI1ggkBJTcGDgECBAEBARIBAQYBAQEBAQYEAgKBIIVoDYNTgQgBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEFAkFHDDEBAQEBAgEBARARDwEFCAEBLAwECwkCDgoCAiYCAicLJQYBDAYCAQEegk8BglUDDiABAQMLjiqPNAGBOgKKH3qBMYEBgggBAQYEBIE6Ag5BRoI5GFqBWgMGCQGBBioBgn6KfCcQgVVEgRUnD4JzPoJiAQECAYR0gmSHMDRgQw4CLyyBA4EBkVU2qzAtB4IDgSuBMQYLiH6UCgYULJVdBpEilhyMRJhrAgQCBAUCDgEBBoF3gX9NJE+CaVEZD44gN4M7hRSFTHICNgIGAQoBAQMJhUeMRQEB
X-IronPort-AV: E=Sophos;i="5.85,276,1624312800"; d="scan'208";a="31615062"
Received: from mail-mtadd25.fraunhofer.de ([192.102.167.25]) by mail-edgeS23.fraunhofer.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 22:16:51 +0200
IronPort-SDR: HoOf3XDaDvEwZ4f8kIRgiPCpV97n3+Twbv5QUf11Pho8YZMmZLEGL29GNYcgS/voazYf6kQyD6 F+Sq3CDP19Dnt7fLmSSMnUSYeq2AcDGuk=
IronPort-PHdr: A9a23:elPPMRJ9TH+3Ni5FUtmcuYUyDhhOgF28Fg8Y9pRhjKhBIeyv/JXnaUrY4/glzFrERp7S5P8Mje3K+7vhVmoN7dfk0jgCfZVAWgVDhZAQmAotU8+IFUO9K+TlPGQ2Gc1YXwpj+He2eUFeBMf5YQjUpXu/pT4fExnyL0x7POPwT5XTk4K5zemv/Z3UbQhSwjawMttP
IronPort-HdrOrdr: A9a23:o7cEZKvqsJ9YKZnlF19Mc9K57skDvNV00zEX/kB9WHVpm5Sj5qeTdPRy73DJYUUqKRcdcLG7SdW9qBznhP1ICOUqUItKGTOW3FdAT7sSkrcKoQeQeREWn9Q1vcwLT0E9MqyUMbEQt6jHCXyDc+rIt+PnzEnHv4vjJjxWPHhXgulbnn9E4hDyKDwMeOBpP+tCKLOMotNf4yO6f34aYt6gCnRtZZm/m+H2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CHAgCzxzdh/z6wYZlaHQEBAQEJARIBBQUBQAmBPwUBCwEBgVFRB3dZJkOER4NJAQGFOYVhgiQDOAGaIoJTA1QLAQMBAQEBAQgBBCYLCQECBAEBhHICNYIGAiY3Bg4BAgQBAQESAQEFAQEBAgEGBIERE4VoDUABEAGFcAEBAQECAQEBEBEPAQUIAQEUGAwECwkCDgoCAiYCAicLBx4GAQwGAgEBHoJPAYJVAw4gAgMLjiqPNAGBOgKKH3qBMYEBgggBAQYEBIE6Ag5BRoI5GFqBWgMGCQGBBioBgn6KfDeBVUSBFScPgnM+gmIBAQIBhHSCZIcwNGBDDgIvLIEDgQGRVTarMC0HggOBK4ExBguIfpQKBhQslV0GkSKWHIxEmGsCBAIEBQIOAQEGgXclgVlNJE+CaVEZD44gN4M7hRSFTEExAjYCBgEKAQEDCYVFAQGFAodDAQE
X-IronPort-AV: E=Sophos;i="5.85,276,1624312800"; d="scan'208";a="120118312"
Received: from 153-97-176-62.vm.c.fraunhofer.de (HELO mobile.exch.fraunhofer.de) ([153.97.176.62]) by mail-mtaDD25.fraunhofer.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 22:16:47 +0200
Received: from XCH-HYBRID-02.ads.fraunhofer.de (10.225.8.59) by XCH-HYBRID-01.ads.fraunhofer.de (10.225.8.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.15; Tue, 7 Sep 2021 22:16:47 +0200
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (10.225.8.37) by XCH-HYBRID-02.ads.fraunhofer.de (10.225.8.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.15 via Frontend Transport; Tue, 7 Sep 2021 22:16:47 +0200
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dwfB5Fhq6UHhUYpkfu93Zg+tZlzy7o0EtEI7OsuMBDcSP0aecsPSYrXM9U2XfvvVsQByYygHZxhvUpmXm7CQaFXhJRJ29af6FFGlaNFjCUJfsgmnsF3Rcz9cUIo6Jo9KyTtvgVWeR1lVgq2SRc7C5PqL36WfZdSPJAxI5lZZXaIXhDdSWhEuOL5GxwCSwCUDHgNnUr7fQlr5R71b97ODvZhwIb9NQCEO4YQXhTHzEvrXRiQYNWRZYFs+SrPHt+xe4t6btQ5H9EowwZPg7USnqcDlPxN0VbDQDfIcUUbmaXcucmYkH/HUqpjSSLRvwPEzHtF31u2HTGJHBCH/alNKmg==
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; bh=uXu8vqb5BUJM66zYYiUxFQMkOSBDV6XWUZ8XgiECakI=; b=BU6j78xIwcBQLlqKk46wk1yrzHJMjY8cwyP2I14qEx74Y3ZYE+5eKxtxbbL+VRrCEmqf9x8DDYP5vWAPBQsH0EYAjx22D9hEDel/s3kMOd4KZIpS0mI5T6t7CQNuxMUZ7YsDimYsuukJue/g4zkJVaiKkoxikAkkc0Kt30UOX+RYbl7r47mtjcN4zP6BPZGcIoxbWHAXD2WIrjbgSn4rmLfwLo7AKEgUJRh2KaHJA96DTW5qdKfN6dDumhxBPIMLs6G6BYGzjF5/TgQMGXr4EQ4qQNveBC6T7VBVyGTO7atnS3chpgMu4KbcvG1x24bemsaIp0zrif8OiwppqkV2Ew==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sit.fraunhofer.de; dmarc=pass action=none header.from=sit.fraunhofer.de; dkim=pass header.d=sit.fraunhofer.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fraunhofer.onmicrosoft.com; s=selector2-fraunhofer-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uXu8vqb5BUJM66zYYiUxFQMkOSBDV6XWUZ8XgiECakI=; b=iefIQ30jRJEtHMOOIWP3vbBbkML6rZ8jOd3KB8KSXlM8OF0ffVhRgOyQYSVlOBCDCOF6XHA8wvwsm7qih7GFl73SuEi7tNZSQSdhYCFGjilKxph1F2W2cqbVlWlY19ujahNpoyTMN5kLOqKorpwNOD25a62tTJpubbj2Ng8Lj0A=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none; ietf.org; dmarc=none action=none header.from=sit.fraunhofer.de;
Received: from DU2P194MB1709.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:276::9) by DB8P194MB0901.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:149::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Tue, 7 Sep 2021 20:16:46 +0000
Received: from DU2P194MB1709.EURP194.PROD.OUTLOOK.COM ([fe80::34a3:5ae8:873e:13ac]) by DU2P194MB1709.EURP194.PROD.OUTLOOK.COM ([fe80::34a3:5ae8:873e:13ac%3]) with mapi id 15.20.4478.026; Tue, 7 Sep 2021 20:16:45 +0000
To: Laurence Lundblade <lgl@island-resort.com>, cbor@ietf.org
References: <51537C68-F495-4750-9376-A637BD0E78DD@island-resort.com>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Message-ID: <0d4b6a9a-dc26-ee31-725b-3689dfdce041@sit.fraunhofer.de>
Date: Tue, 07 Sep 2021 22:16:44 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
In-Reply-To: <51537C68-F495-4750-9376-A637BD0E78DD@island-resort.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: AM4PR07CA0030.eurprd07.prod.outlook.com (2603:10a6:205:1::43) To DU2P194MB1709.EURP194.PROD.OUTLOOK.COM (2603:10a6:10:276::9)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [172.16.7.90] (217.171.227.46) by AM4PR07CA0030.eurprd07.prod.outlook.com (2603:10a6:205:1::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.6 via Frontend Transport; Tue, 7 Sep 2021 20:16:45 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 6b99f299-0dbd-437e-ba33-08d9723c6a49
X-MS-TrafficTypeDiagnostic: DB8P194MB0901:
X-Microsoft-Antispam-PRVS: <DB8P194MB0901C940D4E21C5DDAE310C7A8D39@DB8P194MB0901.EURP194.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:5797;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: pFXBk9gGFwLp0gP/Y06Dk9aodZHtGC9+X2sI43aqrveUPYH+mBqrGgbS/fGMMeEh5sp+zHnH3SDdal8CbxVFrjs7ZNhr2qwG6/0swRNk0Q1DATjh4iRSDx4U4JTqk+1RCs1zu2iAuxjkQhcNKwRJWVSJMjSqtaZqYtW5+KB2kLTkRVLcGSK+nU/RGYDnUR+No4e0ddO/UFh8T/tZ2ijCoPTpev5tSHePEoEjqDKxEemZu0KNk/HnG08Dqqfuwqoh1SYlYkpkA2liMrdK2fXUPBix9Ys5lrMdVwC+yx5UiBxyn4XCaHE7IkRKwG9/FqWGMA4UCkzbZg1AN4pzUw1ye6mgqj4EdlcuFTskeP51XORVQbobC1rQYXcRhxvVEDJ0RyQdX1+CW44Ix2MKKE7jWz6qAffuYX3TrtoGJYywp8sYWLCIejxCVKlZl0bZDvLoQThaICZe5JoqPtOVHpvQnuJ8yGwhq2ExLO10t6bkshxAQSnllKHhvn2PVh2980GE836vADnNrji5rZIL9d+OPEh3hoiMDQ1LUBocZ3ai9xlOemjxbVdTBNHniXxiqOzWtgoZhMFAe3/0xyx93if+cNOGcQqTmQTyOWJolUuGar4PxKYzyF57s7DilkKddpIdmsvlJ2YB/IHdTB2y5teX4DJMCVhfhtkasHDZ2tcX/vZB9kQif1D1lLIfFFJcpp1tiLjOpVFaHns2D9MgW+HS/S5zZDP79+iXMqh1symOUYdnaiFG9ZGjZWTCi3hxOZ2MpN3Jf6U2mdrjb+LIR5mU7MRDLKKlF0uKFlNmkAhZW/8rDLeaTVIEdoIbK8ChmvIRhViZHDyDR4DwAVkTB83cdw==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2P194MB1709.EURP194.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(376002)(366004)(136003)(39850400004)(38350700002)(38100700002)(86362001)(8936002)(26005)(956004)(2906002)(478600001)(66476007)(66556008)(186003)(66946007)(966005)(83380400001)(2616005)(44832011)(5660300002)(16576012)(316002)(6486002)(8676002)(53546011)(31686004)(31696002)(52116002)(43740500002)(45980500001); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: RV7pfB6DEDmLt4/TwN8np2D1AzSgxdszoGI7d1a87YYQMA+QpsBOEoYXYN4hS6zHJ4urHHicDlj7MDKeXNLcGyd5t1XhqB9ggVqTWWsgFkd7OK7nZ8lQ1S9CgYzYnU0N2oVyfhyJobTCta+NcIgefV3oy9OpM+tj/l+qgdSNT2rIW3sBlEKDZzz3zqYyog20ATxaoiCqpvolnFw14iDHs66nDgQ+VeiqkFlVs7ryvt+oDYM1bLXj8YOF1PT1wzi0ohkTImttPwy5YZtNtV9oKMMnoxqBMEjqWd15yvwtDDP9QMJyHc1TRVNwitwwIbl+BqT0NzDOEuHN+0Pe/RieNi64wI8MvwZxt6W6gXV1SpF8I6qCiApSkvk+Anjdhzs+tELzTiMfc3spscmKfUWzDQmh8UX8K7M1Lf1dsBOaYdhyd6S9Qx30CY/MdAUqrt5AJlXP7wiC30UMpLgzLlyvOT/s62BW2D/tDJ/Mj9VCCLGieR/P1UijkZcGIgFu7U01zCE13WxkloyHgxS7TimA6qzhiNxpWSaB0WUxxza3BHvWnTbav0rqXA06NUMYOFhlZTirD6S7l0VbYYLsLDhqNkNtsPjcBE/jok7AVgXrHvTraehpX0DpDroHjY2jGO3XsCJsSvz82hVBwRIM8CdDs7sFESonBCzeO3W9SZ7yxv3Mn24IgrDhNWO8dbhes6eNA5ZOUA2OrTQUV55meRT/A0MsTB/fwpjIabngJFWAT9PyFSoai/DmHXOCGa5xEh2McCUnQROr36Yzx8J8z+m5pjv7x8hvaW7xY+37UV86m0gxd/KbijEtjT2HaxCv4zfpjj5w1WL/fGthN/VJcbfj5KrQ7Q84++3f6kA+X8pw2ku9iDNLvYStcgYJuvopibMWDduOhIaFPFhoblB/mrtCOoUFYf6nyIWol12OLugP/K7ir48bxxWl3IJbTguWCA1WMh65SUD8BhmaSwaQEmLcyijcs0cACiPMaV/qlH8veixnZXtAo3D4z23Vj2rvRacjmB3+NfPkzAqSKirA5Ps2l6bkF8iLCKle9ciTQ8CKRQW4P3jdiGdxAYtf1TZOezQ/5M6MZE5azi2Bf7KhNG078QdF9qUXTXGLvHMgj7bKpvvtS71IqZXQK+Vb3P4AsI9tiztZc+FfpGGAjyLuJXLNA3xtE0ovW+IlfffyFIHDBw7Jhck2CYIbQRU0/qKqdqAYXhXiFwjmOylWbfIR0XL9eYutO7fWvwy9CkVPZ8ItE0rLAKaMt4JnC1fQzMdd0TkbpUcqgURIIOPQEj7qm/L3ELlHyYthhzp5d4330QXNKgZnGF5rrAbk1HRBUA8eueBb
X-MS-Exchange-CrossTenant-Network-Message-Id: 6b99f299-0dbd-437e-ba33-08d9723c6a49
X-MS-Exchange-CrossTenant-AuthSource: DU2P194MB1709.EURP194.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2021 20:16:45.8248 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f930300c-c97d-4019-be03-add650a171c4
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: OAiZmTliSP0aHTITEEpd5oJMdjE2ksr4NL4ct42M55we14yq/0FOM1DvJYNjsZjlKfzrBVZwolaGF20M3fktcQsDCm0VIdinOSXB0xlKCJw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8P194MB0901
X-OriginatorOrg: sit.fraunhofer.de
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Yxp4hhAvcHMTCeYPkivQsNrE7gA>
Subject: Re: [Cbor] What's your opinion of using CDDL to simultaneously define CBOR and JSON?
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Sep 2021 20:17:15 -0000

Hi Laurence,

> If we set out to define JWT plus CWT today from scratch, would we use CDDL?

that reads a bit like a loaded question. While CDDL can do what is 
intended to do (e.g., 
https://datatracker.ietf.org/doc/html/rfc8428#section-11) I am not sure 
what that has to do with defining "JWT plus CWT today from scratch". 
Could you elaborate on your motivation a little bit (excluding the can 
of worms that is the association with YANG modeled data and ASN.1 
modeled data very deliberately for now).

Viele Grüße,

Henk


On 07.09.21 19:45, Laurence Lundblade wrote:
> Right now, the EAT draft is using CDDL to simultaneously define the EAT 
> protocol such that it can be encoded in either CBOR or JSON. This also 
> gives transcoding of the protocol between CBOR and JSON which is useful 
> at the Verifier. There is also some interest in expanding to ASN.1. That 
> seems doable. Then maybe on to YANG, but that seems harder.
> 
> The goal here is NOT to be able to translate any arbitrary CBOR to/from 
> any arbitrary JSON. It is just for the protocol messages defined by EAT.
> 
> Mostly this has been straight forward in EAT: base64 encoding of binary 
> data and a few other little items. See here 
> <https://datatracker.ietf.org/doc/html/draft-ietf-rats-eat#section-6.3>. 
> That CBOR has tags and JSON doesn’t is the biggest mismatch and has to 
> be compensated for in other ways.
> 
> I personally think this is working pretty well and is a good idea. The 
> main text for each claim is described only in CDDL. A few little general 
> rules, like b64 of binary data, say how to handle the encoding for JSON.
> 
> This kind of all started when CWT was created out of JWT, but that was 
> all before CDDL. If we set out to define JWT plus CWT today from 
> scratch, would we use CDDL?
> 
> Other comments?
> 
> Thx,
> 
> LL
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor
>