[Lake] #78 JSON test vector format

Göran Selander <goran.selander@ericsson.com> Fri, 23 April 2021 13:24 UTC

Return-Path: <goran.selander@ericsson.com>
X-Original-To: lake@ietfa.amsl.com
Delivered-To: lake@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A715E3A0489 for <lake@ietfa.amsl.com>; Fri, 23 Apr 2021 06:24:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 XlNp0gDNJF0L for <lake@ietfa.amsl.com>; Fri, 23 Apr 2021 06:24:31 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40040.outbound.protection.outlook.com [40.107.4.40]) (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 24F363A047D for <lake@ietf.org>; Fri, 23 Apr 2021 06:24:30 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lECIk3icFLBuItnIUssA/EzDcm2zqR+rhvkZupcURG7wjwG95JaOKfeg0I5gytbaYdH6xBt/1xzY5Utuo7HS7c2K1db4yeh/X5xun3qHCwZa2NOqQ+ysBTr25J6QuYEeniGtS4uwjgQZfErUKBdEAdZ+x2jlIDpwmVjINQcrbakYS38QSYiAj4xAvAYexwTkv/iAW59xLgsPrFS5Zuir4O5OYR3TO0UsCAx1at4PNA3mmLiTdQvBxIC7i1uaEv+/BD8p1OWifjIy6nk6wXoKaY+NBaDnZRtQUIbt6RX0WpdfKI8kTXEzpPpWpZ3X/P2t0L/ipzJmDb5+6e7gZ4dpiw==
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=L5JgXMR+O/X9KJQcZgAn+74lvsJObVyFxmo0FKHkAVA=; b=nSyPIn5BCqy4a6yZxwq1Yo1aWUZ5/KQOyaBHidnevDRsk7fd/zaFMUuflvXBvmZQ9KnHdwaGoCu1KUk0hfjjt/urHQn0hWed13WsaimFzCFFvqUepc6mQHDRk03pkw6BLVd/bn+baj+aJhKc1EKDr34iIWqwFmb5asftLrRBz/HnmjN7c16AaF8oiX1G3xiimRaU7wk3qRYEkNsjJ+e0i85NoZWeDrNCbFrml+hlW5GgXCGHvOgCkXQzsriI8Ewp1GsO5toMPoVobl56XppQ4b1y2XUu9bFxKv0qsWp2nl/EN8hpvKcEPOXiUvW/BrIVvrheevdyvMCgTG2EHiSiXw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L5JgXMR+O/X9KJQcZgAn+74lvsJObVyFxmo0FKHkAVA=; b=L9G0OLvpm3nU8eGKlH8mvrIe+F61gDkHfTu1yPDDxnmpcAni7E33yhO4o6dMTAUuvSL8GOyO6IV5ZCwOKfbgqOGHlgc0h/w1p/A3Af9DMwPNF00t6h4uL3zjVveUxmS/KwDhYHGMXS5UptaX1KGmzXBV3Y+yORHB7UJ07hN7eRo=
Received: from AM8PR07MB8279.eurprd07.prod.outlook.com (2603:10a6:20b:326::21) by AM8PR07MB8189.eurprd07.prod.outlook.com (2603:10a6:20b:320::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.8; Fri, 23 Apr 2021 13:24:28 +0000
Received: from AM8PR07MB8279.eurprd07.prod.outlook.com ([fe80::d5bb:ca13:69f2:fd1d]) by AM8PR07MB8279.eurprd07.prod.outlook.com ([fe80::d5bb:ca13:69f2:fd1d%5]) with mapi id 15.20.4065.024; Fri, 23 Apr 2021 13:24:28 +0000
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: "lake@ietf.org" <lake@ietf.org>
Thread-Topic: #78 JSON test vector format
Thread-Index: AQHXOEP8BfuMveGU6EGnnhCof4AUKQ==
Date: Fri, 23 Apr 2021 13:24:28 +0000
Message-ID: <94A7C71B-E504-4ED6-B3C6-C0FBFAC4DE76@ericsson.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.49.21041800
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [213.100.216.180]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 72350f30-fdce-4887-fde1-08d9065b1f41
x-ms-traffictypediagnostic: AM8PR07MB8189:
x-microsoft-antispam-prvs: <AM8PR07MB8189C0DF1563A7D2241BD6FAF4459@AM8PR07MB8189.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 8/ouRKAycl9U7rluJBcr3X2J8i9Oq8MxU8poVihoTMFIjdkIKy2/dVVNBwRmOpTN7ImgAimEaMm8uhbRP52tnXLpeHrqZCKpuLyhl9JzFXWNLyAe9x+uz1HWOKcj2ltJY3WKp2nXbPXRSgWJ6CCq2TqKAMSX/eUSyAe8ZbReSShTvPsMGWZpPYvFTE1LF38BuO+7dbdl3flVPAlWxFx9EWzlxVX2H9gSOCUkgFABpS0GoCHKoIpfnnkIu+c6tDe/RFgvIDc0aB2w+eGlODgICRDDfKJScel/FDqx2qXl8KrIsyzfC/EAlRKm4rGEaXfE1OJUHOiMkK0BhqyN3IRuji/kE+dNJ+LYxo2owEJ2ouKMjboNP/xzcnHX+DYToBTFkon/C5GbeRgCDUcwKJ8bSSqSXVpmG5Bp/eViejiHKLYz1aXlu0CrOXLNjK820m4bBSj4q1rNxD/5GV/wxN6CpIa3pOKbXZlxlIy+TB9b7q92Xgob7om6lwmuTaXr7R9SZGtzv2Zp+eR9kXTlaCHpzO6D1JDTDbO/IC0I5YAepaO3duUdjd1oJ4GiX+v5NXQFnwyxyr9XRxLhm15n/xCkFvrT0H7jsyBf0PJEcZ59Zo3dWvdVTDeywNFjE0jutXdIvnd55JAvaHOlEB+ZhztsA/0cw9dDYyTzNQwXu3FKYXqKTpM1Nw+Tv4Lmn2FoewPKb9UdyaGRwcQ62/QLUxNhzpUXtdWqnW4VXP8cLCYChDfaxdRFYfdVeM93jBe4vBDP
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM8PR07MB8279.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(376002)(39860400002)(366004)(346002)(5660300002)(478600001)(91956017)(6506007)(2616005)(86362001)(4744005)(26005)(71200400001)(66476007)(66556008)(64756008)(66946007)(6916009)(966005)(186003)(66446008)(36756003)(8676002)(33656002)(6512007)(6486002)(316002)(122000001)(85182001)(76116006)(38100700002)(2906002)(85202003)(8936002)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: =?utf-8?B?dklKc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FFVMXhFRk02UjM3eUxk?= =?utf-8?B?dm0wUXhMTVZwTW5GNVBIZz09?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <B69A1F3281487D4B96782F0F2FD044F6@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM8PR07MB8279.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 72350f30-fdce-4887-fde1-08d9065b1f41
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Apr 2021 13:24:28.4431 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Hs2w9LNwgvhvuVfTTiWo8M9JVdzpllnFTkwTB70CVvvK7Srkmnb6Oe6W39b/3WeNz5gkchQGdcIg8sCcU2xwBFBZoAA3FTLjGQ1RC/GsQf8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB8189
Archived-At: <https://mailarchive.ietf.org/arch/msg/lake/G4w1bWfG7s9iXiOV4n7X5zFau6s>
Subject: [Lake] #78 JSON test vector format
X-BeenThere: lake@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Lightweight Authenticated Key Exchange <lake.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lake>, <mailto:lake-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lake/>
List-Post: <mailto:lake@ietf.org>
List-Help: <mailto:lake-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lake>, <mailto:lake-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Apr 2021 13:24:36 -0000

Hi,

One of the issues we didn't have time to progress in the interim yesterday was #78 "JSON test vector format for automatic parsing":

https://github.com/lake-wg/edhoc/issues/78

Thanks to Timothy we have first proposal: 

https://github.com/TimothyClaeys/EDHOC-C/blob/master/test/test_vectors/vector1.json

It would be great if people could comment on that, is it mapping well to your output or would you prefer something else?

The plan is to use the results of this work as a template for test vectors. 

We would also like to "crowd source" different test cases to speed up interop testing of specific settings. Ideally this template could be a common format for that.

Any input here is welcome.

Thanks
Göran