[Lake] Error message => Discontinue #208

John Mattsson <john.mattsson@ericsson.com> Mon, 24 January 2022 12:08 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 4EF683A11DC for <lake@ietfa.amsl.com>; Mon, 24 Jan 2022 04:08:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.676
X-Spam-Level:
X-Spam-Status: No, score=-2.676 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.576, 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, 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=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 HUyVrnjqrwEz for <lake@ietfa.amsl.com>; Mon, 24 Jan 2022 04:08:46 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2082.outbound.protection.outlook.com [40.107.20.82]) (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 4D1EB3A11BC for <lake@ietf.org>; Mon, 24 Jan 2022 04:08:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UZxjtL0tlHWwiBi9qLO0+dnu8DR9+ldrOLHCHxYfUQnKkspOa4YD1wC+5WmtpjDwItU6OGxG/1InhQurVZznY2AD6IfGJftAL2d6stD+F//zFxqis/Y3D9F8zxJluPoI1YgpGKWHZZL9MRtoW2ipouXMLozGRwigqElBTjLSDj0LaiZBGYJvDycTRvvKfW8xLhqpiV0iSr1k4U3mT1GxRb1c0rTQdn0aMKeuRCAUUYbsDQXoKDNWPhAb4KwgepX4FwhXk0ZQE8JFJUHeAyfZ+8no2uSFNz9z0C7k9uvJfbsir5JEYXL0IeBlR8mT1L6N7aozzLTOOYUZXVRnpbEoVA==
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=rU6EQUf0IBt8s+MSoBl5ylG5gNYX/EEQf18ESYSoctc=; b=m6gUxnKQLTyVe8ooPAiNtUXJm36Y+f+PZ6glnTzZCXa2NlKyel5Jf8C8mbI+10ylOd6oBp+EYO1fJWUcCAH9REW7mLnnMen/ZsknhutLIVs7rYoiHtS11nH6tSTwHNG+Ps12UrJcxgeNpyXk6Uvvx5BK6kyMYgRaI59K5IYR2Q2M42D1DvWmEPn/3W+7WJvEZf28owd/lj9QVSTN/XAbX87pio0G2ceEZI9eP9EwZLJ/dmc0vyyVx94O+BAa83SjPSH/8tBK2//dEnTu6OoIUWBIjqGNTqzEc0z4gO8Rd4gsR6EK4KA9y8mSwly2vv+dR6Wmpe8c0N+e4bwv6hrfkg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=rU6EQUf0IBt8s+MSoBl5ylG5gNYX/EEQf18ESYSoctc=; b=fpnO5eImOKDxyQA24xurpjsK0Frk54Vyp65G4rzTxuy22pGPtzm6eaLRjeRdpofmlUBROzzqGiEAmFLEpmpdGW/gPrEWzRvXBuvCEQods+RhonIdSLQFkYZo6m4UOj9EPuGdTZ/qp+EwU+lx1ywdTbQxRGQ45Nc2TmvoLqH8xuM=
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com (2603:10a6:3:4b::8) by DB6PR07MB4438.eurprd07.prod.outlook.com (2603:10a6:6:52::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.6; Mon, 24 Jan 2022 12:08:43 +0000
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::ec63:344f:ebbc:a251]) by HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::ec63:344f:ebbc:a251%10]) with mapi id 15.20.4930.009; Mon, 24 Jan 2022 12:08:43 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: "lake@ietf.org" <lake@ietf.org>
Thread-Topic: Error message => Discontinue #208
Thread-Index: AQHYERrYsNJbfN5mFEi+baS1YUTLZQ==
Date: Mon, 24 Jan 2022 12:08:43 +0000
Message-ID: <HE1PR0701MB3050FC92A1A6983ABF6C9EA6895E9@HE1PR0701MB3050.eurprd07.prod.outlook.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-office365-filtering-correlation-id: 76c415b4-9eca-4c1a-5c27-08d9df324416
x-ms-traffictypediagnostic: DB6PR07MB4438:EE_
x-microsoft-antispam-prvs: <DB6PR07MB4438DB6C721DE2814F1D2DEC895E9@DB6PR07MB4438.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: k2T3xyU/RVxQqNBxatHk6UzdATf8rw88V4LNtfSAlq1NOh3dxqq5rUNjYskmykm5gL53fF523dF8ffUy7PEzzHHFzyJpNEam0GWxUrdrqWiGha87eX9OqbEgFG5oaMPGMfCzzBrBahRBHPKIuHM28X6u6g2GpO40e09EV9lWcSjilvnRJkJCHZLlF/5mZ3mqQKd+rJaBc/Hy9HfHhuKHC/STsm7t53yOOTYStto5k54WUtCkbIvfCx5xcWrOmRXv4vkPbNDogFyEE9QmOLda3/qS0QJ7TLA5kthLDAOuXGcGoY0Zfsv0IkaC52COa9E7VZ5275l9JMdm5ZTLiFhimoz0rIfUCmij3RNc7U9uFG0b7X2SvWJrgsiuyswETVH7qtjdi1oMcqfcbtKsE07AEJ6kU2q9/vgzV4RVtmMOiGCGmCKNskdycRvTIeV0gvXWetZUGkjNNHNWCH5wAN0kW/OpAQpItnJK5Ps6wjR13rqi1zVnrVkG578JeVY0Cy8OCPIGKvkhGzBGcQI9Lj1wpLquXZb0GXj3A4BZ8ySn/+t+Gyk0S19Csb1uba+XksY4JmocJqBD9mGCmd/jjGicUSEl39znU2IG8DBV+Wv9ilr6mOwdAJXft594IfwOZyHiZUELO98D3WaeVKyVzBWKRJP9jstXwBUcPz7REg80PXVNekmT9CjapjtKiczOOSR705AZAfX3lV1JvT9GndvJshNXDcYcjMBHt3gj7slH44dlSTtKqLH9KNh5lVkgMOGBBnO2yBuYArgPWeWenGJZujGhW0MVjFkKPfnrgyqDr2A=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0701MB3050.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(2906002)(82960400001)(55016003)(5660300002)(44832011)(38070700005)(15650500001)(91956017)(6916009)(122000001)(38100700002)(966005)(26005)(508600001)(316002)(76116006)(6506007)(9686003)(33656002)(52536014)(66446008)(66476007)(66556008)(64756008)(71200400001)(8936002)(8676002)(186003)(66946007)(86362001)(7696005)(83380400001)(20210929001); DIR:OUT; SFP:1101;
x-ms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LeiXHSmU29FKOSgA2lbSp+fLbKgjgAllAHnw57HbdMQ4VNAHEU8qIk13i7azZMYMGqrg1Ab7QumXC17Sw2AD447tq1ewF7B5+LMVnzBliJnmwO2gfL2yirhtmmsQ82btPzYHlA9OTaPH+05IiGsedraob/m1fAuxAZHlJbWylfN5Av6LZoNQG2OUw8I8y3z93SrmTrQUq1+lu4GQl71RRJGJz5qVLLxMiio7XNoBvzqOs0PzOFcqIdbVWLG9M/T1SurNk3L/2yrZU/DvnuFeKVUc98nkXFITmL6ZuZAfzvaXPeYPVMOZ3+WVCetqO6zsdpFrPIOgjEFbGnyhXtOZZ5kdbADakOlpLCAlZQ3Dimzh+MWS7VgZqg452fjURVm0eLv5xxwZ6c1rUwzHfJGTB5qMgisNAsfbSlDw88d+QCXzM+mb7GRLuvjYPLoTX5zrTFUD01k2rDCRQ670KZwWOUi/9ndiwxCPHHfURopkX2b12bLEnTWgoihUjaF2cCRGAVj5ejx5eOEdadR5a0D/wyTyoLRGGJ2ofc1xFDtgwOQgpm/aDNrHCePRmiIqOU9qfo8gcmKy6KWwKSEg/LFt+HY6Fn6maXcGKAm4ka1fRS3ujgZi1UThmemZ3ZpxiZ6lR7hi7fk9Q6lWIZUq6PslZmK4D8cLkJaaRyDnQ=
Content-Type: multipart/alternative; boundary="_000_HE1PR0701MB3050FC92A1A6983ABF6C9EA6895E9HE1PR0701MB3050_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB3050.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 76c415b4-9eca-4c1a-5c27-08d9df324416
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2022 12:08:43.2217 (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: IV3fLOCQiqvYuxGbtJg4lexP4HJWCZz0aOy45P/Qe/Uo8f5aHRwB9JwekdL4YDshcS0Eh+f3V7KWK91sanW6q2iuOx08qkxeBRho9vLcfo4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR07MB4438
Archived-At: <https://mailarchive.ietf.org/arch/msg/lake/ABtedw5eR2M66563D5qI0Op1Unc>
Subject: [Lake] Error message => Discontinue #208
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: Mon, 24 Jan 2022 12:08:58 -0000

Hi,

Issue #208 was opened based on two different review comments from
Marco and Sean on different aspects of error messages.

I have tried to address Marco's and Sean's comments in PR #234
https://github.com/lake-wg/edhoc/pull/234

While working on this I noticed than one cause for Marcos comment might be
that EDHOC only talkes about what HTTP and CoAP calls "client error",
i.e., there was something wrong in the received message.

HTTP and CoAP defines errrors into two classes "client error" (there is something
wrong with you) and "server error" (there is something wrong with me).

EDHOC does currently not follow this design and only has a single error

1 | tstr | Unspecified

Should EDHOC instead have have something like?

1 | tstr | Unspecified Initiator error
2 | tstr | Unspecified Responder error

or

1 | tstr | Unspecified Sender error
2 | tstr | Unspecified Reciever error

The choice would likely be whatever is easiest for an implementation.

I think we should discuss this. This type of high level classes was not discussed before. We only discussed what kind of detailed errors we should standardized and agreed on none.

Also is "Unspecified" a good name? The intention is that it is specified in the tstr.

Cheers,
John