Re: [Emu] New Version Notification for draft-janfred-eap-fido-02.txt

Alexander Clouter <alex+ietf@coremem.com> Tue, 05 March 2024 08:56 UTC

Return-Path: <alex+ietf@coremem.com>
X-Original-To: emu@ietfa.amsl.com
Delivered-To: emu@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DEBDC14E513 for <emu@ietfa.amsl.com>; Tue, 5 Mar 2024 00:56:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.807
X-Spam-Level:
X-Spam-Status: No, score=-2.807 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (2048-bit key) header.d=coremem.com header.b="n5hHyE/s"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="BagQc8dD"
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 g7kXxsrpQz1d for <emu@ietfa.amsl.com>; Tue, 5 Mar 2024 00:56:16 -0800 (PST)
Received: from wfout6-smtp.messagingengine.com (wfout6-smtp.messagingengine.com [64.147.123.149]) (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 7E3F3C14F689 for <emu@ietf.org>; Tue, 5 Mar 2024 00:56:16 -0800 (PST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.west.internal (Postfix) with ESMTP id 77FD21C00094; Tue, 5 Mar 2024 03:56:13 -0500 (EST)
Received: from imap46 ([10.202.2.96]) by compute3.internal (MEProxy); Tue, 05 Mar 2024 03:56:13 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coremem.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1709628973; x=1709715373; bh=OOwZUfIdA1 sdBf1yDuvUVgSkh29hGGEfqXI4S9jOEqE=; b=n5hHyE/soFRtoPd1SZDeX8ei3A iHtvoXGKKGevGXyDE4opI9CQv+hhf2cZyP2wn7Fz6dAP7gKu2LiE30ksNnvekPcX B7CQEjrRYSiHW8O/MDFD6OICnnx1UuBZZXx+IhFU9OipkX8iQDuzbnRpIjLXykN0 MTWW9ERBTalWkWmLtb/BhrBXVNTKVwfP0jzKJSLth3wCwBKXbv0Qh9s6ijxTxvO9 Xm4UZAkcOWMZ+58AKsyq9n9cN26lLV8n49rplC+iUYEvbf3/J/7GVUBNiXL+XnDJ xFSE99DoPcFaD6nM4H4go18wzvMqRL2sjgsK5Lq3A4aQsDmc4Gzmt8/MPiTw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1709628973; x=1709715373; bh=OOwZUfIdA1sdBf1yDuvUVgSkh29h GGEfqXI4S9jOEqE=; b=BagQc8dDiLJjmp/OivDTof7yVTBbuLQq63CthXib2ALS jyQC7N79nq49PtfmQD88uQzkw/t2pgVm2thKYRpD2sQc7vVCOCOBHakRLDSeA7QN EQ8f8w57F+fAyJ7ceRAAwkvJbLZNn4IDF2OI+28iXTzLeNko5Bl9CDzTmWiyVniV eJt8q8sXr46Un9w86VJba7UQbBUVa0Me8LU0bpnFptWvaq6wzja6D7QeqrruIM/0 na1184ixxgyPbR/A36P40sLgg+7n4PHlH1MqPsfI51tyIiPor+L/3KdrqL1mypeK r48Pep0kzRttaSspfvRfcMyb2L1L/9hkAgdQpqzcQQ==
X-ME-Sender: <xms:LN7mZdWvDng-908Ahyb5_r17cXQ4rXxQuwn7nAxvJL-E3gPKOMFrfw> <xme:LN7mZdlXjGbWbKvkCDXUkZpAf-2rm_fKEKc4PYr48B2yztNAVV8rtsOmeu1K7sUH4 sduv9fIVaf1jlDMSQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrheekgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehl vgigrghnuggvrhcuvehlohhuthgvrhdfuceorghlvgigodhivghtfhestghorhgvmhgvmh drtghomheqnecuggftrfgrthhtvghrnhepveegheejueevkeevvdfhheeuudefheegudeu tdelleeiteehgeffieettddugfdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomheprghlvgigodhivghtfhestghorhgvmhgvmhdrtghomh
X-ME-Proxy: <xmx:LN7mZZa1GuLPtcqIMV9uHtWkv49Xd1o7GqGB2erO6zEVdrU7QM27_A> <xmx:LN7mZQWBrwMBx6blSDYey_jiH_wL9rfKj95fv97a4XKAJETujtkNjQ> <xmx:LN7mZXkxhMJLjhVkQFA4PgwTIaAa99suJ_vIbQRwIBk0IwY-uwjGyw> <xmx:Ld7mZcyUDDjQEpiAtnBV4ooko35Et-d39aR2ica0Gw-sOjGwD3OyKoQmS5c>
Feedback-ID: ie3614602:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id A80A82A2008B; Tue, 5 Mar 2024 03:56:12 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.11.0-alpha0-208-g3f1d79aedb-fm-20240301.002-g3f1d79ae
MIME-Version: 1.0
Message-Id: <bf52a9e3-bcf9-4e69-962d-42b6bb975142@app.fastmail.com>
In-Reply-To: <2A73CDC3-9D44-433B-8948-405917CA69F0@deployingradius.com>
References: <170932527085.22824.18343512124707075119@ietfa.amsl.com> <66bca1b2-4b2d-429d-8f85-5c76d29005ad@dfn.de> <c2951f3d-bcc7-4b90-bcdd-077a506dd464@app.fastmail.com> <5e5f794d-a260-4fc4-b4c0-fbe13ed54691@dfn.de> <2A73CDC3-9D44-433B-8948-405917CA69F0@deployingradius.com>
Date: Tue, 05 Mar 2024 08:55:52 +0000
From: Alexander Clouter <alex+ietf@coremem.com>
To: Alan DeKok <aland@deployingradius.com>, Jan-Frederik Rieckers <rieckers@dfn.de>
Cc: EMU WG <emu@ietf.org>
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/KEnKY0GQvnKRMag-hRkB29ZmpCY>
Subject: Re: [Emu] New Version Notification for draft-janfred-eap-fido-02.txt
X-BeenThere: emu@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "EAP Methods Update \(EMU\)" <emu.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emu>, <mailto:emu-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emu/>
List-Post: <mailto:emu@ietf.org>
List-Help: <mailto:emu-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emu>, <mailto:emu-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Mar 2024 08:56:21 -0000

On Mon, 4 Mar 2024, at 19:11, Alan DeKok wrote:
>   The downside is that CBOR is likely more expressive than TLVs, and 
> perhaps what people should be moving towards.  There's no reason to 
> stick with TLVs simply because we've been using them for years.  It's 
> 2024, new technologies exist.

The problem is the framing does not use any of the expressive parts of CBOR. So this is not really relevant here.

>> (I'm not fixed on using CBOR for the message format, but since CTAP2 also uses CBOR at least the client needs to have a CBOR library anyway.)
>
>   I think tho that the EAP implementations don't need to implement CBOR 
> in order to do CTAP2, right?  They just hand the data to another 
> library, and it does the work.

My understanding here is that the document as it is requires a CBOR serialiser, even if you then intend to just  those opaque materials to a CTAP2 library; this is why a CBOR framing description is in the document. Right?

Using an entire serialiser to support only a map carrying attributes with 1->3 *predetermined* keys seems a bit of a cannon to deal with a mosquito solution as they go. As a hypothetical, would people have a stronger opinion here if CBOR was swapped for protocol buffers or ASN.1 in the document?

EAP-EDHOC on the other hand (which uses CBOR/COSE) allows an EAP implementation to readily extract the components of EDHOC without having to understand how to serialise EDHOC; enabling straight forward outsourcing to a library.

Cheers