Re: [Lake] PRs on encoding clarification and invalid test vectors

Göran Selander <goran.selander@ericsson.com> Mon, 02 October 2023 14:44 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 8F94CC14F721; Mon, 2 Oct 2023 07:44:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.008
X-Spam-Level:
X-Spam-Status: No, score=-2.008 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 kA4oK21rchns; Mon, 2 Oct 2023 07:44:36 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2079.outbound.protection.outlook.com [40.107.20.79]) (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 C179DC15198E; Mon, 2 Oct 2023 07:44:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c+wwnJyZkbMCNppuwONhcKQvKT4Ek8CCVZYbkN0fKxLw1bPxshZ7jUR1lTZi8d5Kc6htpxvS+Cf6yumO/3reQrcHJcuraYTxrIFy1ghxcA2s8I9T/GDb6xp55ZG3hK8QEDDebJJndRUk7by5yRLKivm3ms0uw+jIlTLmHQepQ0AMEYIY8hczKcd65K4Bo7umnwjjaLXQ+lUpVqM13pI5kqSOPP2295oGvjVEIYqzUj6Ss4ToHeSlU//bWZDTfysj+7FiqfifX15DxP+zRFR8/IVdeFyUG+HecMTGfmX2PLgaKKkH9pC3IvU/ILjC247o90ANVuZTU2Plkuddb8VzdA==
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=ZulG0ZJTgFPm/aDsZMyAQ3+q+jJGA90+9PhQnzta7uw=; b=anK9nqIJ6DyuWnSGPOymaT5cRPADDc5h52w9thbiIxx9EtAEqD3ZPQXERxLufpdUsyKRfUXvuy6JrTsTEYRjk/qeBRXCKJHt7qIySegNH0KSRnwVLH4flt/C9mY/X609w5j0BD1otLF2AKl9L8MshN31NKb2sccE9Rjbmej7AdaeoUlMX7TkxX+MdDrMubs4C4UQH0ViQVCC0PqYskV+phmJOiHWpfO7EnDrHSyNDhWPX6FMDnJJNCNeO/PCErLrEMmiFdbl+Db81SdIRG3GGW2gbOgirau9K5Kf1al4/6ufdL1EA+EwlpsQOCJkZW4Omvtlzq9vRMWdjGWSo+VRpw==
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=ZulG0ZJTgFPm/aDsZMyAQ3+q+jJGA90+9PhQnzta7uw=; b=J9Rx1Fm5mHzohamyvPKXylXi5blfjfkL6ejINjxsJV+m+bNMC53rgrV4Xwi9mM865vw5hkjnDsE8Y4FUDJ9cm24Z70mn4CEqutTzg0QrkwDlGvw05ES0TMho7vbLZ319dJAMZLnihASolUYDC2nhXmJpG1UIVjSFTN5kvTV7N78=
Received: from PAXPR07MB8844.eurprd07.prod.outlook.com (2603:10a6:102:24a::19) by VI1PR07MB9753.eurprd07.prod.outlook.com (2603:10a6:800:1d7::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.28; Mon, 2 Oct 2023 14:44:31 +0000
Received: from PAXPR07MB8844.eurprd07.prod.outlook.com ([fe80::b794:71e5:df86:cced]) by PAXPR07MB8844.eurprd07.prod.outlook.com ([fe80::b794:71e5:df86:cced%4]) with mapi id 15.20.6813.027; Mon, 2 Oct 2023 14:44:31 +0000
From: Göran Selander <goran.selander@ericsson.com>
To: Paul Wouters <paul.wouters=40aiven.io@dmarc.ietf.org>, "lake-chairs@ietf.org" <lake-chairs@ietf.org>, "lake@ietf.org" <lake@ietf.org>
CC: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
Thread-Topic: [Lake] PRs on encoding clarification and invalid test vectors
Thread-Index: AQHZ4i0ljlAen5sWNkS9IwAH8RL0ObAQ9GmAgAEFsjOABBcrgIAgosfs
Date: Mon, 02 Oct 2023 14:44:31 +0000
Message-ID: <PAXPR07MB8844AA72E8B4384E4EE13FE2F4C5A@PAXPR07MB8844.eurprd07.prod.outlook.com>
References: <GVXPR07MB9678CD3AA66FB02D6969993389EDA@GVXPR07MB9678.eurprd07.prod.outlook.com> <97DE3D72-EA2F-4085-81C9-E7DFA083FBDE@aiven.io> <GVXPR07MB96788761EDD4677114AF6D7989ECA@GVXPR07MB9678.eurprd07.prod.outlook.com> <CAGL5yWbcPMVSQHURq_5gzD9pvwJ=GyT7iy7mn-MDkds5sZ7uWw@mail.gmail.com>
In-Reply-To: <CAGL5yWbcPMVSQHURq_5gzD9pvwJ=GyT7iy7mn-MDkds5sZ7uWw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PAXPR07MB8844:EE_|VI1PR07MB9753:EE_
x-ms-office365-filtering-correlation-id: 5757ca09-ea34-4d81-45de-08dbc3561641
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Rn1AkjkUm3GFbUEJnpnJ/DlkbKuRm3LNtTkwQ3oRSFMIcXZANVy1uccKs+DPLsnNySNTP0u+smJ7sDgYXpMZ/uyxxZuQt4MMy3L8xQCwQYTTtPmO0asYyEvNsoovDA/wIA4iMiRojCvsKFVGvckrkPY0M5tkOkTrmRObzOv23iKgowrsoOfLx84T9pCpsdIjxilxRsQxcTuFq1F9VXYeM0CO3V4nI+aLFM7Q6m5fxByc07dxOLHypsmpuMZlGvjZF0/YIbeb/M9Ip2f2a9ApMIlj+fCLPD7kq5i2qUPjaqpUBln1SD9AAK7uoKvgeJcZgD3EVGvvY+ivX2LsKf9QCMh00BcKN5kDeJzxNh16Q6hDjeztz5Pm4EeGHuEBpwGZxthqxOvfC1YGqSG/S55ciCJIn3sxJDw3pYfC9CPl42MiDwVKSZxyjZ6SThi4ZWjeMfdnzFtwIdi7BqD7YDqUwTYhPrT3CqqXoy6rMmM8156YKhnyUph7FWDlWGyOD527IgKuSC1PSH/9uYEZqhbPCrFTXoo/mgti4qysafx+aKpSgT85GuCI+2yrAisMcX3r1QPONQY9DcS19g4OvKA/luxQrWVecg43p5o9H0mcQHIwT8r27KuGeveIPjAXCIdwFBGrlA8r6eKOrUccldvqmk3Nz0kTcTVuClkzJx3EbrOQp5jXEOGE3CGMiZf34okr
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR07MB8844.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(376002)(346002)(39860400002)(136003)(396003)(230922051799003)(186009)(1800799009)(451199024)(64100799003)(71200400001)(26005)(55016003)(53546011)(6506007)(7696005)(966005)(478600001)(9686003)(38100700002)(166002)(122000001)(82960400001)(86362001)(38070700005)(2906002)(316002)(66574015)(83380400001)(33656002)(85202003)(85182001)(64756008)(66556008)(76116006)(110136005)(5660300002)(8936002)(8676002)(52536014)(66476007)(66446008)(41300700001)(4326008)(66946007); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: WgYPAVMD7WLqFMJQnvOL6z70jxudhSOFbT2O1dS9AkjlT+gp734/p63dUCN5O/bDTAYCxI+zkFKxAWOjU6kkEvp33tPCwTw2WE+QcPKyyeQW78MU6NXHXH/Zm1Db53GEWl4HXPpTJT6rcmbFGitmvIvGVzupZYdt2E7nLCQK9bzjaXRu8UgkfBHTakXtX7B9iUzsFn28HYQraxkrIhlSzaFianbHbfSnb6zwvIwh10qtym8Bpds2rLhvQ6FDRZ95zCSrviLxxz2/A2tgmjyfVeFnDDXVu2tcbkTlnY1tlThc1k+1JD6YoDlSpfNG1p6YvmRrZVy1f5iHOICkpG6kpmLApIaxRutrVksv5HzvM99HQuUX5PYJg4NLhZbGljELCHdNCKp7LlE2tNh2HwlS34L1DyLHBr5pqMg6sovUZDjHLkyW7oNko7d50lPle6ZRWSPoV18rm4n/RxwOAxVe+TzhEIig3Uh/Y0OuTjZz/7B1imGcYMTVDe8SqMrE+CMEBxhk/zm3gGPHxrUAS7vrlB5L/rj2Hyo6cZIaSNSznuJPSo92aeuYGPiNUR6sq6h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
Content-Type: multipart/alternative; boundary="_000_PAXPR07MB8844AA72E8B4384E4EE13FE2F4C5APAXPR07MB8844eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PAXPR07MB8844.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5757ca09-ea34-4d81-45de-08dbc3561641
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2023 14:44:31.0871 (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: f06HTrVqAqn/MD7HGSqer9kis5y999UCr0to5wJ6GXjnrvvrV0+SmqcaeWEUrcNCRw6voAVM0Nm1FehyD6z+zOT2ilt1PGExTaHnEGOIPTU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB9753
Archived-At: <https://mailarchive.ietf.org/arch/msg/lake/u8xkLnTGvVHizc2RYivGPU8wnLk>
Subject: Re: [Lake] PRs on encoding clarification and invalid test vectors
X-BeenThere: lake@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 02 Oct 2023 14:44:40 -0000

Hi Paul, LAKE chairs, and all,

We missed to follow up the instructions in the mail below.

> Create a PR, notify the list. Then after a few days send email to the RFC Editor and CC: me (as AD). I guess these two requests to the RFC Editor should be folded into one request though.

This part, when to abort invalid messages, is included in the same PR #446 as addressing item 2, and has been out for some time. I just made a minor wording update today.

https://github.com/lake-wg/edhoc/pull/446

The contents are as described by John in a previous mail in this thread.

Do we need more time or should I now send to RFC Editor (and CC AD)?

Göran


(PR#442 was already merged in before sending -traces to RFC Editor.)



From: Lake <lake-bounces@ietf.org> on behalf of Paul Wouters <paul.wouters=40aiven.io@dmarc.ietf.org>
Date: Monday, 11 September 2023 at 22:02
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
Cc: John Mattsson <john.mattsson@ericsson.com>, lake@ietf.org <lake@ietf.org>
Subject: Re: [Lake] PRs on encoding clarification and invalid test vectors

On Sat, Sep 9, 2023 at 2:30 AM John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>> wrote:
Hi Paul,

https://github.com/lake-wg/edhoc/pull/442<https://protect2.fireeye.com/v1/url?k=31323334-501cfaf3-313273af-454445554331-8503a20fe11575b8&q=1&e=adbcd16f-7172-4a15-a7d2-2b3560914e58&u=https%3A%2F%2Fgithub.com%2Flake-wg%2Fedhoc%2Fpull%2F442>

Is a PR to the traces draft with invalid test vectors. The work before focused more or less only on valid test vectors. I wish we had looked at this earlier, but I think it very good that we did now.

For the traces draft, just submit a new draft please. It has not yet entered the RFC Editor queue.

https://github.com/lake-wg/edhoc/pull/446<https://protect2.fireeye.com/v1/url?k=31323334-501cfaf3-313273af-454445554331-428ad5d0452896f6&q=1&e=adbcd16f-7172-4a15-a7d2-2b3560914e58&u=https%3A%2F%2Fgithub.com%2Flake-wg%2Fedhoc%2Fpull%2F446>

Is my collection of things that are not optimal in the EDHOC draft. These were found during the work on invalid traces. The PR contains two things:

1. Sender side and wire format: Minor clarifications and corrections on encoding. These are editorial thing that I intend to bring up in my AUTH48 review. I just did this part of my AUTH48 review early.

2. Receiver side: Some suggested changes to what a receiver does with various types of invalid encoding. This would involve changes to RFC2119 words and therefore goes beyond clarification and corrections and I therefore send it to the WG. I think the topic of what to do with different types of invalid messages was ignored a bit. These changes do not change the requirements on the sender or the wire format at all.

Please send an email with instructions to the RFC Editor (rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>) now, and CC: me (as AD). Please do not wait for AUTH48.

 I think the current text on when to abort invalid messages is not optimal. On the otherhand it is things that are 100% in the receiver implementations and does not affect the sender or the wire format. While changes would be good it is not 100% essential, a receiver implementation can do this anyway. I don't know what "pause the publication process" would mean. These changes would clearly need consensus in the WG, but I don’t know what the exact process would be. I assume that is partly up to the AD.

Create a PR, notify the list. Then after a few days send email to the RFC Editor and CC: me (as AD). I guess these two requests to the RFC Editor should be folded into one request though.

Paul



Cheers,
John
From: Lake <lake-bounces@ietf.org<mailto:lake-bounces@ietf.org>> on behalf of Paul Wouters <paul.wouters=40aiven.io@dmarc.ietf.org<mailto:40aiven.io@dmarc.ietf.org>>
Date: Friday, 8 September 2023 at 15:59
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>>
Cc: lake@ietf.org<mailto:lake@ietf.org> <lake@ietf.org<mailto:lake@ietf.org>>
Subject: Re: [Lake] PRs on encoding clarification and invalid test vectors
On Sep 8, 2023, at 04:52, John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>> wrote:


The plan is to:
- include the traces PR in the next version of the draft.
- include the EDHOC PR duing AUTH48.

No PRs should be merged during AUTH48.

Are you talking about the edhoc draft or the edhoc-traces draft ?

We can pause the publication process if needed.

Paul