[Ace] ace-coap-est-08: using /skg with Accept Option set to TBD287

Esko Dijk <esko.dijk@iotconsultancy.nl> Tue, 12 February 2019 15:02 UTC

Return-Path: <esko.dijk@iotconsultancy.nl>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE9871200B3 for <ace@ietfa.amsl.com>; Tue, 12 Feb 2019 07:02:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=iotconsultancynl.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 YT53Ak_FcXsQ for <ace@ietfa.amsl.com>; Tue, 12 Feb 2019 07:02:39 -0800 (PST)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00100.outbound.protection.outlook.com [40.107.0.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3EC2112426A for <ace@ietf.org>; Tue, 12 Feb 2019 07:02:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iotconsultancynl.onmicrosoft.com; s=selector1-iotconsultancy-nl; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BX7MSGAMrYLzrNEfW6G2/nnSDqX0T73GYZJzPCdFDIg=; b=H5Gk/sBSUPyjohRa/dlK3vRUljB1T3CtjxyVpngZFZq4MwNIrlufsQ/B1zZjvNiFm18UPhft42UORejLORVPFNblxy/hJLrlCC7vV94kCZWH3JpHF9PRqJHi4yR9UztqZZI8P9oCt2tiMlMIgibrg9yobqyQwqv9MsWQKX3AS9Y=
Received: from DB6P190MB0054.EURP190.PROD.OUTLOOK.COM (10.172.229.12) by DB6P190MB0022.EURP190.PROD.OUTLOOK.COM (10.172.228.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.17; Tue, 12 Feb 2019 15:02:35 +0000
Received: from DB6P190MB0054.EURP190.PROD.OUTLOOK.COM ([fe80::2d19:ef79:d153:7627]) by DB6P190MB0054.EURP190.PROD.OUTLOOK.COM ([fe80::2d19:ef79:d153:7627%6]) with mapi id 15.20.1601.023; Tue, 12 Feb 2019 15:02:35 +0000
From: Esko Dijk <esko.dijk@iotconsultancy.nl>
To: "ace@ietf.org" <ace@ietf.org>
Thread-Topic: ace-coap-est-08: using /skg with Accept Option set to TBD287
Thread-Index: AdTC4NsGsEh+3phhQKaxfGxN5m15Ww==
Date: Tue, 12 Feb 2019 15:02:34 +0000
Message-ID: <DB6P190MB0054313C1BA6E125FA07813BFD650@DB6P190MB0054.EURP190.PROD.OUTLOOK.COM>
Accept-Language: en-US, nl-NL
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=esko.dijk@iotconsultancy.nl;
x-originating-ip: [2001:1c02:3101:4800:acb8:6746:1895:85d9]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB6P190MB0022; 6:QbVfAoJEIHKZ2lJZJKCwuviHbU2R4M6R/b8wCiSbptOEFAREoWn1/DAN9FuhO/ns3j0yEHcOCfulYjgvWJXwA0jZNQFNc0H88om/FNjNp91EHLPF3SjJdKVGxEKQLkv7/WaeA2ZBAm1ohs3UyLAoL6p6I2teR1sr7EYYVg7af0zWDWJAp6awV/eLeA8Dr43I00bVu0K7jDN4o1xbboSpnroVaFtnCO0z/IydAABsMk911wd3e5ya6gFYpPgfRUpE86I7e3lpEe+3L+vMR8MtXuahRub0SaTqY5maek0N7nDRw2QGjGIeApyrumHx/oTHw8w23Gy7LJzY4dmZdOdTOGKI7gYZ+BIEBQsnMkIbS0g9oEiREFOWyIjc+vxSstrzutptRmTXF8eV94oEIHkelH3r+zq0uvjgL5kjJrm+D0rWTxS/74rKl1UXnzZERreOLl//Y0cOuoJJuUG+I/eoAQ==; 5:sVxBhjulQhQbyVILmVyoeqCRK2xX4LD9vyEHeR7ptTtOEK57f9jhvJYI4LAihepbuK0szZx0BQ897pAbX8Upu63bphdpY6pgMxAAPPA1FmmbtTPmSYDrGWD34xGhGQMIo1KcoIBUSoXKTmAps3PpZjAtLOkgi4oqxqXFt4dbc3CUFHvSnjApcZEyeyEhtt1oOiUQfMAklysPEJ8rFfnhlg==; 7:QC8WLFRvdA/uFz/hSD8ner+mm9qsTVRRqrD8dN5SNqmur6+lmQvcQSM0P5/XbY+ivvzJyyQxTEyEsKwmz/Co2z/L128eaFjLQFSbF7y+KyKCft9q5K4eOjj8h0ZyWREJWHo8fkaFy3g/OfcUsS4oLA==
x-ms-office365-filtering-correlation-id: 62d0ae06-9469-4fc0-94be-08d690fb1ef9
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:DB6P190MB0022;
x-ms-traffictypediagnostic: DB6P190MB0022:
x-microsoft-antispam-prvs: <DB6P190MB00227993A03341F72CC9EC83FD650@DB6P190MB0022.EURP190.PROD.OUTLOOK.COM>
x-forefront-prvs: 0946DC87A1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39830400003)(136003)(346002)(376002)(396003)(366004)(199004)(189003)(6436002)(236005)(14444005)(9686003)(68736007)(55016002)(256004)(7696005)(6916009)(33656002)(8936002)(5640700003)(99286004)(508600001)(6306002)(54896002)(71190400001)(71200400001)(53936002)(14454004)(46003)(44832011)(2501003)(106356001)(486006)(476003)(790700001)(6116002)(102836004)(105586002)(1730700003)(81166006)(81156014)(316002)(2906002)(186003)(2351001)(7736002)(97736004)(25786009)(8676002)(74316002)(86362001)(6506007)(74482002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6P190MB0022; H:DB6P190MB0054.EURP190.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: iotconsultancy.nl does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: mbOdZ1cuHP6ntoA8/IrkSMYX4g+ArsDmbPHvwySwTanlM0mEjTkYDdDOdZnGPvSmf0DjO/D3sMFJj97jmNcXYLoJRkibsucK3s95j0HjBmgsvJ+hLpBAoacTeQCC/k8PBxj+F7SCacnaLFovcskrYtHUor4gHYhqP5yAv1Ice3HxcdJxYCyIYE1Znl2pCe1t8sKWSXyUG6cc7YRE4Rqazc6hJQZPaYCgbjil9uFvaPwU6OypfCeBI8vTAxzSlOucsbe34KnuGcZ0K8dY7DsC1WCaTVHqDgxMezTklTeoFdFN5P2MG+R/hQrS51ljt7zEZcdRMZ4P4yAOKRyt/NCo0iC/aVxmiSDpqsBmlS/y+RopTGQajYCfteJKCrJqqN67egVkjfQ6OjYT0pbJnGczSNXC1Y84cHrxNX0RCce+uKo=
Content-Type: multipart/alternative; boundary="_000_DB6P190MB0054313C1BA6E125FA07813BFD650DB6P190MB0054EURP_"
MIME-Version: 1.0
X-OriginatorOrg: iotconsultancy.nl
X-MS-Exchange-CrossTenant-Network-Message-Id: 62d0ae06-9469-4fc0-94be-08d690fb1ef9
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Feb 2019 15:02:34.7175 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 58bbf628-15d2-46bc-820b-863b6774d44b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6P190MB0022
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/shxq016RjGVjxz6QrqM-7hv4v94>
Subject: [Ace] ace-coap-est-08: using /skg with Accept Option set to TBD287
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Feb 2019 15:02:47 -0000

Dear authors & WG,

A question on the new -08 text regarding the /skg response:  the text indicates the following request & response

Client:
  POST /.well-known/est/skg
    Accept: TBD287
    Content-Format: 286

Server:
  2.04
  Content-Format: 62

So the client asks for 286, but gets 62 (which has 286 embedded in it as one of the parts). At first sight this appears incompatible with CoAP RFC7252 logic.
A strict server implementation might return 4.06 Not Acceptable since the server code has registered the response type to be 62; and the client asks something different.

Maybe the draft-ietf-core-multipart-ct should extend the semantics of “Accept” to cover this case?

(Or would we rather fall back to returning PKCS#7 always, within the multipart content.
It would be possible to define a /skg2 URI that returns the other multipart format.
Or we could even define a new content format TBD which encodes a multipart type including a TBD287, so the client can use the Accept Option as normal to request the wanted multipart type.)

Regards
Esko

Esko Dijk IoT Consultancy |  Email/Skype: esko.dijk@iotconsultancy.nl<mailto:esko.dijk@iotconsultancy.nl>