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

John Mattsson <john.mattsson@ericsson.com> Sat, 09 September 2023 06:30 UTC

Return-Path: <john.mattsson@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 A22D5C14CE33 for <lake@ietfa.amsl.com>; Fri, 8 Sep 2023 23:30:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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, 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=unavailable 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 9F0AgdjFxC85 for <lake@ietfa.amsl.com>; Fri, 8 Sep 2023 23:30:08 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2087.outbound.protection.outlook.com [40.107.8.87]) (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 D78E7C151542 for <lake@ietf.org>; Fri, 8 Sep 2023 23:30:07 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XQP6ZQEW1wTnTbsTFLLT7v5TOGo6V9YtF6DacYdn/zkCPhzekkSq4qG5f0k4TMiZzSs2VfSp4PyLb7VmpS16xcKXZpPJ3W+sdzCmDTrWdRCeYyf052owMSrcZKbW+dJrK8X9UeUrR214FXXwSxUKg30UbG+fyjHqsRUK/Z/Pmb//inaTr+gXMpUj31raFuVjpsLxgOPDrmEwhqa5Nf+uhXkLgwQt0jSHQJ//Qgt1RtQRoB3+LzffKEFsmwclUkbhCeKi4NKrjPiqTtahfEcED/5RIZ64z4RUuEHJsNIjJvpZ+ftzCGOE5BUQjN4xEnHo3U/l2ZrCNpesze2e0V25Tg==
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=iLvT4llr/tXj9vRvYrS9jx7znzFeT5ql6SlBZ8g0DO8=; b=Qye2UJja6a9z7kweurXFqXbBsz964aMCNbwSBtRaWZyPRq1xYTJuPpHlCwkbqTDCrqVah6GoYdYFbKPyHot3xR0eON57MSNPllXU+pwFGHZKN2kKdzzRcuFdvhZnxExhiOjlskx/aCkXjwBs2H2o7Vl0TdkBA90mh+QXANGtBVzY+sDoeKe4NRKlus0Sr1fvcCoppWcSDAkiVqUALJzoz/PJ3YADMXyftbOwiBtxCZ8uTRRZqkOotCKtEG+tehNaK4DT6n2slc1M9lpGSzLuA/ScntgYG4IE4cZ86OfJ76OLeG9u+yWQ9BHuunL8e3JoIi56gje/GJjY/TMZmuMtjg==
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=iLvT4llr/tXj9vRvYrS9jx7znzFeT5ql6SlBZ8g0DO8=; b=mwv0l4QTnUGJsO2hkx6qrRnvXQOi7TlXHSD7xZ604vr83eOqBFH8md4NVi6tTRkGdWSaDulT600qmvI/1NMANgWm4Z6GL36zCMlRLm16lP0VaabirT47AxKb0EPAHYIbw/kNj1DXZeK1zrJabUr91gDKcckhabv/hKqDLPghp3A=
Received: from GVXPR07MB9678.eurprd07.prod.outlook.com (2603:10a6:150:114::10) by AS8PR07MB7526.eurprd07.prod.outlook.com (2603:10a6:20b:2a6::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.31; Sat, 9 Sep 2023 06:30:04 +0000
Received: from GVXPR07MB9678.eurprd07.prod.outlook.com ([fe80::cf5e:848b:9613:bfd]) by GVXPR07MB9678.eurprd07.prod.outlook.com ([fe80::cf5e:848b:9613:bfd%7]) with mapi id 15.20.6745.034; Sat, 9 Sep 2023 06:30:04 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: Paul Wouters <paul.wouters=40aiven.io@dmarc.ietf.org>, John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
CC: "lake@ietf.org" <lake@ietf.org>
Thread-Topic: [Lake] PRs on encoding clarification and invalid test vectors
Thread-Index: AQHZ4i0ljlAen5sWNkS9IwAH8RL0ObAQ9GmAgAEFsjM=
Date: Sat, 09 Sep 2023 06:30:04 +0000
Message-ID: <GVXPR07MB96788761EDD4677114AF6D7989ECA@GVXPR07MB9678.eurprd07.prod.outlook.com>
References: <GVXPR07MB9678CD3AA66FB02D6969993389EDA@GVXPR07MB9678.eurprd07.prod.outlook.com> <97DE3D72-EA2F-4085-81C9-E7DFA083FBDE@aiven.io>
In-Reply-To: <97DE3D72-EA2F-4085-81C9-E7DFA083FBDE@aiven.io>
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: GVXPR07MB9678:EE_|AS8PR07MB7526:EE_
x-ms-office365-filtering-correlation-id: 59ec165d-d0c5-4603-7009-08dbb0fe33df
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: lI2KGiUXdraJDpK+Hgbg/3Zx8bu9k+KsG4mFGxNmMTDAQKpZa2tNbRWpTvg/Q6rZ0k6a8AUSY5nxgkYLcQgbLWrXt2XT7zP+BrpA1DLwTzQzIoWdixRdoO5c1RtA0mYN9JwRXsIH2f60CEwMcTaLYMVJzmGL510l/c+IDs/oUIqdXUkwESN/dXPVh0VjTlgELN5NQgbWFUl8FP3X15Gb9dwMTx/CVi0ogQiSMB3A7VUkskoStUHG+t0CmPXxVyEftu3bBdYc++rlnL2uWCjZc8sYSHUB7xjk55B2tILoz5Ed0WzBSvuKx1tMGATb+9czsB5RisUklRaEC4YhEn29Zg4vAlSA2nnB0k9aoI98FRVNu2/kAYStzSEqDioHk1/q7vC6dD8Woure+dLjMvUuQ/zvBg8scrURDk9HkI1+Swi6bXsQf4xn5j0NhwTsl1O8uGz0Y/XljxEDOh0n5w8xsqNBJHNwBjCmQzGo4S1Vug5hdaqX2MvEZclZBQhlII06KS/MeIcjEKjUwlsSR0/Nj/ZrZsiyU1Pss7hvvkKUc9HKFdOg6bvJ8WccTIzR9gUwV1YVbqpm334xFNT3YWytezkaVTGSKXBvzOF0VA7QLlOJvhkmfQ1M36fkgrr9WA4bNU1n3RgWSq8n6ROFL8Nmn9sM7CN3gRuwLGQL67aDveta7rRIkDhb/zB4cpTfpslw
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVXPR07MB9678.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(136003)(376002)(39860400002)(366004)(396003)(1800799009)(451199024)(186009)(83380400001)(53546011)(38070700005)(71200400001)(38100700002)(5660300002)(44832011)(33656002)(2906002)(86362001)(52536014)(26005)(66556008)(316002)(66946007)(64756008)(76116006)(4326008)(66476007)(110136005)(9686003)(66446008)(82960400001)(55016003)(478600001)(122000001)(6506007)(7696005)(966005)(8936002)(41300700001)(8676002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: xsxCgPsCDpfvCLy/Ra3cSKC3nAKlosRS4mULF55OtArxch2i/UIMQbouBpX3+gSFHEXmy4BD/4rkU6s7AmZOw0Km8tSOA2dlM1oEjKxkwhL7FmsxK5aaP4QybM839niYdpu691WrcYP8VxTUlJ7JU/HIxXIch9XcmM6JMLxng329CZxwdDMARk8F0ydi/sAYsHdUcuoqIYyVyg1xAG8BjtxMYf4pI2kFyJEpDbCcgcsKmNhfJIzRYzeUbAK0gpvnfmHQlP2oir73cNWzEaqhvF6GxrnwjqD/7lWbfdQoXooWPnK0rL+X4aUiZ4FAu49A8+zxvhmuKaASB2Q/u2Zbd+hQ9PzwqHE/X/AFQNU73AQfdSoSjACjiKcwaghEdZ1n5ry1OogQ9SuPFHNeKCPGuNJ+NXC2WO/kwAdvihe/NkIswDSQzl3w9+vPXVGreeHU1WPpP2S92rKWF1IUvvBUGgW0I4w8ttXPa5geXJpwuHFQep2Px1dKtBaYKUTNXFapkDlv/vQs9HU3aU7cuhzTiLIpoNPOi8+6SKSYlTQwx0tqCQY9/2xqAgEgFLDSpqTz5v7LUIdRHmd1/bX2V8aHq8EejTf1CZ0rZt7e9fd3tZE/0cgV356VjHDTgJFXvipOXDdk6kwaV/Lmyoyyf+tTnloL1ZSZoRl41JBst5wH1IakpTSW9aOsF3u7PWpHahejlqT0j/momQfHPumUfF46ELT/ey3K6BHrzMJhdOKEWqR5q4nJS28zLnGimh+8/zCGWKdzuaFcfySnQALJ0n+RImsqHp/AluztLV7LWQVm+HBaEuMjqrvqlhEU1sQxYC7c2VQsb42kKgUHJky0yPHQd+kI7gXC9NlEtLr11cui2Ec4m7BzCtymbDstobl/71jqXNe3IK0ZDjYX00w4DCBHJBswbvU4ORk5j1noNJA/HN+NXVknzJb+SaZBxCj9Twhuaqrj72Eq2vu2sgbAh341+Mm7T8xqej+5yt9efa/LzmMKUyaSuSAo7FKVeNwr1gRfz3pzX/YRLHAJSr8h7VgqhFu/KQmB9IbzyJKPhCSO/vODllR/cXPV2qVtLaBFKx9f3bGn7mmcJ0pJYb+Hicwila2OMmxd6Hos+RkjOQRtZxFo7xnsZLy6r6MHJyQ75kGhBTyfYELCPSwvGuUS+pKnDSWdAJMGh2nRbrdYCpPgVsSxsWDja4C+JHyESBzQosKA3jUno4yC3yF5sXu0OG5+B4SWC3wfTX6gcj0klWlTV9rwvv0QOpXCh94d+P7JTpQ+Uk3LmMFmEzMaXr2eBEeoWictu3pDXkzg4PSDQ3drvtgqSBgFVuVwb6BwNfkMGa6+LgOvyIf1oOSbWwd002WAfyyJyhAITcqaZyTdyfnd7PjU+a9oWQYd8VZS3Yy3EatkvbLocJreiX6FPwR3gKAbpGmhk7MD5sN971PJC4UUlJ3K+y0NPd8oGnFqm0PkvyAjfPG7RzpZPt6jF3VACCEak9TnkO9i0CCDs1QQD8LEgEpZOTUZjKmlVbn6P6AZ579ClyfWg3egjjDQRYwLVVLp8zZQguL7KOb7Ded1yKiZg5gCsnW0dbmpHzhUInFI1XZQfQUIdhD9fbQg0ln9vWdqA1R2IMF20a2okxxOcU91g6c=
Content-Type: multipart/alternative; boundary="_000_GVXPR07MB96788761EDD4677114AF6D7989ECAGVXPR07MB9678eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: GVXPR07MB9678.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 59ec165d-d0c5-4603-7009-08dbb0fe33df
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2023 06:30:04.1363 (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: kMSbacHBksrFyHSMYTQN1HyeI3C5t6xsk/BUlCgeXqsjJz0eICDnc7JqDK3xzUM2vJw3yAcOZKnC+7Vod7w/jOAwIWKDa3V8JTmdbzkYsEU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7526
Archived-At: <https://mailarchive.ietf.org/arch/msg/lake/_NU-Yu7Qj_wKHXYrwFu7noy0PF8>
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: Sat, 09 Sep 2023 06:30:12 -0000

Hi Paul,

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

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.


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

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.

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.

Cheers,
John

From: Lake <lake-bounces@ietf.org> on behalf of Paul Wouters <paul.wouters=40aiven.io@dmarc.ietf.org>
Date: Friday, 8 September 2023 at 15:59
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
Cc: lake@ietf.org <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> 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