Re: [core] ALPN "coap" for DTLS

Christian Amsüss <christian@amsuess.com> Fri, 23 February 2024 16:25 UTC

Return-Path: <christian@amsuess.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6DBDDC151542 for <core@ietfa.amsl.com>; Fri, 23 Feb 2024 08:25:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
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 m-_lwvfEPQoP for <core@ietfa.amsl.com>; Fri, 23 Feb 2024 08:25:36 -0800 (PST)
Received: from smtp.akis.at (smtp.akis.at [IPv6:2a02:b18:500:a515::f455]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4A2AC14F73E for <core@ietf.org>; Fri, 23 Feb 2024 08:25:34 -0800 (PST)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by smtp.akis.at (8.17.1/8.17.1) with ESMTPS id 41NGPVrq056236 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 23 Feb 2024 17:25:31 +0100 (CET) (envelope-from christian@amsuess.com)
X-Authentication-Warning: smtp.akis.at: Host 095129206250.cust.akis.net [95.129.206.250] claimed to be poseidon-mailhub.amsuess.com
Received: from poseidon-mailbox.amsuess.com (hermes.lan [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 765BC33EA8; Fri, 23 Feb 2024 17:25:30 +0100 (CET)
Received: from hephaistos.amsuess.com (unknown [IPv6:2a02:61:a2::907]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 1BE543101F; Fri, 23 Feb 2024 17:25:30 +0100 (CET)
Received: (nullmailer pid 20418 invoked by uid 1000); Fri, 23 Feb 2024 16:25:29 -0000
Date: Fri, 23 Feb 2024 17:25:29 +0100
From: Christian Amsüss <christian@amsuess.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: core@ietf.org
Message-ID: <ZdjG-UyWlHJC3cux@hephaistos.amsuess.com>
References: <ZCAdXXuvkqmn5eFB@hephaistos.amsuess.com> <Zdi1DaM64AwO6BaV@hephaistos.amsuess.com> <14683.1708704714@obiwan.sandelman.ca>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="LAdcyRDDqUb9pt9b"
Content-Disposition: inline
In-Reply-To: <14683.1708704714@obiwan.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/yKkgBu2mttEzOu9rZMJmuK0tM_0>
Subject: Re: [core] ALPN "coap" for DTLS
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Feb 2024 16:25:37 -0000

On Fri, Feb 23, 2024 at 11:11:54AM -0500, Michael Richardson wrote:
> Will this apply to RFC9148, and therefore to draft-ietf-anima-constrained-voucher
> (which is no longer about vouchers, but about CoAP)?

I think so; any application using CoAP-over-DTLS will have the tools to
talk about the protocol it is using inside DTLS once this is registered
-- especially in the context of protocol discovery. 7252 did not mandate
sending an ALPN (how could it, predating them), and that doesn't changed
by having the value registered.

As constrained-voucher already specifies details about how DTLS is set
up, it may opt to prescribe using the ALPN, but I don't know whether
that'd be a good or bad thing or compatible or incompatible thing.

Does that work for you?

Christian

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom