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

Michael Richardson <mcr+ietf@sandelman.ca> Tue, 05 March 2024 19:14 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 53F2BC1516F8 for <emu@ietfa.amsl.com>; Tue, 5 Mar 2024 11:14:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.407
X-Spam-Level:
X-Spam-Status: No, score=-4.407 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_MED=-2.3, 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=sandelman.ca
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 Vb6fdyf7VeHT for <emu@ietfa.amsl.com>; Tue, 5 Mar 2024 11:14:48 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4CECBC14CE29 for <emu@ietf.org>; Tue, 5 Mar 2024 11:14:48 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 7B6FC38994; Tue, 5 Mar 2024 14:14:47 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U4e51ZwpPNI4; Tue, 5 Mar 2024 14:14:46 -0500 (EST)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id D27343898C; Tue, 5 Mar 2024 14:14:46 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1709666086; bh=ezRShm0ZbNdZLbloPjNDK2LKRVUDZquqqBlRfmJ9B+Q=; h=From:To:cc:Subject:In-Reply-To:References:Date:From; b=mQJmWr2Uo/bxxY0FtrLKvq1NWop9mWfYe+VQBnV5kUzreRrswiiPJ6dB4VVwGS/ZE 5UKcFvEHnUebT2oNMdN74A42ruhyjKnxLSeQMJ1Z1kUcKi23wnTlO8WWMoNj03zzwj sPideaBrMIlfRyWt8qZpL0GdQ2u17sPDrkA4jzuKUFcTF8jP/30N5X7uQRKBnUFYf8 KQB1eO6bmyq5jkK/6eeeX7tfb9UiRaStbaP6vgdoZ1dDL6oV+cQ9BqzmB+N5qjOymC uTjfxk2Hvn66raL7TDlUHgmX5dr/Gc/2LceBe36f7495qbgN+kZM6Eu2cQlN0drJWx IYVaiN2M2zVtg==
Received: from obiwan.sandelman.ca (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id CA697735; Tue, 5 Mar 2024 14:14:46 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Heikki Vatiainen <hvn@radiatorsoftware.com>
cc: EMU WG <emu@ietf.org>
In-Reply-To: <CAA7Lko8diwXstKPKb1++tkS58xYFmoHTbR__ndz77-DkJ227ZA@mail.gmail.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> <bf52a9e3-bcf9-4e69-962d-42b6bb975142@app.fastmail.com> <CAA7Lko8diwXstKPKb1++tkS58xYFmoHTbR__ndz77-DkJ227ZA@mail.gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.8+dev; GNU Emacs 28.2
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Tue, 05 Mar 2024 14:14:46 -0500
Message-ID: <6200.1709666086@obiwan.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/LxbRI2UOrr6LoDhBrDK18wOIjMI>
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 19:14:52 -0000

Heikki Vatiainen <hvn@radiatorsoftware.com> wrote:
    > I haven't worked with CBOR, but I'd be interested to know if, for
    > example, how careful we need to be with serialiser/deserialiser to
    > avoid problems similar to exponential expansions attacks [1], etc. TLVs

There are no entities like in XML, so that won't work.
CBOR now includes a "packed" format which is essentially a bespoke
compression system for CBOR, with the decompressor defined.
Encoders (compressors) can be as complicated as one likes.

The billion_laughts attack might be possible with packed CBOR, but as a CBOR
Protocol user, you would be justified if you just said, "no packed CBOR"


--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide