
From nobody Fri Oct  1 01:57:18 2021
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 175213A0931; Fri,  1 Oct 2021 01:57:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, NICE_REPLY_A=-0.001, SPF_HELO_NONE=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=isode.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 PS9Tdwt3TY1n; Fri,  1 Oct 2021 01:57:10 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id E83373A0414; Fri,  1 Oct 2021 01:57:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1633078628; d=isode.com; s=june2016; i=@isode.com; bh=QAL36pgrOeLjTxJ95MMMTFanvLs65CFzpqrU4rgxUL8=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=NoOgIWTA16C9ZX8HYvyKkq2Tyc+YiRtSw+b68rHjsVOo/hj5ZpCxtaa1BZ8wIe4tKkxtaW xMHNx74hvsfyZnYPYcXQ6RMWFj8RMa+iYI056byXfXyj/u05L9q8f34AJd3Kt5yz+eCfJY 5zYV1fr+AJsdNLo4xGFXFWu9oSkpTAY=;
Received: from [192.168.1.222] (host5-81-100-26.range5-81.btcentralplus.com [5.81.100.26])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <YVbNYwABR3sH@waldorf.isode.com>; Fri, 1 Oct 2021 09:57:07 +0100
To: Benjamin Kaduk <kaduk@mit.edu>, draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org
Cc: kitten@ietf.org
References: <20211001045330.GX98042@kduck.mit.edu>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <327a29ea-b384-8ba2-20d8-511b3071857a@isode.com>
Date: Fri, 1 Oct 2021 09:57:01 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
In-Reply-To: <20211001045330.GX98042@kduck.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/DYEK3iuBBKuau2htrr-ScfnKwvM>
Subject: Re: [kitten] AD review of draft-ietf-kitten-tls-channel-bindings-for-tls13-08
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2021 08:57:16 -0000

Hi Ben,

On 01/10/2021 05:53, Benjamin Kaduk wrote:

> Hi all,
>
> Nothing particularly earth-shattering here, but enough that we should
> put out a revised I-D before I initiate the IETF last-call.
>
> Though there's not currently a formal requirement (since the precise
> meaning and usage of the "updates" tag is not well defined), it's been
> the practice of recent IESGs to ask that documents provide a clear
> statement of the nature of any updates being made.  While we currently
> do this for the updates of RFCs 5801 and 5802, we're pretty silent about
> how we update RFCs 5929 and 8446.  I have a proposal for 8446 below
> (wrapped into another suggestion), and we can probably put a note
> somewhere that we update 5929 to provide a channel-binding for TLS that
> is compatible with TLS 1.3.
>
> Section 1
>
>     The "unique" channel binding types defined in [RFC5929] were found to
>     be vulnerable to the "triple handshake vulnerability"
>     [TRIPLE-HANDSHAKE] without the extended master secret extension
>     defined in [RFC7627].  Because of this they were not defined for TLS
>     1.3 (see [RFC8446] section C.5).  [...]
>
> I don't think this conveys quite the right reasoning for why the channel
> bindings were not updated in RFC 8446 directly.  In particular, TLS 1.3
> intrinsically uses the extended master secret mechanism of "hash the
> entire handshake transcript" and in that regard is not susceptible to
> triple-handshake type attacks.
>
> Peeking through the archives, it seems that
> https://mailarchive.ietf.org/arch/msg/tls/2XbkUZhdxwFXhLVTdE2C-UZGaO0/
> may have been the most recent discussion of tls-unique in the context of
> draft-ietf-tls-tls13 .  The note referenced in that email thread seems
> to be:
>
> % [Raw public keys or skipping certificate chain checking]
> % used alone is vulnerable to man-in-the-middle
> % attacks and therefore unsafe for general use.  However, it is also
> % possible to bind such connections to an external authentication
> % mechanism via out-of-band validation of the server's public key,
> % trust on first use, or channel bindings [RFC5929].  [[NOTE: TLS 1.3
> % needs a new channel binding definition that has not yet been
> % defined.]] If no such mechanism is used, then the connection has no
> % protection against active man-in-the-middle attack; applications MUST
> % NOT use TLS in such a way absent explicit configuration or a specific
> % application profile.
>
> So I would propose the following replacement text:
>
>     The "unique" channel binding types defined in [RFC5929] were found to
>     be vulnerable to the "triple handshake vulnerability"
>     [TRIPLE-HANDSHAKE] without the extended master secret extension
>     defined in [RFC7627].  While TLS 1.3 uses a complete transcript hash
>     akin to the extended master secret procedures, the safety of channel
>     bindings with TLS 1.3 was not analyzed as part of the core protocol
>     work, and so the specification of channel bindings for TLS 1.3 was
>     deferred.  [RFC8446] section C.5 notes the lack of a channel bindings
>     definition for TLS 1.3; as this document defines such channel
>     bindings, it accordingly updates [RFC8446] to note that the gap has
>     been filled.
>
> (Note that I also modified the final sentence to be able to explicitly
> note in what way we see this document as updating RFC 8446.)
I like your proposal.
> Section 3
>
>     Channel bindings do not leak secret information about the channel and
>     are considered public.  [...]
>
> In light of the way that
> https://datatracker.ietf.org/doc/html/rfc5929#section-10.2 frames its
> discussion of channel-bindings disclosure (and to some extent
> https://datatracker.ietf.org/doc/html/rfc5056#section-8 as well), I
> think that we might want to scope the statement to just "the channel
> bindings type defined in this document" and to frame the subsequent
> discussion as being that "disclosure of the channel binding data does
> not affect the security of the TLS channel.  To say that they are
> "considered public" might imply an intention to disclose, when it seems
> that the important point is only that disclosure or non-disclosure is
> irrelevant.  With those changes included, this might look something
> like:
>
>    The channel binding type defined in this document is constructed so
>    that disclosure of the channel binding data does not leak secret
>    information about the TLS channel and does not affect the security of
>    the TLS channel.  [...]
I like this too.
> Section 3.1
>
>     While it is possible to use this channel binding mechanism with TLS
>     versions below 1.3, extra precaution must be taken to ensure that the
>     chosen cipher suites always result in unique master secrets.  For
>     more information see the Security Considerations section of
>     [RFC5705].
>
> Should we reiterate here that the extended master secret mechanism of
> RFC 7627 is one way to ensure uniqueness of master secrets?
>
>     When TLS renegotiation is enabled the "tls-exporter" channel binding
>     type is not defined and implementations MUST NOT support it.
>
> We may want to be specific that this mandate is scoped to renegotiation
> being enabled at (e.g.) connection scope (vs implementation-wide).
Right.
> Section 4.1
>
>     Subject:  Registration of channel binding tls-exporter
>
> It's interesting that this is part of the template given in RFC 5056 but
> not part of the registry itself...arguably a bug in 5056, but probably
> not worth doing anything about now.

Agreed.

Best Regards,

Alexey


From nobody Fri Oct  1 04:24:58 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: kitten@ietf.org
Delivered-To: kitten@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id E15333A0A24; Fri,  1 Oct 2021 04:24:13 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: kitten@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: kitten@ietf.org
Message-ID: <163308745371.5144.12399458546675818592@ietfa.amsl.com>
Date: Fri, 01 Oct 2021 04:24:13 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/YIfZZApI_6mdLWx5hlQSEZMreOc>
Subject: [kitten] I-D Action: draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2021 11:24:14 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Common Authentication Technology Next Generation WG of the IETF.

        Title           : Channel Bindings for TLS 1.3
        Author          : Sam Whited
	Filename        : draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt
	Pages           : 6
	Date            : 2021-10-01

Abstract:
   This document defines a channel binding type, tls-exporter, that is
   compatible with TLS 1.3 in accordance with RFC 5056, On Channel
   Binding.  Furthermore it updates the "default" channel binding to the
   new binding for versions of TLS greater than 1.2.  This document
   updates RFC5801, RFC5802, RFC5929, and RFC8446.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-kitten-tls-channel-bindings-for-tls13/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-kitten-tls-channel-bindings-for-tls13-09.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-kitten-tls-channel-bindings-for-tls13-09


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Fri Oct  1 04:25:39 2021
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC1A63A0A24; Fri,  1 Oct 2021 04:25:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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_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 (2048-bit key) header.d=samwhited.com header.b=ozxiOKTX; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=p17q1m8F
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 eoxUaGv_EAZk; Fri,  1 Oct 2021 04:25:31 -0700 (PDT)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1BF83A0A26; Fri,  1 Oct 2021 04:25:20 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id DDA5632019B4; Fri,  1 Oct 2021 07:25:15 -0400 (EDT)
Received: from imap42 ([10.202.2.92]) by compute1.internal (MEProxy); Fri, 01 Oct 2021 07:25:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=Wb 6a/alIR5zPXJTGU9XZeBdrXjt5nTNfdFwDev5yENw=; b=ozxiOKTXBEzO9ru8yG fBYIbtkSzp7N61nPg6wOFU0NR++OZeh60sECWKKoCkSX1Y4Ouq2rzf4U52Jvnxmy LYxrxqXKqqYvV71BSoQ81gE1M8WSc99dk4DveeTOEA80ffKmxHuqnuZkZWQw7Tk3 Zy4r1f24kTX4wRvrwKcf/6khWn7MGC62asFNEwXV2W/b6kurtGiarO17px10i5Aq CUGMufXhgGBrOif52CETRmzwMMS1Ds9ntWwXia5f+nz0ajoFeg9Tu2ic45fExDF8 42q/m36xYNOpFjrdDWDzGP2R3wMHhqfPu7vYTPE9WF6tZG5HyfjnhtEUPeLNu4l1 NpAA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Wb6a/alIR5zPXJTGU9XZeBdrXjt5nTNfdFwDev5yE Nw=; b=p17q1m8FaUHLGcauJs07VQ8uuxktGr2NAacBBasLfDEbHsSF+kmfb07R1 LL13q12S/eSTMi9n78EUrj1uVm+ntfjurLhTexP2kOq/H6UOSOCPc4pWhntvosDT N7fsKfJvT4/GUxo5ZK7T1GFpID9m7dSQsKEFksKN4vdv1Ds/xE7qqFiRXvmU1aJx 0HhHnlWhv9yIBs8hsJFDFfz4IcSjQ/UzGLE+0hNMBJjR+tN42Pb+TOQ4TtUxApTB vSQc3ZVHBVKjxazAHXxPu/QvtlIx5ZQaUuStHPoNBzvK8cqCLUw6LqvR/cftSlar gptJyoI+ohO8JQfV6HfSQa+L41dwg==
X-ME-Sender: <xms:G_BWYdUdYjZYsBMvFWztAxu_dI-oVzPnyMsqi1Cy1_fEFdM-dYWccA> <xme:G_BWYdkt5sy99QwTZPXTqCw4fVBHniNMYCqY7BbSKOFbeFNPZOzi6zWrXB2D4xzx8 VXy7pHmfgUpqd-ebw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekiedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfufgr mhcuhghhihhtvggufdcuoehsrghmsehsrghmfihhihhtvggurdgtohhmqeenucggtffrrg htthgvrhhnpeefuddukeekueetueelfeeguedvuedvffehvdevieffgeehhfejffdtveev uedvffenucffohhmrghinhepihgvthhfrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepshgrmhesshgrmhifhhhithgvugdrtghomh
X-ME-Proxy: <xmx:G_BWYZbTnnR6V_IawauMf3cOJTL_woQXUYm-WurfDXQ2ye7556EQpg> <xmx:G_BWYQVH5MCX8vpbivBb0TxQJ9zjD_KDzGXjucAqBnj79OXXE35nTQ> <xmx:G_BWYXl_4EOJnlJi6mT3M1WSdgtLlfxPdwVkShM9mrEQ8RwlnDOsCg> <xmx:G_BWYWuN3pRLaPKUb23ZtO-u-fjsf92WS2DNwTDNR9BCiMv39TzyaQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 67B8F2180078; Fri,  1 Oct 2021 07:25:15 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1322-g921842b88a-fm-20210929.001-g921842b8
Mime-Version: 1.0
Message-Id: <f048b2f9-c53c-4c91-81e8-4fc5b4331bef@www.fastmail.com>
In-Reply-To: <20211001045330.GX98042@kduck.mit.edu>
References: <20211001045330.GX98042@kduck.mit.edu>
Date: Fri, 01 Oct 2021 07:24:54 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "Benjamin Kaduk" <kaduk@mit.edu>, draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org
Cc: "KITTEN Working Group" <kitten@ietf.org>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/1GCkBfY0zLzIY4tiPb4t56md_ps>
Subject: Re: [kitten] AD review of draft-ietf-kitten-tls-channel-bindings-for-tls13-08
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2021 11:25:38 -0000

This all looks good; I've updated the draft and incorporated your
language as well as the tweaks you suggested. Thank you for your review.

=E2=80=94Sam

On Fri, Oct 1, 2021, at 00:53, Benjamin Kaduk wrote:
> Hi all,
>
> Nothing particularly earth-shattering here, but enough that we should
> put out a revised I-D before I initiate the IETF last-call.
>
> Though there's not currently a formal requirement (since the precise
> meaning and usage of the "updates" tag is not well defined), it's been
> the practice of recent IESGs to ask that documents provide a clear
> statement of the nature of any updates being made.  While we currently
> do this for the updates of RFCs 5801 and 5802, we're pretty silent
> about how we update RFCs 5929 and 8446.  I have a proposal for 8446
> below (wrapped into another suggestion), and we can probably put a
> note somewhere that we update 5929 to provide a channel-binding for
> TLS that is compatible with TLS 1.3.
>
> Section 1
>
>    The "unique" channel binding types defined in [RFC5929] were found
>    to be vulnerable to the "triple handshake vulnerability" [TRIPLE-
>    HANDSHAKE] without the extended master secret extension defined in
>    [RFC7627].  Because of this they were not defined for TLS
>    1.3 (see [RFC8446] section C.5).  [...]
>
> I don't think this conveys quite the right reasoning for why the
> channel bindings were not updated in RFC 8446 directly.  In
> particular, TLS 1.3 intrinsically uses the extended master secret
> mechanism of "hash the entire handshake transcript" and in that regard
> is not susceptible to triple-handshake type attacks.
>
> Peeking through the archives, it seems that
> https://mailarchive.ietf.org/arch/msg/tls/2XbkUZhdxwFXhLVTdE2C-UZGaO0/
> may have been the most recent discussion of tls-unique in the context
> of draft-ietf-tls-tls13 .  The note referenced in that email thread
> seems to be:
>
> % [Raw public keys or skipping certificate chain checking] used alone
> % is vulnerable to man-in-the-middle attacks and therefore unsafe for
> % general use.  However, it is also possible to bind such connections
> % to an external authentication mechanism via out-of-band validation
> % of the server's public key, trust on first use, or channel bindings
> % [RFC5929].  [[NOTE: TLS 1.3 needs a new channel binding definition
> % that has not yet been defined.]] If no such mechanism is used, then
> % the connection has no protection against active man-in-the-middle
> % attack; applications MUST NOT use TLS in such a way absent explicit
> % configuration or a specific application profile.
>
> So I would propose the following replacement text:
>
>    The "unique" channel binding types defined in [RFC5929] were found
>    to be vulnerable to the "triple handshake vulnerability" [TRIPLE-
>    HANDSHAKE] without the extended master secret extension defined in
>    [RFC7627].  While TLS 1.3 uses a complete transcript hash akin to
>    the extended master secret procedures, the safety of channel
>    bindings with TLS 1.3 was not analyzed as part of the core protocol
>    work, and so the specification of channel bindings for TLS 1.3 was
>    deferred.  [RFC8446] section C.5 notes the lack of a channel
>    bindings definition for TLS 1.3; as this document defines such
>    channel bindings, it accordingly updates [RFC8446] to note that the
>    gap has been filled.
>
> (Note that I also modified the final sentence to be able to explicitly
> note in what way we see this document as updating RFC 8446.)
>
> Section 3
>
>    Channel bindings do not leak secret information about the channel
>    and are considered public.  [...]
>
> In light of the way that
> https://datatracker.ietf.org/doc/html/rfc5929#section-10.2 frames its
> discussion of channel-bindings disclosure (and to some extent
> https://datatracker.ietf.org/doc/html/rfc5056#section-8 as well), I
> think that we might want to scope the statement to just "the channel
> bindings type defined in this document" and to frame the subsequent
> discussion as being that "disclosure of the channel binding data does
> not affect the security of the TLS channel.  To say that they are
> "considered public" might imply an intention to disclose, when it
> seems that the important point is only that disclosure or non-
> disclosure is irrelevant.  With those changes included, this might
> look something like:
>
>   The channel binding type defined in this document is constructed so
>   that disclosure of the channel binding data does not leak secret
>   information about the TLS channel and does not affect the security
>   of the TLS channel.  [...]
>
> Section 3.1
>
>    While it is possible to use this channel binding mechanism with TLS
>    versions below 1.3, extra precaution must be taken to ensure that
>    the chosen cipher suites always result in unique master secrets.
>    For more information see the Security Considerations section of
>    [RFC5705].
>
> Should we reiterate here that the extended master secret mechanism of
> RFC 7627 is one way to ensure uniqueness of master secrets?
>
>    When TLS renegotiation is enabled the "tls-exporter" channel
>    binding type is not defined and implementations MUST NOT
>    support it.
>
> We may want to be specific that this mandate is scoped to
> renegotiation being enabled at (e.g.) connection scope (vs implementat=
ion-
> wide).
>
> Section 4.1
>
>    Subject:  Registration of channel binding tls-exporter
>
> It's interesting that this is part of the template given in RFC 5056
> but not part of the registry itself...arguably a bug in 5056, but
> probably not worth doing anything about now.
>
> Thanks,
>
> Ben

--=20
Sam Whited


From nobody Fri Oct  1 09:09:12 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AA5F23A0D69; Fri,  1 Oct 2021 09:09:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 02qWgg_e-0Qm; Fri,  1 Oct 2021 09:09:05 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 0BF503A0D16; Fri,  1 Oct 2021 09:09:04 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 191G8vB2009234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 1 Oct 2021 12:09:02 -0400
Date: Fri, 1 Oct 2021 09:08:56 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Sam Whited <sam@samwhited.com>
Cc: draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org, KITTEN Working Group <kitten@ietf.org>
Message-ID: <20211001160856.GY98042@kduck.mit.edu>
References: <20211001045330.GX98042@kduck.mit.edu> <f048b2f9-c53c-4c91-81e8-4fc5b4331bef@www.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <f048b2f9-c53c-4c91-81e8-4fc5b4331bef@www.fastmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/NPoeVQvxoNufZIXlwFOKUulgrTA>
Subject: Re: [kitten] AD review of draft-ietf-kitten-tls-channel-bindings-for-tls13-08
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2021 16:09:08 -0000

On Fri, Oct 01, 2021 at 07:24:54AM -0400, Sam Whited wrote:
> This all looks good; I've updated the draft and incorporated your
> language as well as the tweaks you suggested. Thank you for your review.

Thanks for the quick turnaround!
I've requested the IETF last-call.

-Ben


From nobody Fri Oct  1 11:20:37 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: kitten@ietf.org
Delivered-To: kitten@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 853423A0F01; Fri,  1 Oct 2021 11:20:35 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
CC: alexey.melnikov@isode.com, draft-ietf-kitten-tls-channel-bindings-for-tls13@ietf.org, kaduk@mit.edu, kitten-chairs@ietf.org, kitten@ietf.org
Reply-To: last-call@ietf.org
Sender: <iesg-secretary@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <163311243544.13917.11736165165419008870@ietfa.amsl.com>
Date: Fri, 01 Oct 2021 11:20:35 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/ZnOb9bDerfic3VfzQzP5Qu3uJUs>
Subject: [kitten] Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2021 18:20:36 -0000

The IESG has received a request from the Common Authentication Technology
Next Generation WG (kitten) to consider the following document: - 'Channel
Bindings for TLS 1.3'
  <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> as Proposed
  Standard

The IESG plans to make a decision in the next few weeks, and solicits final
comments on this action. Please send substantive comments to the
last-call@ietf.org mailing lists by 2021-10-15. Exceptionally, comments may
be sent to iesg@ietf.org instead. In either case, please retain the beginning
of the Subject line to allow automated sorting.

Abstract


   This document defines a channel binding type, tls-exporter, that is
   compatible with TLS 1.3 in accordance with RFC 5056, On Channel
   Binding.  Furthermore it updates the "default" channel binding to the
   new binding for versions of TLS greater than 1.2.  This document
   updates RFC5801, RFC5802, RFC5929, and RFC8446.




The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-kitten-tls-channel-bindings-for-tls13/



No IPR declarations have been submitted directly on this I-D.






From nobody Wed Oct 13 12:35:51 2021
Return-Path: <noreply@ietf.org>
X-Original-To: kitten@ietf.org
Delivered-To: kitten@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 745843A0C34; Wed, 13 Oct 2021 12:35:46 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
From: Niclas Comstedt via Datatracker <noreply@ietf.org>
To: <ops-dir@ietf.org>
Cc: draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org, kitten@ietf.org, last-call@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <163415374625.30942.884569969141527344@ietfa.amsl.com>
Reply-To: Niclas Comstedt <nco@comstedt.net>
Date: Wed, 13 Oct 2021 12:35:46 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/MQNKsPeyO_juZXd7nwDft8MkiBs>
Subject: [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Oct 2021 19:35:47 -0000

Reviewer: Niclas Comstedt
Review result: Ready


This is an OPS-DIR review of “Channel Bindings for TLS 1.3” 
<draft-ietf-kitten-tls-channel-bindings-for-tls13>

This document defines a channel binding that is compatible with TLS 1.3

I find the document easy to read and straightforward. It is providing a gap in the 
latest TLS standards version by introducing tls-exporter, a binding type that will 
work with TLS 1.3.

I did not find any operational issues with the document.

/nco



From nobody Thu Oct 14 15:13:06 2021
Return-Path: <ludo_bocquet@hotmail.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C938E3A0D2A; Thu, 14 Oct 2021 15:12:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.227
X-Spam-Level: 
X-Spam-Status: No, score=-1.227 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, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 QFf-OmOdOYKU; Thu, 14 Oct 2021 15:12:53 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-oln040092071042.outbound.protection.outlook.com [40.92.71.42]) (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 D365A3A0D23; Thu, 14 Oct 2021 15:12:52 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lc1WCIJyRFk6YjZE3WhYWlPP4IO0x5HkP3zYDeUPmwrhZ21fW4y+vptfUhtZhSX5bwAjyNWK7PWLDebUtchetWQid3fFWcdUhYtgNugn423JTZc5YS1L9b+OQx7XfSoFplgOJjfCPV7Ky047MNN9RsRZjRQwjoylxYDw4G0zuvgRWhAsggcMWf+1wRV0Db/cqvZzLpB0WN/hCeJr1bWTjDf5PHvLHlM3XhwJtCeKpRalgHuDK/clYtjz3BE60W+R/1uZepWI29flEsXXGlbrtytFlyyMREBYJc9LtTRXg7qxu5LVZyOdtjXWxKlFqFsv940SIfC0HukPUf6BsdXKLg==
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=xhRrxV7QalXrljK7jnnYVRBPz8nisyfCGG3bIuBgPzo=; b=LYhNKprMatrnfbiRDuG9hehezUsntcyCGjGoUgLy2jwRSLKLpo+lXg51aV/xWr6CKQnStkZQf/8Xt8C6wUXEBwYc4+bLnFfoUHNgaUrZRe0U97aTv7aNdRtGbqCrWjyFqQZ/bN3VO/SbOKk17bcxa6bKFbI/PmPq/m40EGmycBhqbYVOk++VbZQktYgE3lQZLKhHwHmQ4SQ4gSuJte1yfFUgCDVKiLXmtfoG9ywZX0gQF5HyjE9NNuOBj+zBZgvoaidjzWloosBXB3nT3vXYJDeF7u0vSJkesDAwjijquXy71IoqVqQnUV2jyKmUASid0S+dhAsUne4nLayt0XnJzQ==
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=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xhRrxV7QalXrljK7jnnYVRBPz8nisyfCGG3bIuBgPzo=; b=ulrYQXEaMWKfgy9m9zH/BhQ8RZJSZFYI4zzWYEVTKE5EkE3jhEalD8q+kFbhSiROxh+k+2WtNQjaxU5uqMK+oW9jflYE3e0VCxJcRZcbZIRV7o4CBaRZfb1cZ8ddy0m4rFyA7W7PzbyYJuF9AuPsEQ4+GEkWnsT1ZJGK3HAl1q4zZFrI1uRIb0c36nQPfI4YQTw0Zeq51Fr65H2cP3xdqdBMECOWVb+Fjdrif03cAUeXgZJjt/a4BJyCvyWYfEXRWDI6mx/efBKoSb+V/iMwcfaXMR3QAVRq63Laejer/Wqud06Q7XrOj7uM7CK8/ux+7R1AnmXFHODo67j1Pct6VA==
Received: from PR3P193MB1070.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:ae::17) by PR3P193MB1037.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:a4::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Thu, 14 Oct 2021 22:12:43 +0000
Received: from PR3P193MB1070.EURP193.PROD.OUTLOOK.COM ([fe80::bc9f:2950:7f84:fc1b]) by PR3P193MB1070.EURP193.PROD.OUTLOOK.COM ([fe80::bc9f:2950:7f84:fc1b%8]) with mapi id 15.20.4608.016; Thu, 14 Oct 2021 22:12:43 +0000
From: Ludovic BOCQUET <ludo_bocquet@hotmail.com>
To: "ops-dir@ietf.org" <ops-dir@ietf.org>, Niclas Comstedt <nco@comstedt.net>
CC: "kitten@ietf.org" <kitten@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org" <draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org>
Thread-Topic: [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
Thread-Index: AQHXwGmNYfhyR3rGZUKNf3p0QOYVpavTDQeq
Importance: high
X-Priority: 1
Date: Thu, 14 Oct 2021 22:12:43 +0000
Message-ID: <PR3P193MB1070CF0B74981CAF46C38739F9B89@PR3P193MB1070.EURP193.PROD.OUTLOOK.COM>
References: <163415374625.30942.884569969141527344@ietfa.amsl.com>
In-Reply-To: <163415374625.30942.884569969141527344@ietfa.amsl.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [4QQWIqsLuIWYHaSI8mfJRGCqb3nHp5qR]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 29e90593-d34e-45b1-941b-08d98f5fbebb
x-ms-traffictypediagnostic: PR3P193MB1037:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: idlwqPjp5rtpY2ZVwbeBSYI8IG8qOKMOrbb7EJnZRzl5O/i+XzL8hk4O18g9l5Qz7SFKh9giOKHFdhPF56f8QsQjPsp1rYTP81DAS5SZkCH61NlYm14c6vC8iNa9P2rZV5KcLcd9B3S2o4ocJixen7m54MHdLeG3B21hdmtETSiyuRvadBX9vDlQzpZ9NQj/UyzhV+eFeVOSNl+57dzoiFW6aQsEqqQHI1i9fqDB/yveS2mi91tyQKH+bsVCSdbAhdo2z4geE3VozjcMitZKZy31EkDAVm+sYHaHYvzR7NowmMYgOCZcx7qNsSVZIEDw4htvYbBG10d5ZzsY9VmKYnC9+Bqjsz/fwAFVGS7n0j80Hf//Mmx5IVXfZ/Ug+ZUUNEcqlkvl0QUIuippvv18MObU/Y7cI33SorFV2Vg4ofWBSgY4xPtLKS+8qtzvgjR3d3pYGXGs/F+Yq7MPvnP1JrijTzO+uyj3IkR0JnmG47kYIbEJfWWdrKfLpM0oMkF1rxX+UwCvLhN1EI3elSlsn/eI5nuU+bnGLstbqXdfpzewaaxd+4r9Ondp4fy2dj837OWC9fwIsq5rkFyBE7+HtgdbnUhIpjtx2Sg9/lcY6kMRPI2OE3boCPXZL+6ywhvg
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: MfKPVIazTdG4GXdA/O/AHQRcsjJAgHMYGEcC08aR+yxD2YQtbdAEUruo7BW0vQMcGZ4rrh305D9WTFTzj5Ez5JKRJhPD7hrcnwIB2hQIFyIOxmOR919EYDcTlKwkMVfmYfe7b98+Ms6eCardkBZE3Q==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-01233.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PR3P193MB1070.EURP193.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 29e90593-d34e-45b1-941b-08d98f5fbebb
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2021 22:12:43.3657 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P193MB1037
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/3r0JEwPUYBauKu33NNU-yOleC0Y>
Subject: Re: [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Oct 2021 22:12:58 -0000

Hello,

It is possible to add in "Updates": 7677?

In the text too?

And at the bottom:

[RFC7677]  Tony Hansen,
              "SCRAM-SHA-256 and SCRAM-SHA-256-PLUS Simple
              Authentication and Security Layer (SASL) Mechanisms",
              RFC7677, DOI 10.17487/RFC7677, November 2015,
              <https://www.rfc-editor.org/info/rfc7677>.

Thanks in advance.

Regards,

BOCQUET Ludovic

________________________________________
De : Kitten <kitten-bounces@ietf.org> de la part de Niclas Comstedt via Dat=
atracker <noreply@ietf.org>
Envoy=E9 : mercredi 13 octobre 2021 21:35:46
=C0 : ops-dir@ietf.org
Cc : kitten@ietf.org; last-call@ietf.org; draft-ietf-kitten-tls-channel-bin=
dings-for-tls13.all@ietf.org
Objet : [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-b=
indings-for-tls13-09

Reviewer: Niclas Comstedt
Review result: Ready


This is an OPS-DIR review of =93Channel Bindings for TLS 1.3=94
<draft-ietf-kitten-tls-channel-bindings-for-tls13>

This document defines a channel binding that is compatible with TLS 1.3

I find the document easy to read and straightforward. It is providing a gap=
 in the
latest TLS standards version by introducing tls-exporter, a binding type th=
at will
work with TLS 1.3.

I did not find any operational issues with the document.

/nco


_______________________________________________
Kitten mailing list
Kitten@ietf.org
https://www.ietf.org/mailman/listinfo/kitten


From nobody Thu Oct 14 17:22:02 2021
Return-Path: <noreply@ietf.org>
X-Original-To: kitten@ietf.org
Delivered-To: kitten@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 867083A144E; Thu, 14 Oct 2021 17:20:58 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Dale Worley via Datatracker <noreply@ietf.org>
To: <gen-art@ietf.org>
Cc: draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org, kitten@ietf.org, last-call@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <163425725839.8070.6459252490923753365@ietfa.amsl.com>
Reply-To: Dale Worley <worley@ariadne.com>
Date: Thu, 14 Oct 2021 17:20:58 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/ZcvJQyiioqDEGLZSgADyh2bhpiI>
Subject: [kitten] Genart last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Oct 2021 00:21:00 -0000

Reviewer: Dale Worley
Review result: Ready with Nits

I am the assigned Gen-ART reviewer for this draft. The General Area
Review Team (Gen-ART) reviews all IETF documents being processed
by the IESG for the IETF Chair.  Please treat these comments just
like any other last call comments.

For more information, please see the FAQ at

<https://trac.ietf.org/trac/gen/wiki/GenArtfaq>.

Document: draft-ietf-kitten-tls-channel-bindings-for-tls13-09
Reviewer: Dale R. Worley
Review Date: 2021-10-14
IETF LC End Date: 2021-10-15
IESG Telechat date: (not known)

Summary:

    This draft is basically ready for publication, but has nits that
    should be fixed before publication.

Nits/editorial comments:

1.  Introduction

   The "unique" channel binding types defined in [RFC5929] were found to

Given that this is the introduction and RFC 5929 is referenced without
its title, it would help the naive reader to change "channel binding
types" to "channel binding types for TLS".

The use of "unique" seems to refer to both (1) the names of the
channel binding types contain the word "unique" and (2) they are
"unique" channel bindings in the terminology of RFC 5056.  It seems
like this sentence should be expanded to make both references clear,
or at least to point to RFC 5056 as well.

   Furthermore, this document updates [RFC5929] by adding an additional
   unique channel binding type that replaces some usage of "tls-unique".

It seems worthwhile to provide the name of the new binding type here.
(And notice that it is "unique" in the sense of RFC 5056 but does not
contain "unique" in its name.  I'm a little surprised you didn't name
it "tls-unique-exporter" to maintain the parallelism.)

2.  The 'tls-exporter' Channel Binding Type

   Context value:  Empty context value.

Since RFC 5705 allows the context value to be absent, and also to be a
byte string of arbitrary length including 0, it might be less
ambiguous to say "Zero-length string".

   SCRAM [RFC5802] and GSS-API over SASL [RFC5801] define "tls-unique"
   as the default channel binding to use over TLS.  As "tls-unique" is
   not defined for TLS 1.3 (and greater), this document updates
   [RFC5801] and [RFC5802] to use "tls-exporter" as the default channel
   binding over TLS 1.3 (and greater).

It seems like this paragraph should be promoted to be its own section
with an extremely descriptive title like "TLS 1.3 with SCRAM and with
GSS-API over SASL".

3.  Security Considerations

   Implementations MUST NOT use the channel binding to
   protect secret information.

It's not clear to me that channel binding has any purpose other than
"to protect secret information".  I suspect that you mean something
like "the channel binding data MUST NOT be used as a key to protect
secret information".  And that statement is essentially the same as
the last sentence of section 3.1; indeed perhaps that sentence should
be moved to section 3 to replace the existing sentence.

3.1.  Use with Legacy TLS

   extra precaution must be taken to ensure that the
   chosen cipher suites always result in unique master secrets.

The appearance of this paragraph in this section suggests (but does
not assert) that in TLS 1.3, the cipher negotiation always results in
unique master secrets.  Indeed, it would be extremely convenient if
(standard-conformant) use of TLS 1.3 always did so, and if so, it would
be convenient to inform the user by asserting that at the end of
section 2 (after moving the current last paragraph to a different
section).

[END]




From nobody Fri Oct 15 05:58:16 2021
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFCE03A079D; Fri, 15 Oct 2021 05:58:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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_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 (2048-bit key) header.d=samwhited.com header.b=Da1pfSHI; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=LUdP4Ywt
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 MUew8Er-7-bv; Fri, 15 Oct 2021 05:58:09 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 689E13A0787; Fri, 15 Oct 2021 05:58:09 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1FB5B5C017C; Fri, 15 Oct 2021 08:58:06 -0400 (EDT)
Received: from imap42 ([10.202.2.92]) by compute1.internal (MEProxy); Fri, 15 Oct 2021 08:58:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=Lv F9KpyQE2mSPf4cB2kgRqV2zC+gRCeATVEJt+z9YTI=; b=Da1pfSHIIrmHKK+UzM DLn/bvwtZY9bkxWVwj8Lq4rPs3UdBSqTCr8ApCOX0SUwDT+6htjKIiNYXAPANQa7 ly7YA11KQ213F+djdpJgCJIitaGSS1+Zdy8tJsnOBcvZO/BZ/oFFXotvpkkTtXkX 77xzIyLXCMn0Y5CrJwdMADwveTDulDT63Z9fziOOHSuuwbEAMT+06/aLn8CAZOrY vualcOYMUs4oBL6DALcV2KNsr5DXtgstdE9swI40sntSBpcEvPmlKlX02++pCRIY NpabYGGvUUpKtHEc3WDYI1GjhcxdFtOFf5A9rWqHJBVB20SpYazbCThNxHJTDAaO XHyA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=LvF9KpyQE2mSPf4cB2kgRqV2zC+gRCeATVEJt+z9Y TI=; b=LUdP4YwthTFiBWFDcGQNc5AqxVJKtSmCljRtdvQUvttK5ikBokChhexQo /6kr2sFvm3T1LNka4arLc9gxPEatk3Lm//saHo7dADXhAWGMapH3qiL4d2okeiBY 9jXBLJS88GZ8iF/kFXVTNQ8lEBofrbtgJtMbpZOgT3UnCyRQAEQsD8IdU2NsNmIi /G1FCn7o98Eh4jXggp7pH1cJ9x366/YBPN3c4vkHeJvSlG+IedAj2EwDXPyLKtmD V39aDQBJVqxmw5oYZ3X5iuhO869cvzSHVEGyHU68T333hdXHtlj3jRe2c3pVG3O/ ISEYeZjkBHgc859EOfaXMWiafg3RA==
X-ME-Sender: <xms:3XppYSc3Bc770D078mOi1rQlH5ywFAqLty2ih9b4UIFJtVN2olDWSw> <xme:3XppYcOhr1mOgw6ZZ27vX3xSvOBWrTHpwyrYlSCENUmz-0fxqx7i0sMNNvFJk52Ch OGZIwAhhIb3KY6kcA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddugedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfufgr mhcuhghhihhtvggufdcuoehsrghmsehsrghmfihhihhtvggurdgtohhmqeenucggtffrrg htthgvrhhnpedvffeuvdduhfefvdeiheeukeffhfekjeevgffggedtlefhhffhieevkedu vefhjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmsehsrghmfihhihhtvggurdgtohhm
X-ME-Proxy: <xmx:3XppYThqQSy3zyIq0cke9Ya0bdeQ35oyJ8qpegOTi3sHXLb_6txfZQ> <xmx:3XppYf_1y11LAN5uZCaYktbrKXeuZ2Yrwy5NRpTNL_SxS8cVbfFZOA> <xmx:3XppYeubMlRWXuSWT-pSebrQF7bTCcxRwr_J3eo_rnvO3JcNQ2ruWw> <xmx:3nppYX4bH4TXcBiP99FND7Z31CPDmTjb5qGuQQFlprTBJHnYG1pblw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id E7D372180075; Fri, 15 Oct 2021 08:58:05 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1345-g8441cd7852-fm-20211006.001-g8441cd78
Mime-Version: 1.0
Message-Id: <5791c4e5-8145-416e-85d2-702a7349f327@www.fastmail.com>
In-Reply-To: <163425725839.8070.6459252490923753365@ietfa.amsl.com>
References: <163425725839.8070.6459252490923753365@ietfa.amsl.com>
Date: Fri, 15 Oct 2021 08:57:45 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "Dale Worley" <worley@ariadne.com>, gen-art@ietf.org
Cc: draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org, "KITTEN Working Group" <kitten@ietf.org>, last-call@ietf.org
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/3RNC4Bej_9PSG_kqddhbepg-NFw>
Subject: Re: [kitten] Genart last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Oct 2021 12:58:15 -0000

Thank you for the detailed review! I believe I have addressed your
feedback in a draft that I will upload shortly, but have a few
comments (inline).

On Thu, Oct 14, 2021, at 20:20, Dale Worley via Datatracker wrote:
> Given that this is the introduction and RFC 5929 is referenced without
> its title, it would help the naive reader to change "channel binding
> types" to "channel binding types for TLS".

Since this document only updates the general-purpose "tls-unique" and
does not specifically define a new version of "tls-unique-for-telnet" I
have just changed the use of "unique" here to "tls-unique" to refer to
the specific channel binding type. Hopefully this makes it clear that it
is a TLS channel binding without the redundant "tls-unique channel
binding for TLS", but I'm happy to work on this further.

> It seems worthwhile to provide the name of the new binding type here.
> (And notice that it is "unique" in the sense of RFC 5056 but does not
> contain "unique" in its name.  I'm a little surprised you didn't name
> it "tls-unique-exporter" to maintain the parallelism.)

I'd be happy to change that if everyone wants, I have no preference.


> The appearance of this paragraph in this section suggests (but does
> not assert) that in TLS 1.3, the cipher negotiation always results in
> unique master secrets.  Indeed, it would be extremely convenient if
> (standard-conformant) use of TLS 1.3 always did so, and if so, it
> would be convenient to inform the user by asserting that at the end of
> section 2 (after moving the current last paragraph to a different
> section).

This one I had a lot of trouble with. I tried to put in some new
language, but it feels out of place to me somehow. I'm not sure that
this document should make assertions about the correctness of TLS 1.3,
as well vetted as it has been, so I tried to phrase it in terms of "this
mechanism is useful so long as this property holds", which seems like it
might belong in security considerations, not the registration section?

=E2=80=94Sam

--=20
Sam Whited


From nobody Fri Oct 15 06:00:52 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: kitten@ietf.org
Delivered-To: kitten@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id F14923A07A2; Fri, 15 Oct 2021 06:00:49 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: kitten@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: kitten@ietf.org
Message-ID: <163430284974.28348.5443262910961763713@ietfa.amsl.com>
Date: Fri, 15 Oct 2021 06:00:49 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/bL2aiVhG_Mf-R2DSMGCWvmS5XPo>
Subject: [kitten] I-D Action: draft-ietf-kitten-tls-channel-bindings-for-tls13-10.txt
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Oct 2021 13:00:50 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Common Authentication Technology Next Generation WG of the IETF.

        Title           : Channel Bindings for TLS 1.3
        Author          : Sam Whited
	Filename        : draft-ietf-kitten-tls-channel-bindings-for-tls13-10.txt
	Pages           : 6
	Date            : 2021-10-15

Abstract:
   This document defines a channel binding type, tls-exporter, that is
   compatible with TLS 1.3 in accordance with RFC 5056, On Channel
   Binding.  Furthermore it updates the "default" channel binding to the
   new binding for versions of TLS greater than 1.2.  This document
   updates RFC5801, RFC5802, RFC5929, and RFC8446.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-kitten-tls-channel-bindings-for-tls13/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-kitten-tls-channel-bindings-for-tls13-10.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-kitten-tls-channel-bindings-for-tls13-10


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Fri Oct 15 06:41:52 2021
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 807FA3A0817; Fri, 15 Oct 2021 06:41:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.801
X-Spam-Level: 
X-Spam-Status: No, score=-2.801 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_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 (2048-bit key) header.d=samwhited.com header.b=QDusvGd0; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=llmK7op7
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 pWVPC3rKObm9; Fri, 15 Oct 2021 06:41:45 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ACCDD3A081F; Fri, 15 Oct 2021 06:41:45 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1BE295C005D; Fri, 15 Oct 2021 09:41:45 -0400 (EDT)
Received: from imap42 ([10.202.2.92]) by compute1.internal (MEProxy); Fri, 15 Oct 2021 09:41:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=gT TGPcNkDwNIZ4n6jKaDylj9MGcRnQRCSXy4GUD4yvA=; b=QDusvGd0ILQSCAgz89 iesHkTVVHy7AsLvzxbhCIPT8Uh+aGUq08nQILV7oKQDP42KzNjdjtaBiuuvhpkRQ Ykryia2NkrPXj/Ls7y5mcVHvDjqU79q3GxFUDdLl+IFCobCMKkqmP2o4GjE9d3bt baXptzUfOoISV+/Q4ZaTQKGuXg/XI3PdsVm3YaER1VvkfzPKaqmRRMWBSMMZHzq4 DeQq5R/DQuv6U6AED/hop04dcQtWj4sTAluxV4/dEPGVQzGNhFhN3AUB2lk5AMbP A9apNkAzoH/LW5WHhWetCbACt2Ab9uqjmp5/NSQPsYe1ywn0e5p5Uf2HiiNowSYR zWqg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=gTTGPcNkDwNIZ4n6jKaDylj9MGcRnQRCSXy4GUD4y vA=; b=llmK7op7ic+W61/rVQ3fhBSpCoGkSW27U1ieH3w+OCnkGSBn68pQBXANK LKL1aK6LclI2DT91tT4f80WYs/lO48GRfR077C/3i6D7ZKw13FRwKYrGrX/BYuZD jb277gX7QGLDwJzICmhlI0rGiqp/Xn/qnsTNBm65gVIYMOjsVvb1MYIsT/FenNoP Xb0t9bna3adMh4t32XVliGXX1T6//qKFUOszbVYKCpOE0uPvS325rZmhbN8LKBgK Kp2w2mzc1YK5qYuo8Ptu7JO8BNO4NRphFK1uH21hSThRIr5UQEQndmBu3TZY7Ubk 9wcbSNUizB/K3s8qrvVXSl02vdoRg==
X-ME-Sender: <xms:GIVpYcy9lZuJqRMhIAT_kE-Y1VQy4Dlg6qqtRriOab2r-uP67D5dGw> <xme:GIVpYQQ0Te9uNUJMyzkSYYRsJuy6fJ7R0Txn8LzljWM-NbSY_Y_dGLXQucigRS5Rl 5zyuS30pMNY0piayw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddugedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfufgr mhcuhghhihhtvggufdcuoehsrghmsehsrghmfihhihhtvggurdgtohhmqeenucggtffrrg htthgvrhhnpeelgfdttdevueffudeivdefieekgeeftedvleehhfetfeejveegvdeljefh tdehfeenucffohhmrghinheprhhftgdqvgguihhtohhrrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhesshgrmhifhhhithgv ugdrtghomh
X-ME-Proxy: <xmx:GIVpYeUVq6M3VHpCAqPBkF2HJXUDbTtkZXO3Jw21WzqkXmLyRKXJ1Q> <xmx:GIVpYah8g2_kXAaTpzkOU4uSzwA73JdGugTNKiZd4BsnidjnHIZT1A> <xmx:GIVpYeDHHnSGIv8F7A57MRJXKoJf3jpcB8Zb3xWOEZZMc-tKhyYzRA> <xmx:GYVpYZPATr9GG_zBaH9WD0rbhfOqu4yv_y3E4dya-xlsWBiQN5kwdg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id CEF0B2180078; Fri, 15 Oct 2021 09:41:44 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1345-g8441cd7852-fm-20211006.001-g8441cd78
Mime-Version: 1.0
Message-Id: <76baf740-44ac-48c9-8c78-bd36fcb5ee48@www.fastmail.com>
In-Reply-To: <PR3P193MB1070CF0B74981CAF46C38739F9B89@PR3P193MB1070.EURP193.PROD.OUTLOOK.COM>
References: <163415374625.30942.884569969141527344@ietfa.amsl.com> <PR3P193MB1070CF0B74981CAF46C38739F9B89@PR3P193MB1070.EURP193.PROD.OUTLOOK.COM>
Date: Fri, 15 Oct 2021 09:41:24 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "Ludovic BOCQUET" <ludo_bocquet@hotmail.com>, "ops-dir@ietf.org" <ops-dir@ietf.org>, "Niclas Comstedt" <nco@comstedt.net>
Cc: "KITTEN Working Group" <kitten@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org" <draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/Vih638sSw3VHXkk4HE7FNYnqHaY>
Subject: Re: [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Oct 2021 13:41:51 -0000

As I've mentioned before to you, I don't believe it updates this
document in any way as the statement about unique master secrets in that
document is still true either way and does not need to be modified. I'm
not against adding this if others also agree, but I just don't see it.

Maybe you could propose some text for how you think it updates 7677 or
where you think a reference to 7677 would be appropriate and that would
make things more clear?

=E2=80=94Sam

On Thu, Oct 14, 2021, at 18:12, Ludovic BOCQUET wrote:
> It is possible to add in "Updates": 7677?
>
> In the text too?
>
> And at the bottom:
>
> [RFC7677]  Tony Hansen,              "SCRAM-SHA-256 and SCRAM-SHA-256-
> PLUS Simple              Authentication and Security Layer (SASL)
> Mechanisms",              RFC7677, DOI 10.17487/RFC7677, November
> 2015,              <https://www.rfc-editor.org/info/rfc7677>.
>
> Thanks in advance.

--=20
Sam Whited


From nobody Fri Oct 15 20:25:58 2021
Return-Path: <worley@alum.mit.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93B8C3A0A3F for <kitten@ietfa.amsl.com>; Fri, 15 Oct 2021 20:25:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.232
X-Spam-Level: 
X-Spam-Status: No, score=-1.232 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcastmailservice.net
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 AO7vflNmggw1 for <kitten@ietfa.amsl.com>; Fri, 15 Oct 2021 20:25:12 -0700 (PDT)
Received: from resqmta-ch2-03v.sys.comcast.net (resqmta-ch2-03v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:35]) (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 49B813A0A4D for <kitten@ietf.org>; Fri, 15 Oct 2021 20:25:12 -0700 (PDT)
Received: from resomta-ch2-05v.sys.comcast.net ([69.252.207.101]) by resqmta-ch2-03v.sys.comcast.net with ESMTP id baCCmb3khzQhpbaJomOe5I; Sat, 16 Oct 2021 03:25:08 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20180828_2048; t=1634354708; bh=oISboxgctMArRmos33fzuioWiSZO/HBsOPaYl3YxsYA=; h=Received:Received:Received:Received:From:To:Subject:Date: Message-ID; b=m7QaIv9LcsOB70mqIYe/PjdOuF1vCDZmQjoP1b/Wsuuker02dkqNKad8tZw7jBjMg 0xLzUnMf1I5ghoeGMN9WzBXKJ4H3JZU+taetad2+VewEUnMmSfkPY+5TKtnXVAVjDN BJLpXy5Jg/wE00wx8DohZUU3J541Gq6IjZTJ/gDyMx4HIpfPvRG0i0l0PIsHgkx/hC nMBhRz1E/AFE6x61EDDKDFNJUrRoW2LdukWbLq7Ilo4wM842og2b8GUiPGZ9Xb5rQU 91C6VbpxIRVpDjgoJnspV3wLCLMfDcQ6HzV1oW2fHR36kBMfK/pN3eNX2fTGvnODRW 9XgVVUO+I/FVQ==
Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4a00:430::84d9]) by resomta-ch2-05v.sys.comcast.net with ESMTPA id baJlmMeeT14GpbaJmmHcOP; Sat, 16 Oct 2021 03:25:07 +0000
X-Xfinity-VMeta: sc=0.00;st=legit
Received: from hobgoblin.ariadne.com (localhost [127.0.0.1]) by hobgoblin.ariadne.com (8.16.1/8.16.1) with ESMTPS id 19G3P2uj813176 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 15 Oct 2021 23:25:04 -0400
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.16.1/8.16.1/Submit) id 19G3P1Yh813171; Fri, 15 Oct 2021 23:25:01 -0400
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com (Dale R. Worley)
To: "Sam Whited" <sam@samwhited.com>
Cc: worley@ariadne.com, gen-art@ietf.org, draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org, kitten@ietf.org, last-call@ietf.org
In-Reply-To: <5791c4e5-8145-416e-85d2-702a7349f327@www.fastmail.com> (sam@samwhited.com)
Sender: worley@ariadne.com (Dale R. Worley)
Date: Fri, 15 Oct 2021 23:25:01 -0400
Message-ID: <87fst1ejn6.fsf@hobgoblin.ariadne.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/xc_SDxOkl4xnrvv5MfGTxJJuNCI>
Subject: Re: [kitten] Genart last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Oct 2021 03:25:17 -0000

"Sam Whited" <sam@samwhited.com> writes:
>> The appearance of this paragraph in this section suggests (but does
>> not assert) that in TLS 1.3, the cipher negotiation always results in
>> unique master secrets.  Indeed, it would be extremely convenient if
>> (standard-conformant) use of TLS 1.3 always did so, and if so, it
>> would be convenient to inform the user by asserting that at the end of
>> section 2 (after moving the current last paragraph to a different
>> section).
>
> This one I had a lot of trouble with. I tried to put in some new
> language, but it feels out of place to me somehow. I'm not sure that
> this document should make assertions about the correctness of TLS 1.3,
> as well vetted as it has been, so I tried to phrase it in terms of "this
> mechanism is useful so long as this property holds", which seems like it
> might belong in security considerations, not the registration section?

This is probably the only really significant point in my review ...  I
can understand your caution here.  It seems to me that the ideal
solution is for TLS 1.3 to have been explicitly designed so that there
are unique master secrets, and then you just reference that.  Now it
seems that everybody thinks TLS 1.3 has this property, so I'd expect
that was an explicit design goal, and it would be documented somewhere.
And then this document could just point to that.

Dale


From nobody Sun Oct 17 21:50:41 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 767333A11AF; Sun, 17 Oct 2021 21:50:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level: 
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 jhKd_aSdQohl; Sun, 17 Oct 2021 21:50:26 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 93CE53A118F; Sun, 17 Oct 2021 21:50:24 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 19I4o8u9002878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Oct 2021 00:50:13 -0400
Date: Sun, 17 Oct 2021 21:50:08 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: "Dale R. Worley" <worley@ariadne.com>
Cc: Sam Whited <sam@samwhited.com>, gen-art@ietf.org, draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org, kitten@ietf.org, last-call@ietf.org
Message-ID: <20211018045008.GF88762@kduck.mit.edu>
References: <5791c4e5-8145-416e-85d2-702a7349f327@www.fastmail.com> <87fst1ejn6.fsf@hobgoblin.ariadne.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87fst1ejn6.fsf@hobgoblin.ariadne.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/5m6LpVAMxG7NAapfyZUppQr0bu0>
Subject: Re: [kitten] Genart last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Oct 2021 04:50:37 -0000

On Fri, Oct 15, 2021 at 11:25:01PM -0400, Dale R. Worley wrote:
> "Sam Whited" <sam@samwhited.com> writes:
> >> The appearance of this paragraph in this section suggests (but does
> >> not assert) that in TLS 1.3, the cipher negotiation always results in
> >> unique master secrets.  Indeed, it would be extremely convenient if
> >> (standard-conformant) use of TLS 1.3 always did so, and if so, it
> >> would be convenient to inform the user by asserting that at the end of
> >> section 2 (after moving the current last paragraph to a different
> >> section).
> >
> > This one I had a lot of trouble with. I tried to put in some new
> > language, but it feels out of place to me somehow. I'm not sure that
> > this document should make assertions about the correctness of TLS 1.3,
> > as well vetted as it has been, so I tried to phrase it in terms of "this
> > mechanism is useful so long as this property holds", which seems like it
> > might belong in security considerations, not the registration section?
> 
> This is probably the only really significant point in my review ...  I
> can understand your caution here.  It seems to me that the ideal
> solution is for TLS 1.3 to have been explicitly designed so that there
> are unique master secrets, and then you just reference that.  Now it
> seems that everybody thinks TLS 1.3 has this property, so I'd expect
> that was an explicit design goal, and it would be documented somewhere.
> And then this document could just point to that.

The last paragraph of
https://datatracker.ietf.org/doc/html/rfc8446#appendix-D discusses how TLS
1.3 should be treated as always providing the RFC 7627 "extended master
secret" behavior; that RFC, in turn, discusses the (non-)uniqueness of the
master secret in the absence of the "extended" behavior.

https://datatracker.ietf.org/doc/html/rfc8446#appendix-D also discusses the
uniqueness of TLS 1.3 secrets/keys.

-Ben


From nobody Mon Oct 18 03:44:33 2021
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E340A3A12B2; Mon, 18 Oct 2021 03:44:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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_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 (2048-bit key) header.d=samwhited.com header.b=cH1YsI9i; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=cGaOL+7v
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 CvWikAkbs5Zs; Mon, 18 Oct 2021 03:44:24 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BDBE03A0BAC; Mon, 18 Oct 2021 03:44:23 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BC48F5C0152; Mon, 18 Oct 2021 06:44:20 -0400 (EDT)
Received: from imap42 ([10.202.2.92]) by compute1.internal (MEProxy); Mon, 18 Oct 2021 06:44:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=eh EOCYm3emdWjWE45bOJjv13/4gAh+HBF66HySMTwao=; b=cH1YsI9iUwcCUOG3EU 23HvDnG7qQd4jKcgK1vO/IkSi9wrcV8akBoMs1FdUDDa/arA6LolPF7GKKryDhTy bKGnq90IN7SjHoqckUOTOnWPw5RClndWpITnaVXrcpUPlVozuwZKTZAFObcUGPzH 05y6DCeI6fEUZCZaRfbofLnFL8N0pxYu/K0YE11bklr5LRMsx6xE/20FqW8Z9gvj oKKXbhQPueD7InZZi4EZawt3lnbQw2CRWXI78cS5YfsKdLpRvXfLt26HTzPVpC2l 9OjisMTTh21IZL06mPf3Eww1G24wiZZCEkOgYSFWZqwfX2VTiWv1zq4lA42rnP/n 0z5g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=ehEOCYm3emdWjWE45bOJjv13/4gAh+HBF66HySMTw ao=; b=cGaOL+7vhVDrnxxSwEF+JhRoqRd25ZVF8yuvNtV8nF0yUDPcO9vCxVZ3H Mz/TFdhmGM6FLpu4ihmg5fGNP6oDIr3nh/BbHBIlELHpApLmU0Q0UbKJLR2Jfvq6 iIlrorgM3C55DJxGbZNXPstQt1IGYdfBuLL03AhEr0BvD+zQeWfD92nCdWQ3AHTL aY/0YcFbXDPzi/MV+OOIef4XYl/pSxD/mxDzLOJRHng+BaWlCBTtnVXj+U5ta5NJ NORxF72od78bD1EnN2weTbiggDpCuupmgqfjcoQ01Ap4fx+aDp4GznYQ9ekqxdq1 xVXMginrReeQAbLaVYK7bScGt9e8g==
X-ME-Sender: <xms:BFBtYT7ncKxK-HCIm-cNx-4dPS56C01OAT9j8NEQlZBFrJetj7W5SQ> <xme:BFBtYY5F8hQYhG0c2cv1InGjBcjztEzzkoDjgcika9qstdKnj9G_B4LE3zV_Hswhi jUStOfuHYsd57RT5A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddvtddgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfufgr mhcuhghhihhtvggufdcuoehsrghmsehsrghmfihhihhtvggurdgtohhmqeenucggtffrrg htthgvrhhnpeefuddukeekueetueelfeeguedvuedvffehvdevieffgeehhfejffdtveev uedvffenucffohhmrghinhepihgvthhfrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepshgrmhesshgrmhifhhhithgvugdrtghomh
X-ME-Proxy: <xmx:BFBtYaeJ7c_Jd-FURY4TXTFypnDpvDkiarkfRXRQ0uXdteJRrQCF3g> <xmx:BFBtYUISp-76bjTzB5k9ccyHdbB7rd-AAlqGT3Pj3BTUABMqrVdOJA> <xmx:BFBtYXLWpQSRt5OVNErwRxm25Onn0YDedzf1EHKXvdILLEOqMSE3lw> <xmx:BFBtYf07Vxhmpf3Dl14-jgkS-mhmvP2uSKP7M8rg0iehWAtQezTIEw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4C1C82180075; Mon, 18 Oct 2021 06:44:20 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1345-g8441cd7852-fm-20211006.001-g8441cd78
Mime-Version: 1.0
Message-Id: <ef2a2958-230a-402d-a1ac-d5bd698993e7@www.fastmail.com>
In-Reply-To: <20211018045008.GF88762@kduck.mit.edu>
References: <5791c4e5-8145-416e-85d2-702a7349f327@www.fastmail.com> <87fst1ejn6.fsf@hobgoblin.ariadne.com> <20211018045008.GF88762@kduck.mit.edu>
Date: Mon, 18 Oct 2021 06:43:59 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "Benjamin Kaduk" <kaduk@mit.edu>, "Dale R. Worley" <worley@ariadne.com>
Cc: gen-art@ietf.org, draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org, "KITTEN Working Group" <kitten@ietf.org>, last-call@ietf.org
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/0yfJNOuKwzO8brYy41R-4z9eSXY>
Subject: Re: [kitten] Genart last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Oct 2021 10:44:31 -0000

Looks like the same link got included twice? But thank you, I'll try to
rework the language again to reference that.

=E2=80=94Sam

On Mon, Oct 18, 2021, at 00:50, Benjamin Kaduk wrote:
> On Fri, Oct 15, 2021 at 11:25:01PM -0400, Dale R. Worley wrote:
>> "Sam Whited" <sam@samwhited.com> writes:
>> >> The appearance of this paragraph in this section suggests (but
>> >> does not assert) that in TLS 1.3, the cipher negotiation always
>> >> results in unique master secrets.  Indeed, it would be extremely
>> >> convenient if (standard-conformant) use of TLS 1.3 always did so,
>> >> and if so, it would be convenient to inform the user by asserting
>> >> that at the end of section 2 (after moving the current last
>> >> paragraph to a different section).
>> >
>> > This one I had a lot of trouble with. I tried to put in some new
>> > language, but it feels out of place to me somehow. I'm not sure
>> > that this document should make assertions about the correctness of
>> > TLS 1.3, as well vetted as it has been, so I tried to phrase it in
>> > terms of "this mechanism is useful so long as this property holds",
>> > which seems like it might belong in security considerations, not
>> > the registration section?
>>
>> This is probably the only really significant point in my review ...
>> I can understand your caution here.  It seems to me that the ideal
>> solution is for TLS 1.3 to have been explicitly designed so that
>> there are unique master secrets, and then you just reference that.
>> Now it seems that everybody thinks TLS 1.3 has this property, so I'd
>> expect that was an explicit design goal, and it would be documented
>> somewhere. And then this document could just point to that.
>
> The last paragraph of
> https://datatracker.ietf.org/doc/html/rfc8446#appendix-D
> discusses how TLS
> 1.3 should be treated as always providing the RFC 7627 "extended
>   master secret" behavior; that RFC, in turn, discusses the (non-
>   )uniqueness of the master secret in the absence of the "extended"
>   behavior.
>
> https://datatracker.ietf.org/doc/html/rfc8446#appendix-D also
> discusses the uniqueness of TLS 1.3 secrets/keys.
>
> -Ben

--=20
Sam Whited


From nobody Mon Oct 18 03:56:36 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: kitten@ietf.org
Delivered-To: kitten@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0BC673A0BF1; Mon, 18 Oct 2021 03:55:20 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: kitten@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: kitten@ietf.org
Message-ID: <163455451834.21464.9241587304885075821@ietfa.amsl.com>
Date: Mon, 18 Oct 2021 03:55:18 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/XE0mVcX5IQWKi9sPZKD2un9VRuo>
Subject: [kitten] I-D Action: draft-ietf-kitten-tls-channel-bindings-for-tls13-11.txt
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Oct 2021 10:55:22 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Common Authentication Technology Next Generation WG of the IETF.

        Title           : Channel Bindings for TLS 1.3
        Author          : Sam Whited
	Filename        : draft-ietf-kitten-tls-channel-bindings-for-tls13-11.txt
	Pages           : 6
	Date            : 2021-10-18

Abstract:
   This document defines a channel binding type, tls-exporter, that is
   compatible with TLS 1.3 in accordance with RFC 5056, On Channel
   Binding.  Furthermore it updates the "default" channel binding to the
   new binding for versions of TLS greater than 1.2.  This document
   updates RFC5801, RFC5802, RFC5929, and RFC8446.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-kitten-tls-channel-bindings-for-tls13/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-kitten-tls-channel-bindings-for-tls13-11.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-kitten-tls-channel-bindings-for-tls13-11


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Mon Oct 25 06:45:10 2021
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF43B3A0DB8; Mon, 25 Oct 2021 06:45:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.429
X-Spam-Level: 
X-Spam-Status: No, score=-5.429 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, NICE_REPLY_A=-3.33, SPF_HELO_NONE=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=isode.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 YAvBFifYG0-a; Mon, 25 Oct 2021 06:44:57 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id 87ED83A0C60; Mon, 25 Oct 2021 06:44:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1635169494; d=isode.com; s=june2016; i=@isode.com; bh=+bS3rD15j5fP7y7RTHpTkX/TUhyvX0H45J6J8kOWgA0=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=JGaE0Qzf3wp2DcWK6c/9zRBGZDzzT3Cv3WezeoDzaXuJy9L5QHYihmBuiMrf7QxJFtTwYk 5xY9lwE4CiSKDbbUm9N2LhPT6/eSVgKXeswdYf2p8BhIj2tZiaaIPtXMj0/z0nSQdjKv2j NAsswB8XujVI+oLf6cVXT9PGCAuBy1k=;
Received: from [192.168.1.222] (host5-81-100-13.range5-81.btcentralplus.com [5.81.100.13])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <YXa01ABc-a0w@waldorf.isode.com>; Mon, 25 Oct 2021 14:44:53 +0100
To: Sam Whited <sam@samwhited.com>, Ludovic BOCQUET <ludo_bocquet@hotmail.com>
Cc: KITTEN Working Group <kitten@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org" <draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org>
References: <163415374625.30942.884569969141527344@ietfa.amsl.com> <PR3P193MB1070CF0B74981CAF46C38739F9B89@PR3P193MB1070.EURP193.PROD.OUTLOOK.COM> <76baf740-44ac-48c9-8c78-bd36fcb5ee48@www.fastmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <3e31bd21-372a-a154-3863-61ec62250c54@isode.com>
Date: Mon, 25 Oct 2021 14:44:52 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
In-Reply-To: <76baf740-44ac-48c9-8c78-bd36fcb5ee48@www.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-GB
Content-transfer-encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/DvDUpK3FvxNX09zuRwOJvAsKXig>
Subject: Re: [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2021 13:45:08 -0000

On 15/10/2021 14:41, Sam Whited wrote:
> As I've mentioned before to you, I don't believe it updates this
> document in any way as the statement about unique master secrets in that
> document is still true either way and does not need to be modified. I'm
> not against adding this if others also agree, but I just don't see it.
As RFC 7677 only specifies use of "tls-unique" as=20
mandatory-to-implement, I agree that it should be updated to point to=20
your draft.
> Maybe you could propose some text for how you think it updates 7677 or
> where you think a reference to 7677 would be appropriate and that would
> make things more clear?

How about a short new section ("Update to RFC 7677") that contains=20
something like the following:

 =C2=A0=C2=A0 As "tls-unique" channel binding is not defined for TLS 1.3 [RF=
C8446],
 =C2=A0=C2=A0 when using SCRAM-SHA-256/SCRAM-SHA-256-PLUS over TLS 1.3, the
 =C2=A0=C2=A0 "tls-exporter" channel binding [tls-1.3-channel-binding] MUST =
be the
 =C2=A0=C2=A0 default channel binding (in the sense specified in Section 6.1=
 of
 =C2=A0=C2=A0 [RFC5802]) to use. =C2=A0=C2=A0 Note that this document doesn'=
t change the default
 =C2=A0=C2=A0 channel binding to use for SCRAM-SHA-256/SCRAM-SHA-256-PLUS ov=
er TLS 1.2
 =C2=A0=C2=A0 [RFC5246], which is still "tls-unique".

Best Regards,

Alexey
> =E2=80=94Sam
>
> On Thu, Oct 14, 2021, at 18:12, Ludovic BOCQUET wrote:
>> It is possible to add in "Updates": 7677?
>>
>> In the text too?
>>
>> And at the bottom:
>>
>> [RFC7677]  Tony Hansen,              "SCRAM-SHA-256 and SCRAM-SHA-256-
>> PLUS Simple              Authentication and Security Layer (SASL)
>> Mechanisms",              RFC7677, DOI 10.17487/RFC7677, November
>> 2015,              <https://www.rfc-editor.org/info/rfc7677>.
>>
>> Thanks in advance.


From nobody Mon Oct 25 07:22:03 2021
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF9D93A08B6; Mon, 25 Oct 2021 07:22:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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_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 (2048-bit key) header.d=samwhited.com header.b=DelpiQmJ; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=ZFVCIFzQ
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 tZ4LzjgJMi2p; Mon, 25 Oct 2021 07:21:57 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F18933A0653; Mon, 25 Oct 2021 07:21:56 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 23DD55C022B; Mon, 25 Oct 2021 10:21:56 -0400 (EDT)
Received: from imap42 ([10.202.2.92]) by compute1.internal (MEProxy); Mon, 25 Oct 2021 10:21:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=r2 UEWSGjd/ET7ZP1FZF4DtqIQ0+0j2SARQ7dr1sA7ns=; b=DelpiQmJHZr0m4a0VG ZR7B30V6eM5GHoMm3C626BkDi6d86pqJqdMJrd2FvD9TsjKs7GPICwXYD9n2MQTj x7m135giyRmGjUaFdW5nWS2jmppEeZ3leXPPc647oUBr8hSlr1Lu0DkSBo2GxIoq T5Ud44W/ry+q3Gl0fbo5cZh2+mPeXgKVVGY5QyowYReBQCERNbqVFlxbU0Xblcc0 cJjQMLU78GF4Dk7sWASjFnKI5w+mR7ZBwj1BF97DIVv+qpEOotB3gU2ZDX8GZt0y p2bnkTUxqoBiaLtdejdWnz7TT+P+yTZk5H45gQK6Qv++KfqbvriX0+uC4+YuM31S nISA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=r2UEWSGjd/ET7ZP1FZF4DtqIQ0+0j2SARQ7dr1sA7 ns=; b=ZFVCIFzQJLtqyrQZossjQbd5XkR/jD2sn8Y1ToKJC9X/p178LuLfTesFd lWHxeaGvWumb8cotRZalMvbAlNHttIz0jweFlt2b28WjvEd4e3K2Qig7WT3Sh/j4 RWpu+9VgCgdd1lC0ctG/yIr0Q7XZr2xwNcMB0/pwaXHtl4aidrR0+tKfv6Wn8m/G W2nf77umYoPSxEFOz26IUP5YkHRiXwW0YK/+QVIxN7WMJYTtlLWNaZR5G4Fyw94j 8wjKrJbaLSm0BOhSSzuwWNu5c63gpj+nQGO2QMVPg6wCJhpRMI9y7OjVEqsC82yV jUfGWEm9/rra9aB0wfdasn96w8pvA==
X-ME-Sender: <xms:g712YR3OFTXHNpiMJKNaocTrqK40ooDKn6FX2FIuWNdPlmkHJg-5ZQ> <xme:g712YYHsKKKEk8KuuAV3X70JuH3ziEshAMI91wDTBNcpAT7HS9p7RSORwMt5tYL7G XPyAv48DiBjYWn7NA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfufgr mhcuhghhihhtvggufdcuoehsrghmsehsrghmfihhihhtvggurdgtohhmqeenucggtffrrg htthgvrhhnpedvffeuvdduhfefvdeiheeukeffhfekjeevgffggedtlefhhffhieevkedu vefhjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmsehsrghmfihhihhtvggurdgtohhm
X-ME-Proxy: <xmx:g712YR7xNKw9PEiWIzlbfmI4h7Diid_2eDP_1ahz3xv2M1B7P_pFCA> <xmx:g712Ye0Jt3Nf0QB6xtevDri5mq7n9-TYrRz9ZBxQSd0oKmmo79PzDA> <xmx:g712YUHsmaAAVldMs4yz2PcEoT3qoPiPTBKMCBegQWjw50WPbH-6Ig> <xmx:hL12YZTgw47l6FJwnK7DLimqRyulgVQTiTJg2FntP_uLHtjoIwRfOg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id C7BB72180085; Mon, 25 Oct 2021 10:21:55 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1369-gd055fb5e7c-fm-20211018.002-gd055fb5e
Mime-Version: 1.0
Message-Id: <61a39341-6249-4597-a13d-7c29c87df06a@www.fastmail.com>
In-Reply-To: <3e31bd21-372a-a154-3863-61ec62250c54@isode.com>
References: <163415374625.30942.884569969141527344@ietfa.amsl.com> <PR3P193MB1070CF0B74981CAF46C38739F9B89@PR3P193MB1070.EURP193.PROD.OUTLOOK.COM> <76baf740-44ac-48c9-8c78-bd36fcb5ee48@www.fastmail.com> <3e31bd21-372a-a154-3863-61ec62250c54@isode.com>
Date: Mon, 25 Oct 2021 10:21:35 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "Alexey Melnikov" <alexey.melnikov@isode.com>, "Ludovic BOCQUET" <ludo_bocquet@hotmail.com>
Cc: "KITTEN Working Group" <kitten@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org" <draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/3616WaO3HK5K-JsdSIgy19FWado>
Subject: Re: [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2021 14:22:02 -0000

I don't think RFC 7677 actually does define a mandatory-to- implement
channel binding, or am I missing something? If it does, that would make
sense as a good reason to update it.

=E2=80=94Sam

On Mon, Oct 25, 2021, at 09:44, Alexey Melnikov wrote:
> As RFC 7677 only specifies use of "tls-unique" as mandatory-to-
> implement, I agree that it should be updated to point to your draft.
>> Maybe you could propose some text for how you think it updates 7677
>> or where you think a reference to 7677 would be appropriate and that
>> would make things more clear?


From nobody Mon Oct 25 07:24:18 2021
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C0F33A0905; Mon, 25 Oct 2021 07:24:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.429
X-Spam-Level: 
X-Spam-Status: No, score=-5.429 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, NICE_REPLY_A=-3.33, SPF_HELO_NONE=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=isode.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 bhzYjhkdhQYO; Mon, 25 Oct 2021 07:24:08 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id D79663A08DC; Mon, 25 Oct 2021 07:24:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1635171846; d=isode.com; s=june2016; i=@isode.com; bh=dfktsGah2F8826c1E7owG8FLlVYM8SvFPqFW+6Jue2A=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Ugdj8A0qTMYVnCdZrbdzF6FX28pjCb4Gww48X5eQx6wwOZpguKdA3LBa9ZXDfluH+DjpMh yTUSKFxJstk3PIHTKbEZdRC4xHHQpWafDgiOB95g9wEkyHZrSqJP5lfhmfPrhVIxSsjZYE 1hwtiD3Rtl0BJ5CKv24h6FxveP7x9pA=;
Received: from [192.168.1.222] (host5-81-100-13.range5-81.btcentralplus.com [5.81.100.13])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <YXa-BQBc-bZs@waldorf.isode.com>; Mon, 25 Oct 2021 15:24:06 +0100
To: Sam Whited <sam@samwhited.com>, Ludovic BOCQUET <ludo_bocquet@hotmail.com>
Cc: KITTEN Working Group <kitten@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org" <draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org>
References: <163415374625.30942.884569969141527344@ietfa.amsl.com> <PR3P193MB1070CF0B74981CAF46C38739F9B89@PR3P193MB1070.EURP193.PROD.OUTLOOK.COM> <76baf740-44ac-48c9-8c78-bd36fcb5ee48@www.fastmail.com> <3e31bd21-372a-a154-3863-61ec62250c54@isode.com> <61a39341-6249-4597-a13d-7c29c87df06a@www.fastmail.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <3a041599-bc74-02de-021f-53eb6b86371b@isode.com>
Date: Mon, 25 Oct 2021 15:23:53 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
In-Reply-To: <61a39341-6249-4597-a13d-7c29c87df06a@www.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-GB
Content-transfer-encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/7-Nl55gaCfQeOFE1ia-MXY7uZUA>
Subject: Re: [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2021 14:24:12 -0000

On 25/10/2021 15:21, Sam Whited wrote:

> I don't think RFC 7677 actually does define a mandatory-to- implement
> channel binding, or am I missing something?
It doesn't change the MTI "tls-unique" defined in RFC 5802. Your draft=20
already updates RFC 5802, so I think it should similarly update RFC 7677.
> If it does, that would make
> sense as a good reason to update it.
>
> =E2=80=94Sam
>
> On Mon, Oct 25, 2021, at 09:44, Alexey Melnikov wrote:
>> As RFC 7677 only specifies use of "tls-unique" as mandatory-to-
>> implement, I agree that it should be updated to point to your draft.
>>> Maybe you could propose some text for how you think it updates 7677
>>> or where you think a reference to 7677 would be appropriate and that
>>> would make things more clear?


From nobody Mon Oct 25 10:28:22 2021
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 558E73A096F; Mon, 25 Oct 2021 10:28:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.12
X-Spam-Level: 
X-Spam-Status: No, score=-2.12 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_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=samwhited.com header.b=DXKU8ckW; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=asrVhbDX
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 LImqc5bUSjL7; Mon, 25 Oct 2021 10:28:11 -0700 (PDT)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6D823A0942; Mon, 25 Oct 2021 10:28:10 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6E15F5C0206; Mon, 25 Oct 2021 13:28:07 -0400 (EDT)
Received: from imap42 ([10.202.2.92]) by compute1.internal (MEProxy); Mon, 25 Oct 2021 13:28:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=pU 3SrCMkdsACXPeRKTptFThImpqdfjkOD0CeFwxNUJ8=; b=DXKU8ckWqoK0L/bxw8 4QN9kA7bfeAcZ7uVQbfA6LacGxskAZhPF9mBQBdppPwvpm3BWFxTKeaXd0aK39Zu fjtR2o+3fg2/Cuag+YwgpTx8nW/yVXPyHVDcx8vUyQBRG86aIqAUE3V7y3ZepTS/ zcd6NAee33R5J8wEsCw1+hu4MwWFAbZOgVvpRLp8OJc2DmvJ2qoposUCPj5pprjJ 2SkZAemERoO5w7xEqeIMtdR/2OavvP4VWur2V3lVbFLKZEzxREQjLSj0cdGcLmGo US+poXtuxshGvJ1Y4iNx2a5rTc1co3N0gj+MBMzzjOOrWLnejCOhtBxNgx54zuvY KuEQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=pU3SrCMkdsACXPeRKTptFThImpqdfjkOD0CeFwxNU J8=; b=asrVhbDXGzSrJxwG0DWLuPZrM3egYleMYpagbw7xH643iFaaMQTzFRP3B ihbbeagZpLNkFuRYDnvfFxReRXK2CmIKzxse2K/Rj+x5My1wTcRw4CCJVO+BJ9h8 odXc7QzDLR0aw3fDceN9sjm6jx0bO/yWPouYsSNvh3TaEjTC5KhEldl202PEZD0h s9TgfA96lGXiVCl1WkD2Ke7mhI4QwBQ+OKmkZDcRYkrs862cz02GCezKoiAiQOti 1XK9r+Z7k2DDCWSG4rDOAsxfukMMom1T5Srx+8OqyXSVvPEltLzYLwSKAldvvyQu 9gVk3VRzqMM+v/+EAlnLZGlJS3Gow==
X-ME-Sender: <xms:J-l2YZ59e5cYKj752BAyf4Bev_awmHi8M9J3BrAjy_pHP9YEN2n_0A> <xme:J-l2YW6MDox3asOBtUISwp9_6gnRL5rjcrfEVkybTjQX1_pwKJ4OHMDZnDoUWZTgM g7XRwEyJpLhAMiHBw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfu rghmucghhhhithgvugdfuceoshgrmhesshgrmhifhhhithgvugdrtghomheqnecuggftrf grthhtvghrnhepvdffuedvudfhfedvieehueekfffhkeejvefggfegtdelhffhhfeiveek udevhfejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhesshgrmhifhhhithgvugdrtghomh
X-ME-Proxy: <xmx:J-l2YQf3JIXV4FvVzgKFZ4QJTi7E_t_alep1YaPdyysVtABV7sO5yw> <xmx:J-l2YSLkBPjS7mZw3drtIiKPoCl2hBMcx9dQTn5vkQOHhvp2BikiOQ> <xmx:J-l2YdJypwb2PpY1wPJaY3cLURo_tC4RPjGYzcQ_ej6WsjsaNqPQ3w> <xmx:J-l2YUVIC5_sJ1w-oighoWY8kETlBMSCWXEJ2HlsgsIOemWT5Kv4xw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1DBA02180085; Mon, 25 Oct 2021 13:28:07 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1369-gd055fb5e7c-fm-20211018.002-gd055fb5e
Mime-Version: 1.0
Message-Id: <9cc8a70d-367a-454f-92ef-da192ee976f5@www.fastmail.com>
In-Reply-To: <3a041599-bc74-02de-021f-53eb6b86371b@isode.com>
References: <163415374625.30942.884569969141527344@ietfa.amsl.com> <PR3P193MB1070CF0B74981CAF46C38739F9B89@PR3P193MB1070.EURP193.PROD.OUTLOOK.COM> <76baf740-44ac-48c9-8c78-bd36fcb5ee48@www.fastmail.com> <3e31bd21-372a-a154-3863-61ec62250c54@isode.com> <61a39341-6249-4597-a13d-7c29c87df06a@www.fastmail.com> <3a041599-bc74-02de-021f-53eb6b86371b@isode.com>
Date: Mon, 25 Oct 2021 13:27:46 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "Alexey Melnikov" <alexey.melnikov@isode.com>, "Ludovic BOCQUET" <ludo_bocquet@hotmail.com>
Cc: "KITTEN Working Group" <kitten@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org" <draft-ietf-kitten-tls-channel-bindings-for-tls13.all@ietf.org>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/c60XypH0K9BPxw9NzSMtvdGCI8Q>
Subject: Re: [kitten] Opsdir last call review of draft-ietf-kitten-tls-channel-bindings-for-tls13-09
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2021 17:28:16 -0000

I see; that makes sense. An update has been submitted; thanks!

=E2=80=94Sam

On Mon, Oct 25, 2021, at 10:23, Alexey Melnikov wrote:
> On 25/10/2021 15:21, Sam Whited wrote:
>
>> I don't think RFC 7677 actually does define a mandatory-to- implement
>> channel binding, or am I missing something?
> It doesn't change the MTI "tls-unique" defined in RFC 5802. Your draft=20
> already updates RFC 5802, so I think it should similarly update RFC 76=
77.
>> If it does, that would make
>> sense as a good reason to update it.
>>
>> =E2=80=94Sam
>>
>> On Mon, Oct 25, 2021, at 09:44, Alexey Melnikov wrote:
>>> As RFC 7677 only specifies use of "tls-unique" as mandatory-to-
>>> implement, I agree that it should be updated to point to your draft.
>>>> Maybe you could propose some text for how you think it updates 7677
>>>> or where you think a reference to 7677 would be appropriate and that
>>>> would make things more clear?

--=20
Sam Whited


From nobody Mon Oct 25 10:29:53 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: kitten@ietf.org
Delivered-To: kitten@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7DCE43A0D36; Mon, 25 Oct 2021 10:29:48 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: kitten@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.39.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: kitten@ietf.org
Message-ID: <163518298840.19493.10224367054558987630@ietfa.amsl.com>
Date: Mon, 25 Oct 2021 10:29:48 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/rr62PNSV5hD07Cwqork6aCpX2bU>
Subject: [kitten] I-D Action: draft-ietf-kitten-tls-channel-bindings-for-tls13-12.txt
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Oct 2021 17:29:49 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Common Authentication Technology Next Generation WG of the IETF.

        Title           : Channel Bindings for TLS 1.3
        Author          : Sam Whited
	Filename        : draft-ietf-kitten-tls-channel-bindings-for-tls13-12.txt
	Pages           : 6
	Date            : 2021-10-25

Abstract:
   This document defines a channel binding type, tls-exporter, that is
   compatible with TLS 1.3 in accordance with RFC 5056, On Channel
   Binding.  Furthermore it updates the "default" channel binding to the
   new binding for versions of TLS greater than 1.2.  This document
   updates RFC5801, RFC5802, RFC5929, RFC7677, and RFC8446.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-kitten-tls-channel-bindings-for-tls13/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-kitten-tls-channel-bindings-for-tls13-12.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-kitten-tls-channel-bindings-for-tls13-12


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Tue Oct 26 03:43:43 2021
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB7D23A0E78 for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 03:43:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, SPF_HELO_NONE=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=isode.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 t16lXIasVNWF for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 03:43:37 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id CA6543A0E73 for <kitten@ietf.org>; Tue, 26 Oct 2021 03:43:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1635245015; d=isode.com; s=june2016; i=@isode.com; bh=9bQlW2obrgCXIWjPBQ88GuULqbzrAuw6TdRAa018Ews=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=P4aT3UOrLT/6ohdv2BvIvmTvD9Knph1bTb8HCWkCR0iCTdYYSoN01mT9SxDXmwzab6Bv36 DIx9sVgMmCjKH2WGW7WCLvcg6Earrkysquj5hZeOMguviw6py3U/t1AXL5Eal6FVQ0Q30W 5whRJhOGjNsiizVBPJeeNMhNyV7p3Iw=;
Received: from [192.168.1.222] (host5-81-100-13.range5-81.btcentralplus.com [5.81.100.13])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <YXfb1gBc-YQi@waldorf.isode.com>; Tue, 26 Oct 2021 11:43:35 +0100
To: "kitten@ietf.org" <kitten@ietf.org>, Robbie Harwood <rharwood@redhat.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <4a14c16b-644f-ac40-7b3a-a1712c9aa3d2@isode.com>
Date: Tue, 26 Oct 2021 11:43:25 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/J1C3oYp-LfvXHAFMb1vmhGGix4c>
Subject: [kitten] Requesting WG adoption of several SCRAM related documents
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2021 10:43:42 -0000

Dear Kitten WG participants,

I would like to request WG adoption of several SCRAM related documents:

1) Extensions to Salted Challenge Response (SCRAM) for 2 factor 
authentication
<https://datatracker.ietf.org/doc/draft-melnikov-scram-2fa/>

There were some earlier discussions of this document and it seems to be 
in scope for the current charter.

2) SCRAM-SHA-512 and SCRAM-SHA-512-PLUS Simple Authentication and 
Security Layer (SASL) Mechanisms
<https://datatracker.ietf.org/doc/draft-melnikov-scram-sha-512/>

This is already implemented in Cyrus SASL, so it would be good to have 
stable documentation.

3) SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS Simple Authentication and 
Security Layer (SASL) Mechanisms
<https://datatracker.ietf.org/doc/draft-melnikov-scram-sha3-512/>

Best Regards,

Alexey

P.S. As I am editing various documents mentioned in this email, my 
co-chair Robbie will judge consensus on adoption of each document.


From nobody Tue Oct 26 05:55:19 2021
Return-Path: <brong@fastmailteam.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 22DFD3A0E7A for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 05:55:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, 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 (2048-bit key) header.d=fastmailteam.com header.b=KnbN09hB; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=lnAW7NS7
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 Kr4TbOPXAEeA for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 05:55:12 -0700 (PDT)
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 05FCD3A0E0A for <kitten@ietf.org>; Tue, 26 Oct 2021 05:55:11 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 82E923201C29 for <kitten@ietf.org>; Tue, 26 Oct 2021 08:55:11 -0400 (EDT)
Received: from imap43 ([10.202.2.93]) by compute6.internal (MEProxy); Tue, 26 Oct 2021 08:55:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:date:from:to:subject :content-type; s=fm1; bh=VG1q//X+79UUAIYMiZDDgacqGgyDOtsLAjWIpny pZ6w=; b=KnbN09hBbAXpGPqp7TuHy5L2uFn+Eb6eY1CuUvfOhYtWbSw5vSK0qEK 2owsJZV/8tvWpUr0IrHQZJ17/FM5/Lr2MO2x/xxXltxZR3DkK6ZHqYeB60LoPi91 dpnUJGfiIsL8vgAaW/eyYhnvWXGWQis0Wys0LNgFU25tZ2t+HNvI1/eD5rtEg6r6 JrHzQ4cnPlUN88RVe64YjZHHX4jd18Y6WIXc1H52MLVVbNo/MDogcG23k8mEeJ9b fVuaPomDt9pGiTzZlC701+mUvHMg78SX+Tz23d8jwVWvb7mM/jc8Zr2EkFL/1R1N ZGjW3VxoBmgZ6ClEjiJfl78UDyVYRUQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=VG1q//X+79UUAIYMiZDDgacqGgyDO tsLAjWIpnypZ6w=; b=lnAW7NS7Wlo3KjH/D7ibr4JT2Ck1Th//2V1dnBj4Kbmf8 d27wdaa1xpk4+XA87lp2pztUm0/fRtNrdGY3eKo7TTJGuKg8LItSWgPBHL4XYiH9 yTC3DlnzrnjTbDxFYlxDq1FS2RjFioNQC3D829RJVsKoKo3RHr5CEAx1mX63WDAG XR7aNtRMiFmTPKDTZXPZrZzewGiD1SdwSQyBQhgh6wVJG3+Do/1piacRteNPn8kp GAWpe5f1r7kVWf8A7JxDychxGAR5bkx/URgH6HvTVKJRJXpo3LWIe8nQdH/qJkfn GJ9FKnbd8zhjTB9OScG3AIXTVGVtOwyG5XjMs0EWg==
X-ME-Sender: <xms:rvp3YWsesisfKH3GoDBE8Z2Q5SKZaRq6MUeFfn832osEa4G9Vgduhg> <xme:rvp3Ybcxxb5NR8vJBxIkx1xjtmK_z-jFkjCg3fJcoQybHO_J7lXjC8pfzqctLOlXc Alk8Gg0zh4>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefkedgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsegrtderre erredtnecuhfhrohhmpedfuehrohhnucfiohhnugifrghnrgdfuceosghrohhnghesfhgr shhtmhgrihhlthgvrghmrdgtohhmqeenucggtffrrghtthgvrhhnpefhjeehkeejkeehve eutdejteeihffffeduiedttdejhfelteevueehudeltdeuffenucffohhmrghinhepihgv thhfrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepsghrohhnghesfhgrshhtmhgrihhlthgvrghmrdgtohhm
X-ME-Proxy: <xmx:rvp3YRzttOJiyHSuyMQe3JG0VEtOyI2wI7ScZ66ZnqLRRB2zv9kR5A> <xmx:rvp3YROJwzY6RyDAgghp3F_gM2EcJd7qnWxiYAcVhuJWyGeh_RE1Nw> <xmx:rvp3YW8zMBIfyXSbGeZiuZ-vLGhyfvVExKQ5rbteYUgXauxUO9FSTg> <xmx:r_p3YZLLoam7nQq19m4-ZBo58rZtozhmv_wuizNCa2WXcwDncL3LjA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id D7C72AC03DB; Tue, 26 Oct 2021 08:55:10 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1399-ga34296eb8f-fm-20211021.002-ga34296eb
Mime-Version: 1.0
Message-Id: <a73ffcfe-8225-478c-b046-92bf8ff81c04@dogfood.fastmail.com>
Date: Tue, 26 Oct 2021 23:54:38 +1100
From: "Bron Gondwana" <brong@fastmailteam.com>
To: kitten@ietf.org
Content-Type: multipart/alternative; boundary=70c3d8678b044fe7939c83d10e826d7f
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/cM3W7W_Ad_IZP3pJN1CT6Zub5EU>
Subject: [kitten] Expression of support for Alexey's drafts
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2021 12:55:17 -0000

--70c3d8678b044fe7939c83d10e826d7f
Content-Type: text/plain

Hi all,

For some reason I wasn't subscribed to the kitten working group.  What an egregious oversight.  Now fixed, however I can't be bothered digging through IMAP for his message in order to create a nicely threaded reply, so I'll just quote the text of it inline:

> Subject:
> [kitten] Requesting WG adoption of several SCRAM related documents
> Date:
> Tue, 26 Oct 2021 11:43:25 +0100
> From:
> Alexey Melnikov <alexey.melnikov@isode.com>
> To:
> kitten@ietf.org <kitten@ietf.org>, Robbie Harwood <rharwood@redhat.com>
> 
> 
> Dear Kitten WG participants,
> 
> I would like to request WG adoption of several SCRAM related documents:
> 
> 1) Extensions to Salted Challenge Response (SCRAM) for 2 factor authentication
> <https://datatracker.ietf.org/doc/draft-melnikov-scram-2fa/>
> 
> There were some earlier discussions of this document and it seems to be in scope for the current charter.
> 
> 2) SCRAM-SHA-512 and SCRAM-SHA-512-PLUS Simple Authentication and Security Layer (SASL) Mechanisms
> <https://datatracker.ietf.org/doc/draft-melnikov-scram-sha-512/>
> 
> This is already implemented in Cyrus SASL, so it would be good to have stable documentation.
> 
> 3) SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS Simple Authentication and Security Layer (SASL) Mechanisms
> <https://datatracker.ietf.org/doc/draft-melnikov-scram-sha3-512/>
> 
> Best Regards,
> 
> Alexey
> 
> P.S. As I am editing various documents mentioned in this email, my co-chair Robbie will judge consensus on adoption of each document.

I have read these documents (it didn't take long, they are very short) and I agree that they're worth doing and that Kitten looks like the right place to do it.  They all need further work before publication.

I support their adoption as (probably still, since I subscribed 5 minutes ago) the newest member of this working group!

I even commit to review them again during the last call.

Cheers,

Bron.

--
  Bron Gondwana, CEO, Fastmail Pty Ltd
  brong@fastmailteam.com


--70c3d8678b044fe7939c83d10e826d7f
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div style=3D"font-f=
amily:Arial;">Hi all,<br></div><div style=3D"font-family:Arial;"><br></d=
iv><div style=3D"font-family:Arial;">For some reason I wasn't subscribed=
 to the kitten working group.&nbsp; What an egregious oversight.&nbsp; N=
ow fixed, however I can't be bothered digging through IMAP for his messa=
ge in order to create a nicely threaded reply, so I'll just quote the te=
xt of it inline:<br></div><div style=3D"font-family:Arial;"><br></div><b=
lockquote type=3D"cite"><div class=3D"moz-forward-container"><table clas=
s=3D"moz-email-headers-table" cellspacing=3D"0" cellpadding=3D"0" border=
=3D"0"><tbody><tr><th valign=3D"BASELINE" nowrap=3D"nowrap" align=3D"RIG=
HT">Subject:<br></th><td>[kitten] Requesting WG adoption of several SCRA=
M related
              documents<br></td></tr><tr><th valign=3D"BASELINE" nowrap=3D=
"nowrap" align=3D"RIGHT">Date:<br></th><td>Tue, 26 Oct 2021 11:43:25 +01=
00<br></td></tr><tr><th valign=3D"BASELINE" nowrap=3D"nowrap" align=3D"R=
IGHT">From:<br></th><td>Alexey Melnikov <a class=3D"moz-txt-link-rfc2396=
E" href=3D"mailto:alexey.melnikov@isode.com" rel=3D"noopener noreferrer"=
 target=3D"_blank">&lt;alexey.melnikov@isode.com&gt;</a><br></td></tr><t=
r><th valign=3D"BASELINE" nowrap=3D"nowrap" align=3D"RIGHT">To:<br></th>=
<td><a class=3D"moz-txt-link-abbreviated" href=3D"mailto:kitten@ietf.org=
" rel=3D"noopener noreferrer" target=3D"_blank">kitten@ietf.org</a> <a c=
lass=3D"moz-txt-link-rfc2396E" href=3D"mailto:kitten@ietf.org" rel=3D"no=
opener noreferrer" target=3D"_blank">&lt;kitten@ietf.org&gt;</a>, Robbie=
 Harwood <a class=3D"moz-txt-link-rfc2396E" href=3D"mailto:rharwood@redh=
at.com" rel=3D"noopener noreferrer" target=3D"_blank">&lt;rharwood@redha=
t.com&gt;</a><br></td></tr></tbody></table><div><br></div><div><br></div=
><div>Dear Kitten WG participants,<br></div><div> <br></div><div> I woul=
d like to request WG adoption of several SCRAM related
      documents:<br></div><div> <br></div><div> 1) Extensions to Salted =
Challenge Response (SCRAM) for 2 factor
      authentication<br></div><div> <a class=3D"moz-txt-link-rfc2396E" h=
ref=3D"https://datatracker.ietf.org/doc/draft-melnikov-scram-2fa/" rel=3D=
"noopener noreferrer" target=3D"_blank">&lt;https://datatracker.ietf.org=
/doc/draft-melnikov-scram-2fa/&gt;</a><br></div><div> <br></div><div> Th=
ere were some earlier discussions of this document and it seems
      to be in scope for the current charter.<br></div><div> <br></div><=
div> 2) SCRAM-SHA-512 and SCRAM-SHA-512-PLUS Simple Authentication and
      Security Layer (SASL) Mechanisms<br></div><div> <a class=3D"moz-tx=
t-link-rfc2396E" href=3D"https://datatracker.ietf.org/doc/draft-melnikov=
-scram-sha-512/" rel=3D"noopener noreferrer" target=3D"_blank">&lt;https=
://datatracker.ietf.org/doc/draft-melnikov-scram-sha-512/&gt;</a><br></d=
iv><div> <br></div><div> This is already implemented in Cyrus SASL, so i=
t would be good to
      have stable documentation.<br></div><div> <br></div><div> 3) SCRAM=
-SHA3-512 and SCRAM-SHA3-512-PLUS Simple Authentication
      and Security Layer (SASL) Mechanisms<br></div><div> <a class=3D"mo=
z-txt-link-rfc2396E" href=3D"https://datatracker.ietf.org/doc/draft-meln=
ikov-scram-sha3-512/" rel=3D"noopener noreferrer" target=3D"_blank">&lt;=
https://datatracker.ietf.org/doc/draft-melnikov-scram-sha3-512/&gt;</a><=
br></div><div> <br></div><div> Best Regards,<br></div><div> <br></div><d=
iv> Alexey<br></div><div> <br></div><div> P.S. As I am editing various d=
ocuments mentioned in this email, my
      co-chair Robbie will judge consensus on adoption of each document.=
<br></div></div></blockquote><div style=3D"font-family:Arial;"><br></div=
><div style=3D"font-family:Arial;">I have read these documents (it didn'=
t take long, they are very short) and I agree that they're worth doing a=
nd that Kitten looks like the right place to do it.&nbsp; They all need =
further work before publication.<br></div><div style=3D"font-family:Aria=
l;"><br></div><div style=3D"font-family:Arial;">I support their adoption=
 as (probably still, since I subscribed 5 minutes ago) the newest member=
 of this working group!<br></div><div style=3D"font-family:Arial;"><br><=
/div><div style=3D"font-family:Arial;">I even commit to review them agai=
n during the last call.<br></div><div style=3D"font-family:Arial;"><br><=
/div><div style=3D"font-family:Arial;">Cheers,<br></div><div style=3D"fo=
nt-family:Arial;"><br></div><div style=3D"font-family:Arial;">Bron.<br><=
/div><div style=3D"font-family:Arial;"><br></div><div id=3D"sig56629417"=
><div class=3D"signature">--<br></div><div class=3D"signature">&nbsp; Br=
on Gondwana, CEO, Fastmail Pty Ltd<br></div><div class=3D"signature">&nb=
sp; brong@fastmailteam.com<br></div><div class=3D"signature"><br></div><=
/div><div style=3D"font-family:Arial;"><br></div></body></html>
--70c3d8678b044fe7939c83d10e826d7f--


From nobody Tue Oct 26 07:13:29 2021
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96F403A11C7 for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 07:13:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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_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 (2048-bit key) header.d=samwhited.com header.b=SdoKS/v1; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=NpAjXG7N
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 685El0kLnkZY for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 07:13:21 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B7A83A11C4 for <kitten@ietf.org>; Tue, 26 Oct 2021 07:13:21 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BEBEC5C02CD for <kitten@ietf.org>; Tue, 26 Oct 2021 10:13:17 -0400 (EDT)
Received: from imap42 ([10.202.2.92]) by compute1.internal (MEProxy); Tue, 26 Oct 2021 10:13:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm1; bh=CP1oy QLNER2QJrcZmmoPIr/JoLa6fCGJwKkAsvhtyzg=; b=SdoKS/v1ckQtmQpC+pUy1 /DQ5bc+SlzDeF707cRrV8ECcc7VqPftFt6vp5wSWJNtOVFJnBrqVH3rCNP5Wsl6X qMtlPWzI0lOvR3UNRa+dGKdhnwD8/vaWGF8Q3LGMi1JXkfnucUlnytPgiZ4tWJtp VTaxLRNjyyzHr0MIdraGesFX880kQrgqXhpW0Sug4J71OcT2TQZ6rxedjIeSjMyD lmmWkGZ4Fa52hVOkOZwU+qJxBJva1e2xJNe0XnX2dl0yvHmXUoqA97CzaeKZsjek y8zanppLgRKzKzoDNZhWCCuQj1LQ3rJagLFXcPRUFzPXcmQzzRwzzsK/W/cePFiI Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=CP1oyQLNER2QJrcZmmoPIr/JoLa6fCGJwKkAsvhty zg=; b=NpAjXG7NyNmBl8gz5CAhi9mlL9fXcvmEJvsDTUzbGhweqF1guCW2g81A4 1QtL6WwI3SDl8wZRSoB1t2rPtkD0v30qZCVqdUh4f+jXCzDZVip05TNcFc2UrTam en7wO988vLppCA/fIZg61D3X9pdBVOBo2eExmIXeNTPgZR+dIHls6xSNkL0rjsQP RBavha6ah9yfTtnPMTF2TDI/RXtROY2rkjz3R5AvWgAzgI7W+/KwDlloQSnv9jU5 5dEsoUZXjVeL3RvODBgSt9wOJPUSssJlXwnroyv6amXLa7Yp69SYziEw7tdSnWzP Q8cl8SHfQYzJFGMQY5lE5aG8UUGug==
X-ME-Sender: <xms:_Qx4YQfCauUvAdJoCxevcGHki2yzcrqvgTNJ9OVd20lsfySAgciwfQ> <xme:_Qx4YSMDMdFAGSfKQRK2sXQJflZ8Z-W6vRsDvuZixZ8ulGHoOGX5gpnj-CKybsT69 4RX20XzH5UausJsEw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefkedggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedfufgr mhcuhghhihhtvggufdcuoehsrghmsehsrghmfihhihhtvggurdgtohhmqeenucggtffrrg htthgvrhhnpeefuddukeekueetueelfeeguedvuedvffehvdevieffgeehhfejffdtveev uedvffenucffohhmrghinhepihgvthhfrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepshgrmhesshgrmhifhhhithgvugdrtghomh
X-ME-Proxy: <xmx:_Qx4YRggVFBMCzswRJY4CvV1IiGL1KIVyQZluYAx56aSuOL3BMjugw> <xmx:_Qx4YV-mqnPfnDkt9B6v1N0JZhrwA4tmuCaDrT083avF4eSPtlNN0Q> <xmx:_Qx4Ycv0-Y6L3sjX-SGNucaJoLgJJ9CmNP5aLks2ak1aZIpeQHOhTw> <xmx:_Qx4Ya7GmNEaSCzS-k5JbM_403AN6cbO4fdVd2uB6RPkioXegh6WuA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 538D7218024E; Tue, 26 Oct 2021 10:13:17 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1369-gd055fb5e7c-fm-20211018.002-gd055fb5e
Mime-Version: 1.0
Message-Id: <366c3513-ec4d-4ad1-b84e-68ba4ca7affd@www.fastmail.com>
In-Reply-To: <4a14c16b-644f-ac40-7b3a-a1712c9aa3d2@isode.com>
References: <4a14c16b-644f-ac40-7b3a-a1712c9aa3d2@isode.com>
Date: Tue, 26 Oct 2021 10:12:57 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "KITTEN Working Group" <kitten@ietf.org>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/fWLZ-3ZeNKRaX7YmP9_7wqGT0eQ>
Subject: Re: [kitten] Requesting WG adoption of several SCRAM related documents
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2021 14:13:27 -0000

I have existing implementations of some of these I-D's and support their
adoption. Thanks!

=E2=80=94Sam

On Tue, Oct 26, 2021, at 06:43, Alexey Melnikov wrote:
> Dear Kitten WG participants,
>
> I would like to request WG adoption of several SCRAM related
> documents:
>
> 1) Extensions to Salted Challenge Response (SCRAM) for 2 factor
>    authentication
>    <https://datatracker.ietf.org/doc/draft-melnikov-scram-2fa/>
>
> There were some earlier discussions of this document and it seems to
> be in scope for the current charter.
>
> 2) SCRAM-SHA-512 and SCRAM-SHA-512-PLUS Simple Authentication and
>    Security Layer (SASL) Mechanisms
>    <https://datatracker.ietf.org/doc/draft-melnikov-scram-sha-512/>
>
> This is already implemented in Cyrus SASL, so it would be good to have
> stable documentation.
>
> 3) SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS Simple Authentication and
>    Security Layer (SASL) Mechanisms
>    <https://datatracker.ietf.org/doc/draft-melnikov-scram-sha3-512/>
>
> Best Regards,
>
> Alexey
>
> P.S. As I am editing various documents mentioned in this email, my co-
>      chair Robbie will judge consensus on adoption of each document.


From nobody Tue Oct 26 09:32:50 2021
Return-Path: <jonathan.hoyland@gmail.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87A653A1496; Tue, 26 Oct 2021 09:32:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 IYsx-L1OmDjK; Tue, 26 Oct 2021 09:32:38 -0700 (PDT)
Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA98E3A1494; Tue, 26 Oct 2021 09:32:38 -0700 (PDT)
Received: by mail-qt1-x832.google.com with SMTP id v17so14091536qtp.1; Tue, 26 Oct 2021 09:32:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ymKeavrz7UOrRQNISHtW8sMLuOLlhQ6y2I2SFWPZ33E=; b=SjEVaD7huzz+Iz48SPKmph7PSXSGDcbMNu3H9yEzmNFCv0FnKmwp7eLgcvDUhIyYAT t38fL7jo9A8g4CW8ydg670pGr9s6CvKftq5LtOgk00PZ0K3SZoREgKdPSYGNk+WO+Ezf UpuHuJiEZLt+LyiDI6Ti8cZVWhpJzBWTK40UlreazQm6FGELfKzsoiMC2VfJKwPmfX2q aGF+RN54YmMaRVbKJwMGqe9Biyq8dBmt9CPbJD+ow5if9S9B4pxQ76ZkBn6dReiPkDFj ausZjz45qQqJ/jetb18Y2SmKNIX9hIpJRChcE26NT11Av/mGq0SUxR+H8h+FOgX7IcUd DH5A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ymKeavrz7UOrRQNISHtW8sMLuOLlhQ6y2I2SFWPZ33E=; b=Y2KUFakOucsEuBwwTW+hujlXmAg0NZvTuZGl8MOQiNg2iQ7X1VPGhtRuSoq20M9pMN x61+JGB9TX/kWLh4X/vE/bkvGuRHWYxAP9OTCa8jGMSbHx2lRy0Q/mUZLLxq6qrpHXMp uxF3eVf39maCorSZyXMgqMy3ArUff+8S4I7Paya0ZtTq7JG5wGLsbLO04eWZzC8cn9m/ lMBxBJ1LwvkkNE3G3HffN+3c7BbFtHJQVXSYswqznjU6Wyu+nR3WQgx/uykLsOpcR/7E tVBzFp1VgXBbzzbqLWn1Kx8hDBdEBoHmoJSXLkBCs20yaqoinAKuUVz5x4CNHCAOKGOv aJcg==
X-Gm-Message-State: AOAM531eoQuAEyFdCI1zkU2/8CinaK8rdrIkJSl4tiudhTCd6qeupd5n wZWrUmBa3fCU3Z0S/CErzP4zsN094e/l42BWa6Grix4qg3K1Gw==
X-Google-Smtp-Source: ABdhPJylYEYXJHwcIV6HJH58v0tvymXNXmylY/W1x2lEAhabTH5UC7MUNbk/OOIOnsdSP0oRRarSIlbJfSmVsd4PEV4=
X-Received: by 2002:a05:622a:28f:: with SMTP id z15mr3905469qtw.361.1635265956847;  Tue, 26 Oct 2021 09:32:36 -0700 (PDT)
MIME-Version: 1.0
References: <163311243544.13917.11736165165419008870@ietfa.amsl.com> <20211001190002.GC98042@kduck.mit.edu> <CABcZeBPQG82xJdwMrmj4-=9aJymo1xts=D6VZedBW5X9k+34cQ@mail.gmail.com> <92ed26c1-bfde-43c1-93f4-2bbdbd4f6ec1@www.fastmail.com> <CAChr6Sw6Rs42DfS8KgD3qasPcWM_gGZhWN5C4b7W7JsPy0wDzw@mail.gmail.com> <8796f867-12b8-41f8-b124-82b3ab0e2d32@www.fastmail.com> <CAChr6SyKAnBcE9t68coGGXFt9WPLuDuWtVKoCXrK+QrwAVtPXw@mail.gmail.com> <f1bcd676-13ad-49b3-a8e8-8a272e0124e3@www.fastmail.com> <CABcZeBNo0gKjNZOKPYJYraioaw6G=z5ibTqh-o9GkWsDkfDmSQ@mail.gmail.com> <c4d6f2e5-0712-42a6-aef5-0cbada7e149e@www.fastmail.com> <CABcZeBM6y-6ZqaLGZ=8qr+uBnWOOgczhcx=ruy5S=n-YrHweKg@mail.gmail.com> <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com>
In-Reply-To: <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com>
From: Jonathan Hoyland <jonathan.hoyland@gmail.com>
Date: Tue, 26 Oct 2021 17:32:25 +0100
Message-ID: <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com>
To: Sam Whited <sam@samwhited.com>
Cc: Eric Rescorla <ekr@rtfm.com>, "<tls@ietf.org>" <tls@ietf.org>, KITTEN Working Group <kitten@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000078a3a505cf440638"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/ZTFB-fOSsAAJy2rKxmOK_ywpBHo>
Subject: Re: [kitten] [TLS] Fwd: Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2021 16:32:44 -0000

--00000000000078a3a505cf440638
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Sam, all,

I'd like to again raise the issues I pointed out in
https://mailarchive.ietf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1BPoU/ .
This draft hasn't received enough security analysis, and further, I pointed
out a specific security issue that remains unaddressed.

Using the same label for different protocols produces trivial collisions,
and thus it is perfectly possible that a message meant for GSS-API is
identical in both form and key to a message for SCRAM, and thus there is
strong potential for confusion.
I'm not familiar with either of these protocols, so maybe they have
internal reasons why this example doesn't work, but that misses the much
larger and more significant point.
Any future protocol that uses the same label will potentially be
confusable, and further updates to GSS-API now must ensure that they don't
form valid SCRAM messages, and vice versa.

There isn't even a one-to-one relationship between GSS-API / SCRAM runs.
This channel binding design doesn't protect against messages being swapped
between two GSS-API runs on a single TLS connection.
Again, whether that is a specific problem for GSS-API is totally irrelevant=
.
Another protocol that uses this draft may well be vulnerable, and thus this
is just leaving a huge security landmine in TLS channel bindings.

At an absolute minimum this draft should include "A TLS session using this
RFC to produce a binding for any purpose MUST NOT generate more than one
per session. If a second exporter using this protocol is required the TLS
session MUST be rekeyed."

The correct solution would be to use unique labels for every different mode
and variant of SCRAM and GSS-API, and require this for all runs, and
further include a run number in the label derivation.
This string can be (should be) constructed mechanistically, and commit the
TLS client and TLS server to all relevant security parameters.

Another approach would be to use a fixed string to generate a channel
binding, use that in a run of GSS-API, and then call the Exporter API again
on the hash of the transcript and any relevant key material*.
Taking the resultant output and HKDFing it with the keys resulting from the
GSS-API run would give you a channel binding that is unique for every
unique run of GSS-API.
This is a much stronger binding, tying the specific run of the GSS-API back
to the TLS layer. The idea being that even in the case that the TLS
server's private key has been compromised, if the GSS-API run was secure
then the TLS layer was run honestly (i.e. is with the server.)

Regards,

Jonathan

* Specifically everything listed in Verified Contributive Channel Bindings
for Compound Authentication
<https://www.ndss-symposium.org/wp-content/uploads/2017/09/08_5.pdf>
Section II should be included.



On Mon, 4 Oct 2021 at 01:32, Sam Whited <sam@samwhited.com> wrote:

> 8446 currently contains:
>
> > However, it is also possible to bind such connections to an external
> > authentication mechanism via out-of-band validation of the server's
> > public key, trust on first use, or a mechanism such as channel
> > bindings (though the channel bindings described in [RFC5929] are not
> > defined for TLS 1.3).
>
> If I were part of the TLS group I'd want to see discussion of the the
> parenthetical at the end being  replaced with something like:
>
> "such as the bindings defined in <future RFC number>".
>
> Then the parenthetical could be moved to the security considerations
> section or similar (right now it's quite hard to find).
>
> At the risk of veering into 8446 feedback, I have gotten a lot of push
> back when I mentioned that the RFC5929 channel bindings weren't defined
> for TLS 1.3 in the past, normally something along the lines of "that's
> just one random throw-away sentence in the middle of the document, why
> should I not implement this?"
>
> That being said, I haven't really thought about this and don't know
> whether this would be appropriate or not, I'm just trying to respond to
> your query with some initial thoughts. None of this should be taken as
> what I've been pushing for in the rest of this thread.
>
> =E2=80=94Sam
>
> On Sun, Oct 3, 2021, at 15:02, Eric Rescorla wrote:
> > Sorry to be difficult, but as I said, I'd prefer to focus not on the
> > question of the header of this document but rather on what we wish
> > 8446 said. To that end, what text do you think should go in 8446-bis?
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

--00000000000078a3a505cf440638
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Sam, all,<div dir=3D"ltr"><div><br></div><div>I&#39;d l=
ike to again raise the issues I pointed out in <a href=3D"https://mailarchi=
ve.ietf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1BPoU/">https://mailarchi=
ve.ietf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1BPoU/</a> .</div><div>Th=
is draft hasn&#39;t received enough security analysis, and further, I point=
ed out a specific security issue that remains unaddressed.</div><div><br></=
div><div>Using the same label for different protocols produces trivial coll=
isions, and thus it is perfectly possible that a message meant for GSS-API =
is identical in both form and key to a message for SCRAM, and thus there is=
 strong potential for confusion.<br></div><div>I&#39;m not familiar with ei=
ther of these protocols, so maybe they have internal reasons why this examp=
le doesn&#39;t work, but that misses the much larger and more significant p=
oint. <br></div><div>Any future protocol that uses the same label will pote=
ntially be confusable, and further updates to GSS-API now must ensure that =
they don&#39;t form valid SCRAM messages, and vice versa.</div><div><br></d=
iv><div>There isn&#39;t even a one-to-one relationship between GSS-API / SC=
RAM runs. This channel binding design doesn&#39;t protect against messages =
being swapped between two GSS-API runs on a single TLS connection.</div><di=
v>Again, whether that is a specific problem for GSS-API is totally irreleva=
nt.</div><div>Another protocol that uses this draft may well be vulnerable,=
 and thus this is just leaving a huge security landmine in TLS channel bind=
ings. <br></div><div><br></div><div>At an absolute minimum this draft shoul=
d include &quot;A TLS session using this RFC to produce a binding for any p=
urpose MUST NOT generate more than one per session. If a second exporter us=
ing this protocol is required the TLS session MUST be rekeyed.&quot;</div><=
div><br></div><div>The correct solution would be to use unique labels for e=
very different mode and variant of SCRAM and GSS-API, and require this for =
all runs, and further include a run number in the label derivation. <br></d=
iv><div>This string can be (should be) constructed mechanistically, and com=
mit the TLS client and TLS server to all relevant security parameters. <br>=
</div><div><br></div><div>Another approach would be to use a fixed string t=
o generate a channel binding, use that in a run of GSS-API, and then call t=
he Exporter API again on the hash of the transcript and any relevant key ma=
terial*.<br></div><div>Taking the resultant output and HKDFing it with the =
keys resulting from the GSS-API run would give you a channel binding that i=
s unique for every unique run of GSS-API. <br></div><div>This is a much str=
onger binding, tying the specific run of the GSS-API back to the TLS layer.=
 The idea being that even in the case that the TLS server&#39;s private key=
 has been compromised, if the GSS-API run was secure then the TLS layer was=
 run honestly (i.e. is with the server.)</div><div><br></div><div>Regards,<=
/div><div><br></div><div>Jonathan</div><div><br></div><div>* Specifically e=
verything listed in <a href=3D"https://www.ndss-symposium.org/wp-content/up=
loads/2017/09/08_5.pdf">Verified Contributive Channel Bindings for Compound=
 Authentication</a> Section II should be included. <br></div><div><br></div=
><div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Mon, 4 Oct 2021 at 01:32, Sam Whited &lt;<a href=3D"mail=
to:sam@samwhited.com">sam@samwhited.com</a>&gt; wrote:<br></div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex">8446 currently contains:<br>
<br>
&gt; However, it is also possible to bind such connections to an external<b=
r>
&gt; authentication mechanism via out-of-band validation of the server&#39;=
s<br>
&gt; public key, trust on first use, or a mechanism such as channel<br>
&gt; bindings (though the channel bindings described in [RFC5929] are not<b=
r>
&gt; defined for TLS 1.3).<br>
<br>
If I were part of the TLS group I&#39;d want to see discussion of the the<b=
r>
parenthetical at the end being=C2=A0 replaced with something like:<br>
<br>
&quot;such as the bindings defined in &lt;future RFC number&gt;&quot;.<br>
<br>
Then the parenthetical could be moved to the security considerations<br>
section or similar (right now it&#39;s quite hard to find).<br>
<br>
At the risk of veering into 8446 feedback, I have gotten a lot of push<br>
back when I mentioned that the RFC5929 channel bindings weren&#39;t defined=
<br>
for TLS 1.3 in the past, normally something along the lines of &quot;that&#=
39;s<br>
just one random throw-away sentence in the middle of the document, why<br>
should I not implement this?&quot;<br>
<br>
That being said, I haven&#39;t really thought about this and don&#39;t know=
<br>
whether this would be appropriate or not, I&#39;m just trying to respond to=
<br>
your query with some initial thoughts. None of this should be taken as<br>
what I&#39;ve been pushing for in the rest of this thread.<br>
<br>
=E2=80=94Sam<br>
<br>
On Sun, Oct 3, 2021, at 15:02, Eric Rescorla wrote:<br>
&gt; Sorry to be difficult, but as I said, I&#39;d prefer to focus not on t=
he<br>
&gt; question of the header of this document but rather on what we wish<br>
&gt; 8446 said. To that end, what text do you think should go in 8446-bis?<=
br>
<br>
_______________________________________________<br>
TLS mailing list<br>
<a href=3D"mailto:TLS@ietf.org" target=3D"_blank">TLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/tls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/tls</a><br>
</blockquote></div></div>

--00000000000078a3a505cf440638--


From nobody Tue Oct 26 12:58:30 2021
Return-Path: <me@ruff.mobi>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 746123A1832; Tue, 26 Oct 2021 12:58:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 RDVh9wIRgXuN; Tue, 26 Oct 2021 12:58:23 -0700 (PDT)
Received: from vex.ruff.mobi (vex.ruff.mobi [37.120.177.103]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5BA093A182B; Tue, 26 Oct 2021 12:58:21 -0700 (PDT)
Received: from pi.ruff.mobi (ip-78-45-99-112.net.upcbroadband.cz [78.45.99.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "ruff.mobi", Issuer "R3" (not verified)) by vex.ruff.mobi (Postfix) with ESMTPS id 69ED21493B94; Tue, 26 Oct 2021 21:58:18 +0200 (CEST)
Received: from dei.ruff.mobi (unknown [IPv6:2001:470:741b::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by pi.ruff.mobi (Postfix) with ESMTPSA id 700D113979; Tue, 26 Oct 2021 21:58:14 +0200 (CEST)
Message-ID: <e9570c02c4f703780a4e317b26607ac124a3b595.camel@ruff.mobi>
From: "Ruslan N. Marchenko" <me@ruff.mobi>
To: Jonathan Hoyland <jonathan.hoyland@gmail.com>, Sam Whited <sam@samwhited.com>
Cc: KITTEN Working Group <kitten@ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
Date: Tue, 26 Oct 2021 21:58:07 +0200
In-Reply-To: <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com>
References: <163311243544.13917.11736165165419008870@ietfa.amsl.com> <20211001190002.GC98042@kduck.mit.edu> <CABcZeBPQG82xJdwMrmj4-=9aJymo1xts=D6VZedBW5X9k+34cQ@mail.gmail.com> <92ed26c1-bfde-43c1-93f4-2bbdbd4f6ec1@www.fastmail.com> <CAChr6Sw6Rs42DfS8KgD3qasPcWM_gGZhWN5C4b7W7JsPy0wDzw@mail.gmail.com> <8796f867-12b8-41f8-b124-82b3ab0e2d32@www.fastmail.com> <CAChr6SyKAnBcE9t68coGGXFt9WPLuDuWtVKoCXrK+QrwAVtPXw@mail.gmail.com> <f1bcd676-13ad-49b3-a8e8-8a272e0124e3@www.fastmail.com> <CABcZeBNo0gKjNZOKPYJYraioaw6G=z5ibTqh-o9GkWsDkfDmSQ@mail.gmail.com> <c4d6f2e5-0712-42a6-aef5-0cbada7e149e@www.fastmail.com> <CABcZeBM6y-6ZqaLGZ=8qr+uBnWOOgczhcx=ruy5S=n-YrHweKg@mail.gmail.com> <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com> <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.40.4 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/dgPeBR7jaSK9AN2Q1OzogptIqV8>
Subject: Re: [kitten] [TLS] Fwd: Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2021 19:58:29 -0000

Hi Jonathan,

Am Dienstag, dem 26.10.2021 um 17:32 +0100 schrieb Jonathan Hoyland:
> Hi Sam, all,
> 
> I'd like to again raise the issues I pointed out in
> https://mailarchive.ietf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1BPoU/
> .
> This draft hasn't received enough security analysis, and further, I
> pointed out a specific security issue that remains unaddressed.
> 
> Using the same label for different protocols produces trivial
> collisions, and thus it is perfectly possible that a message meant for
> GSS-API is identical in both form and key to a message for SCRAM, and
> thus there is strong potential for confusion.
> I'm not familiar with either of these protocols, so maybe they have
> internal reasons why this example doesn't work, but that misses the
> much larger and more significant point. 
> Any future protocol that uses the same label will potentially be
> confusable, and further updates to GSS-API now must ensure that they
> don't form valid SCRAM messages, and vice versa.
> 
> There isn't even a one-to-one relationship between GSS-API / SCRAM
> runs. This channel binding design doesn't protect against messages
> being swapped between two GSS-API runs on a single TLS connection.
> Again, whether that is a specific problem for GSS-API is totally
> irrelevant.
> Another protocol that uses this draft may well be vulnerable, and thus
> this is just leaving a huge security landmine in TLS channel bindings. 
> 
> At an absolute minimum this draft should include "A TLS session using
> this RFC to produce a binding for any purpose MUST NOT generate more
> than one per session. If a second exporter using this protocol is
> required the TLS session MUST be rekeyed."
> 
Can you please elaborate a bit more on this particular attack vector?
What exactly information it may leak/compromise and how?

The reason I'm asking is that application is the one glueing together
TLS and authentication sessions, however application does not always
have access to internals of either one(tls), or another(auth) or even
both. Therefore asking application to transfer context between
authentication and transport APIs may not always be feasible or even
possible.

Regards,
Ruslan


From nobody Tue Oct 26 13:53:13 2021
Return-Path: <simon@josefsson.org>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC6033A17DC for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 13:53:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=josefsson.org header.b=D551/go3; dkim=pass (2736-bit key) header.d=josefsson.org header.b=DqZO/wxm
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 KOk5dadQ-42R for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 13:53:04 -0700 (PDT)
Received: from uggla.sjd.se (uggla.sjd.se [IPv6:2001:9b1:8633::107]) (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 90AF93A1342 for <kitten@ietf.org>; Tue, 26 Oct 2021 13:53:03 -0700 (PDT)
DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2110; h=Content-Type:MIME-Version:Message-ID:In-Reply-To :Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description; bh=GByazOnVSEDrjingFji1cIfzuG189RTr8goZW8k1cfU=; t=1635281584; x=1636491184;  b=D551/go3WVcmIiH7bF/dNdP5n+RQSWvioU2m9JVZQhhGGRMZMAtYAdIr966wl8ThS0vDMJfblRk qSBeZUpH0Dw==;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2110; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GByazOnVSEDrjingFji1cIfzuG189RTr8goZW8k1cfU=; t=1635281584; x=1636491184;  b=DqZO/wxmII/dae+ixUrvIDQ/6swJLIgQp1K6mB3UNL4K1GSCIwbnSMCLj0kc99DKoA/mhHjMMvb bHAyu8up6L6i2dQ5INlVAP5uegu/fmN2/0S3sT8C/6A0QGtzTsDM2ilbq+KmJPFEXxRCB11GPRvyJ jjN0HOS0iSK8dVpAI54offA2pSBsdnfkuxrnz6xBPGXaTO6RaljGmxcaWnrhkjnUrM5y6Jf4RvD7i wLBtBlLzY6ybjIdq6ahCPoGedFdIDxX5Kh77ySNlbELCxprDrS1ycwMrSfW/QdRot5Tvee5EK7mDi gn4dZ9HUyPlYULxD0xj9rx4TNjjvaJT76v3+TW5aTfheEu2EGrFOjuQd5aMlLJS83izm0SCTxYaji a6ZmRy75N1tOgo4CReuc465Tg23TGojFKEr4ol+Z/1MLlAlu1rsOD2CY72zz2J/l3Ww1Oucsp;
Received: from [2001:9b0:21a:d900::834] (port=34060 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <simon@josefsson.org>) id 1mfTRK-00Aubk-VG; Tue, 26 Oct 2021 22:52:58 +0200
From: Simon Josefsson <simon@josefsson.org>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: "kitten@ietf.org" <kitten@ietf.org>, Robbie Harwood <rharwood@redhat.com>
References: <4a14c16b-644f-ac40-7b3a-a1712c9aa3d2@isode.com>
OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt
X-Hashcash: 1:22:211026:kitten@ietf.org::3VLULcIc51G4Y4u/:8Nax
X-Hashcash: 1:22:211026:rharwood@redhat.com::0x8FAijNP28ps6+r:7DQM
X-Hashcash: 1:22:211026:alexey.melnikov@isode.com::SpLop/A70EPJnUnP:5K1D
Date: Tue, 26 Oct 2021 22:52:54 +0200
In-Reply-To: <4a14c16b-644f-ac40-7b3a-a1712c9aa3d2@isode.com> (Alexey Melnikov's message of "Tue, 26 Oct 2021 11:43:25 +0100")
Message-ID: <87ilxjo6e1.fsf@latte.josefsson.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/z9AvfahpZe2D6qOtJ6N98cCluMs>
Subject: Re: [kitten] Requesting WG adoption of several SCRAM related documents
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Oct 2021 20:53:11 -0000

--=-=-=
Content-Type: text/plain

Hi.  I'm not strongly opposed to these work items, but I do feel
publishing these documents without adressing high-level concerns have a
risk of causing problems during deployment.  I think the WG should
understand and consider the implication before adopting the documents -
maybe there is alternative work that needs to happen before/instead.

1) For SCRAM-2FA how is user interaction supposed to work for
applications that open many connections?  This is the problem that
turned out to kill deployment of SAML20 and OPENID20 for typical
environments.  I think this is a serious problem for any SASL mechanisms
that works with non-long-term secrets, and I think we should ponder if
there is some generic mechanism (like SASL re-authentication or
authentication resumption) that needs to be standardized.  Otherwise I
think SCRAM-2FA will end up in the same way, and cause people to do a
lot of work to try to implement it and run into the same problems.

2) Add new hashes for SCRAM causes complexity in applications to specify
and support multiple database entries for different
password-equivalents.  There is no real guidance on how clients and
servers should treat multiple hash variants and negotiation between
them.  SASL does not handle sub-mechanism negotiation well, so it has a
security complexity cost.  I wrote about some of this in
https://blog.josefsson.org/2021/06/08/whats-wrong-with-scram/ and at
least one problem is worth repeating:

  How to negotiate which variant to use is not well-defined. Consider if
  the server only has access to a SCRAM-SHA-1 hashed password for user X
  and a SCRAM-SHA-256 hashed password for user Y. What mechanisms should
  it offer to an unknown client? Offering both is likely to cause
  authentication failures, and the fall-back behaviour of SASL is poor.

/Simon

Alexey Melnikov <alexey.melnikov@isode.com> writes:

> Dear Kitten WG participants,
>
> I would like to request WG adoption of several SCRAM related documents:
>
> 1) Extensions to Salted Challenge Response (SCRAM) for 2 factor
> authentication
> <https://datatracker.ietf.org/doc/draft-melnikov-scram-2fa/>
>
> There were some earlier discussions of this document and it seems to
> be in scope for the current charter.
>
> 2) SCRAM-SHA-512 and SCRAM-SHA-512-PLUS Simple Authentication and
> Security Layer (SASL) Mechanisms
> <https://datatracker.ietf.org/doc/draft-melnikov-scram-sha-512/>
>
> This is already implemented in Cyrus SASL, so it would be good to have
> stable documentation.
>
> 3) SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS Simple Authentication and
> Security Layer (SASL) Mechanisms
> <https://datatracker.ietf.org/doc/draft-melnikov-scram-sha3-512/>
>
> Best Regards,
>
> Alexey
>
> P.S. As I am editing various documents mentioned in this email, my
> co-chair Robbie will judge consensus on adoption of each document.
>

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYXhqpxQcc2ltb25Aam9z
ZWZzc29uLm9yZwAKCRBRcisI/kdFopR/AQDbXk/VvHZoP5U9/fgjJZ14c/c6QrvB
qJsEpFUt8RazOgD/UWEQfSvZzjZ7b8Alo3O62Y4cxT4aO7FJDFCxZpPWrwo=
=FtM7
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Tue Oct 26 23:53:55 2021
Return-Path: <me@ruff.mobi>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 429853A0B1A for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 23:53:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 X2CPi4Imb0Lt for <kitten@ietfa.amsl.com>; Tue, 26 Oct 2021 23:53:49 -0700 (PDT)
Received: from vex.ruff.mobi (vex.ruff.mobi [37.120.177.103]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D95DF3A0B0C for <kitten@ietf.org>; Tue, 26 Oct 2021 23:53:48 -0700 (PDT)
Received: from pi.ruff.mobi (mx.ruff.mobi [IPv6:2001:470:741b:1::252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "ruff.mobi", Issuer "R3" (not verified)) by vex.ruff.mobi (Postfix) with ESMTPS id C4B0014972CF; Wed, 27 Oct 2021 08:53:45 +0200 (CEST)
Received: from dei.ruff.mobi (unknown [IPv6:2001:470:741b::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by pi.ruff.mobi (Postfix) with ESMTPSA id 552F113A47; Wed, 27 Oct 2021 08:53:39 +0200 (CEST)
Message-ID: <4bd586b18a84e72846f0ac53cc759c0ade26287e.camel@ruff.mobi>
From: "Ruslan N. Marchenko" <me@ruff.mobi>
To: Simon Josefsson <simon=40josefsson.org@dmarc.ietf.org>, Alexey Melnikov <alexey.melnikov@isode.com>
Cc: "kitten@ietf.org" <kitten@ietf.org>
Date: Wed, 27 Oct 2021 08:53:36 +0200
In-Reply-To: <87ilxjo6e1.fsf@latte.josefsson.org>
References: <4a14c16b-644f-ac40-7b3a-a1712c9aa3d2@isode.com> <87ilxjo6e1.fsf@latte.josefsson.org>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.40.4 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/JZ9FX15rAbwtnqvDmTJhKJ4V_y8>
Subject: Re: [kitten] Requesting WG adoption of several SCRAM related documents
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2021 06:53:53 -0000

Hi Simon,
Am Dienstag, dem 26.10.2021 um 22:52 +0200 schrieb Simon Josefsson:
> Hi.  I'm not strongly opposed to these work items, but I do feel
> publishing these documents without adressing high-level concerns have
> a
> risk of causing problems during deployment.  I think the WG should
> understand and consider the implication before adopting the documents
> -
> maybe there is alternative work that needs to happen before/instead.
> 
> 1) For SCRAM-2FA how is user interaction supposed to work for
> applications that open many connections?  This is the problem that
> turned out to kill deployment of SAML20 and OPENID20 for typical
> environments.  I think this is a serious problem for any SASL
> mechanisms
> that works with non-long-term secrets, and I think we should ponder
> if
> there is some generic mechanism (like SASL re-authentication or
> authentication resumption) that needs to be standardized.  Otherwise
> I
> think SCRAM-2FA will end up in the same way, and cause people to do a
> lot of work to try to implement it and run into the same problems.
> 
> 2) Add new hashes for SCRAM causes complexity in applications to
> specify
> and support multiple database entries for different
> password-equivalents.  There is no real guidance on how clients and
> servers should treat multiple hash variants and negotiation between
> them.  SASL does not handle sub-mechanism negotiation well, so it has
> a
> security complexity cost.  I wrote about some of this in
> https://blog.josefsson.org/2021/06/08/whats-wrong-with-scram/ and at
> least one problem is worth repeating:
> 
>   How to negotiate which variant to use is not well-defined. Consider
> if
>   the server only has access to a SCRAM-SHA-1 hashed password for
> user X
>   and a SCRAM-SHA-256 hashed password for user Y. What mechanisms
> should
>   it offer to an unknown client? Offering both is likely to cause
>   authentication failures, and the fall-back behaviour of SASL is
> poor.
I think the problem statement goes beyond the scope of the protocol.
The SASL is pluggable protocol by design and offering many methods is a
differentiating feature of the protocol. Handling credentials database
or applicaiton protocol negotiation is responsibility of the
applicaiton and SASL as authenticaiton protocol cannot mandate that you
should store your passwords this or that way. Rather opposite,
depending on the way the passwords are stored you get an access to
either this or that method. However the protocol negotiates applicaiton
capabilities (which methods authentication backend supports, which of
them are allowed to be used) not application data (which elements are
stored and how). 

Hence adding a [more secure?] method to a protocol which is designed to
use many is an improvement. What needs to be discussed I believe is
whther the new method really adds any value (is more secure). I.e. does
it make sense artificially increasing complexity (bits & iterations of
the pbkdf2) of the hash function which is designed to be fast and
simple? Or instead focus on using high-complexity hashing and
derivation methods like argon2. My knowledge and experience are not
sufficient to answer this question however I _feel_ the added methods
are a workaround, not solution.

And then the problem stated is a good reason and a subject to develop a
new protocol, adaptive to various storage backends and storage methods,
resistant to negotiation mangling and downgrade (SASL already has this
problem with tls binding type negotiation).

Thanks & regards,
Ruslan


From nobody Wed Oct 27 04:13:56 2021
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C20A73A0E84 for <kitten@ietfa.amsl.com>; Wed, 27 Oct 2021 04:13:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.429
X-Spam-Level: 
X-Spam-Status: No, score=-5.429 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, NICE_REPLY_A=-3.33, SPF_HELO_NONE=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=isode.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 lXGmjuW91jVZ for <kitten@ietfa.amsl.com>; Wed, 27 Oct 2021 04:13:49 -0700 (PDT)
Received: from statler.isode.com (Statler.isode.com [62.232.206.189]) by ietfa.amsl.com (Postfix) with ESMTP id B09C13A0E82 for <kitten@ietf.org>; Wed, 27 Oct 2021 04:13:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1635333227; d=isode.com; s=june2016; i=@isode.com; bh=2dzCQGChGAgcTQfaH1efftlMBcY9uvuFW5J/fuH6cQY=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=hsYKVBFwwX/zGKFN+9t96Rz3yBdC8Ho+H0oatUFdWKDKS0l3lUX4c3/ma/XISoW2qyG27D FkZkNXZ+M90x6RRgLNYWZAY2x9urPUhxnPAKDr19TG3t4U78J5xOyEwG1Jl+XqIrw4vBlL jKu/Zxy8QGyL/IxlAzm3XWcWx6sCWhE=;
Received: from [192.168.1.222] (host5-81-100-13.range5-81.btcentralplus.com [5.81.100.13])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <YXk0agALZIYM@statler.isode.com>; Wed, 27 Oct 2021 12:13:46 +0100
To: Simon Josefsson <simon@josefsson.org>
Cc: "kitten@ietf.org" <kitten@ietf.org>, Robbie Harwood <rharwood@redhat.com>
References: <4a14c16b-644f-ac40-7b3a-a1712c9aa3d2@isode.com> <87ilxjo6e1.fsf@latte.josefsson.org>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <86d03520-467c-42c8-4969-e2b306804eae@isode.com>
Date: Wed, 27 Oct 2021 12:13:35 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
In-Reply-To: <87ilxjo6e1.fsf@latte.josefsson.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/5-esVLc7u2APoia1psnp7RKjVU0>
Subject: Re: [kitten] Requesting WG adoption of several SCRAM related documents
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2021 11:13:55 -0000

Hi Simon,

On 26/10/2021 21:52, Simon Josefsson wrote:
> Hi.  I'm not strongly opposed to these work items, but I do feel
> publishing these documents without adressing high-level concerns have a
> risk of causing problems during deployment.  I think the WG should
> understand and consider the implication before adopting the documents -
> maybe there is alternative work that needs to happen before/instead.
>
> 1) For SCRAM-2FA how is user interaction supposed to work for
> applications that open many connections?  This is the problem that
> turned out to kill deployment of SAML20 and OPENID20 for typical
> environments.  I think this is a serious problem for any SASL mechanisms
> that works with non-long-term secrets, and I think we should ponder if
> there is some generic mechanism (like SASL re-authentication or
> authentication resumption) that needs to be standardized.  Otherwise I
> think SCRAM-2FA will end up in the same way, and cause people to do a
> lot of work to try to implement it and run into the same problems.
Very good point. I think Dave Cridland had a proposal for a generic SASL 
resumption mechanism 
<https://www.ietf.org/archive/id/draft-cridland-kitten-clientkey-00.txt> 
and I support adopting it to address this problem.
> 2) Add new hashes for SCRAM causes complexity in applications to specify
> and support multiple database entries for different
> password-equivalents.
This is not really a new thing, although multiple SCRAM mechanisms 
certainly made it worse. Some backends can store multiple values and 
some can't.
> There is no real guidance on how clients and
> servers should treat multiple hash variants and negotiation between
> them.  SASL does not handle sub-mechanism negotiation well, so it has a
> security complexity cost.  I wrote about some of this in
> https://blog.josefsson.org/2021/06/08/whats-wrong-with-scram/ and at
> least one problem is worth repeating:
>
>    How to negotiate which variant to use is not well-defined. Consider if
>    the server only has access to a SCRAM-SHA-1 hashed password for user X
>    and a SCRAM-SHA-256 hashed password for user Y. What mechanisms should
>    it offer to an unknown client? Offering both is likely to cause
>    authentication failures, and the fall-back behaviour of SASL is poor.

I think this is a generic SASL problem when there are different sets of 
users that use different SASL mechanism/credentials. (E.g. the same 
problem exists if some users have SCRAM-SHA-1 credential and some can 
only use EXTERNAL).

This is also a quality of implementation issue. Many implementations can 
iterate through several SASL mechanisms until one of them succeeds.


Anyway, I am happy to work on better advice for SASL implementors or 
some other way to help improve this.

Best Regards,

Alexey

> /Simon
>
> Alexey Melnikov <alexey.melnikov@isode.com> writes:
>
>> Dear Kitten WG participants,
>>
>> I would like to request WG adoption of several SCRAM related documents:
>>
>> 1) Extensions to Salted Challenge Response (SCRAM) for 2 factor
>> authentication
>> <https://datatracker.ietf.org/doc/draft-melnikov-scram-2fa/>
>>
>> There were some earlier discussions of this document and it seems to
>> be in scope for the current charter.
>>
>> 2) SCRAM-SHA-512 and SCRAM-SHA-512-PLUS Simple Authentication and
>> Security Layer (SASL) Mechanisms
>> <https://datatracker.ietf.org/doc/draft-melnikov-scram-sha-512/>
>>
>> This is already implemented in Cyrus SASL, so it would be good to have
>> stable documentation.
>>
>> 3) SCRAM-SHA3-512 and SCRAM-SHA3-512-PLUS Simple Authentication and
>> Security Layer (SASL) Mechanisms
>> <https://datatracker.ietf.org/doc/draft-melnikov-scram-sha3-512/>
>>
>> Best Regards,
>>
>> Alexey
>>
>> P.S. As I am editing various documents mentioned in this email, my
>> co-chair Robbie will judge consensus on adoption of each document.
>>


From nobody Wed Oct 27 10:02:27 2021
Return-Path: <jonathan.hoyland@gmail.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35DFA3A0DE1; Wed, 27 Oct 2021 10:02:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Chx1CwVoC9Gc; Wed, 27 Oct 2021 10:02:16 -0700 (PDT)
Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C7F223A0DDA; Wed, 27 Oct 2021 10:02:15 -0700 (PDT)
Received: by mail-qt1-x830.google.com with SMTP id v17so3128005qtp.1; Wed, 27 Oct 2021 10:02:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IXK9BKq+5tYqkaO3tCHHszZ1ULB6+s1ei3HdI5Jt2pw=; b=H0ZCCD5j+1/8yuMi8XH4Ga924uStZUIy+LXVUmeMoqxfDEkT5RvJqduyKC1HXDd/QZ h4GzSAghsk44LS555ph0JIO5yixeamfODUVvVtlcdtB+CzKxQnukNE+w1sqBwg6a8WkQ 4K1J8SQDAuI4D4USvIMlOdx/oXh6ZkeBZboP7Pz1wWdnTe30F9TVs+LUYRYX7C6i4Btn mkSPY5tvn2pJJ5jbZXNFEYMPRtsTDKDO9g2Xc8KPORFeD2fK6M+0TDbld0sARm8dWkQi RxUTFameAiefWExCgeoEYdE6PWiMx7D5v/r744OtOvR6GeJOo0inwJ/FGBrZ8VxQ69jq TQzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IXK9BKq+5tYqkaO3tCHHszZ1ULB6+s1ei3HdI5Jt2pw=; b=xLfMcfDq1t3xg/l2XYkquDskU7aHTi2rneo7/EbcwkBLx8LWr/i3Sy8xWu8qysYNcd pZ3N3pkBCUsbogl404ZofmMhr+9ZOsNen5ZNR+htUkm/Lo3h+7r1sexsutId3MEX2thX Q2O/QitqEb9AMNbE7h+x97bj0l4Zj6ii9mVqr+7btfLljNshW6pch1oKV1abMVUPfRt6 FIcZ3to2j1m3SlzAEkHNuOv/t3vKjbq2/aqi5X5T4CXj0oBvHiDZnnO3Bw6yREC6PZVe Bya8dJpyVQlYx0xvaajFivLOWVt3DAGtbRfgntoOmlMbZK6Nx4Yo2yCvM3KvWixN1yad eE1w==
X-Gm-Message-State: AOAM531SHUZg6XydExkjg+xSG5CDcZddUm8+U6Ul3q7RCnuhBFSySP1i jG4i4lGaK7/ws56sYK6Sslq4KUktBcB4lwjJvHo=
X-Google-Smtp-Source: ABdhPJwmbL55HA+UeRUd7Rr2dal9MC3ziSk7BBVqSJvE4TZThvuAlcDlbNf73+necVG8aje0fFA6oBD8o73K7ylsQC4=
X-Received: by 2002:ac8:580b:: with SMTP id g11mr32523648qtg.272.1635354132075;  Wed, 27 Oct 2021 10:02:12 -0700 (PDT)
MIME-Version: 1.0
References: <163311243544.13917.11736165165419008870@ietfa.amsl.com> <20211001190002.GC98042@kduck.mit.edu> <CABcZeBPQG82xJdwMrmj4-=9aJymo1xts=D6VZedBW5X9k+34cQ@mail.gmail.com> <92ed26c1-bfde-43c1-93f4-2bbdbd4f6ec1@www.fastmail.com> <CAChr6Sw6Rs42DfS8KgD3qasPcWM_gGZhWN5C4b7W7JsPy0wDzw@mail.gmail.com> <8796f867-12b8-41f8-b124-82b3ab0e2d32@www.fastmail.com> <CAChr6SyKAnBcE9t68coGGXFt9WPLuDuWtVKoCXrK+QrwAVtPXw@mail.gmail.com> <f1bcd676-13ad-49b3-a8e8-8a272e0124e3@www.fastmail.com> <CABcZeBNo0gKjNZOKPYJYraioaw6G=z5ibTqh-o9GkWsDkfDmSQ@mail.gmail.com> <c4d6f2e5-0712-42a6-aef5-0cbada7e149e@www.fastmail.com> <CABcZeBM6y-6ZqaLGZ=8qr+uBnWOOgczhcx=ruy5S=n-YrHweKg@mail.gmail.com> <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com> <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com> <e9570c02c4f703780a4e317b26607ac124a3b595.camel@ruff.mobi>
In-Reply-To: <e9570c02c4f703780a4e317b26607ac124a3b595.camel@ruff.mobi>
From: Jonathan Hoyland <jonathan.hoyland@gmail.com>
Date: Wed, 27 Oct 2021 18:02:00 +0100
Message-ID: <CACykbs3v0FC50WQHNqq-oXwKDE=Jha-o0P=Mgr92OgyeKPS6Ug@mail.gmail.com>
To: "Ruslan N. Marchenko" <rufferson@gmail.com>
Cc: Sam Whited <sam@samwhited.com>, KITTEN Working Group <kitten@ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001fd81f05cf588e21"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/hZk8YTY25dD1kqS5CIYEQT8R8go>
Subject: Re: [kitten] [TLS] Fwd: Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2021 17:02:21 -0000

--0000000000001fd81f05cf588e21
Content-Type: text/plain; charset="UTF-8"

Hi Ruslan,

Without digging into the guts of GSS-API and SCRAM I can't give you a
concrete attack, the issue is that all our assumptions about protocol
security assume that different protocols use totally separate key material.
For example if I have one protocol that signs arbitrary blobs and another
that requires me to sign a challenge to prove I know a private key then
even if they're both perfectly secure on their own they are totally broken
in composition.
This separation of keys is one of the core reasons for the use of HKDFs, it
lets us take some source randomness and use it to generate independent keys.

Designing a channel binding that explicitly suggests people use the same
key material for different things is bad practice and poor protocol design.
Pretty much every attack is on the table if you have multiple protocols
using the same keys, message forgery, improper authentication, key leakage,
etc.
The reason for separation of keys is to simply rule out this entire class
of vulnerability.
If you don't separate the keys then whenever you make any change to any
protocol you have to consider its security in composition with every other
protocol, including ones that you don't know about or that haven't been
written yet.

Using different labels for different purposes shouldn't require anything
complicated, as it's just changing the input literals to the API call.
You just need to use different strings based on the configuration.
If keeping a counter of the number of calls to the API is really hard it
might be easier to just pick a big enough random number to make collisions
sufficiently unlikely.

Using the second approach lets you achieve a higher level of security, but
is perhaps overkill if you don't include attackers that can break TLS /
steal certificates in your threat model.
I totally accept that passing state between layers can be tricky, but if
you need the security then I think the correct solution is to design the
API carefully, rather than to implement something insecurely.
As it so happens implementing my second suggestion specifically doesn't
require any access to TLS internals.
The authentication session needs to make two calls to the `Exporter` API
but doesn't require anything more of the TLS connection.

Regards,

Jonathan






On Tue, 26 Oct 2021 at 20:58, Ruslan N. Marchenko <rufferson@gmail.com>
wrote:

> Hi Jonathan,
>
> Am Dienstag, dem 26.10.2021 um 17:32 +0100 schrieb Jonathan Hoyland:
> > Hi Sam, all,
> >
> > I'd like to again raise the issues I pointed out in
> >
> https://mailarchive.ietf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1BPoU/
> > .
> > This draft hasn't received enough security analysis, and further, I
> > pointed out a specific security issue that remains unaddressed.
> >
> > Using the same label for different protocols produces trivial
> > collisions, and thus it is perfectly possible that a message meant for
> > GSS-API is identical in both form and key to a message for SCRAM, and
> > thus there is strong potential for confusion.
> > I'm not familiar with either of these protocols, so maybe they have
> > internal reasons why this example doesn't work, but that misses the
> > much larger and more significant point.
> > Any future protocol that uses the same label will potentially be
> > confusable, and further updates to GSS-API now must ensure that they
> > don't form valid SCRAM messages, and vice versa.
> >
> > There isn't even a one-to-one relationship between GSS-API / SCRAM
> > runs. This channel binding design doesn't protect against messages
> > being swapped between two GSS-API runs on a single TLS connection.
> > Again, whether that is a specific problem for GSS-API is totally
> > irrelevant.
> > Another protocol that uses this draft may well be vulnerable, and thus
> > this is just leaving a huge security landmine in TLS channel bindings.
> >
> > At an absolute minimum this draft should include "A TLS session using
> > this RFC to produce a binding for any purpose MUST NOT generate more
> > than one per session. If a second exporter using this protocol is
> > required the TLS session MUST be rekeyed."
> >
> Can you please elaborate a bit more on this particular attack vector?
> What exactly information it may leak/compromise and how?
>
> The reason I'm asking is that application is the one glueing together
> TLS and authentication sessions, however application does not always
> have access to internals of either one(tls), or another(auth) or even
> both. Therefore asking application to transfer context between
> authentication and transport APIs may not always be feasible or even
> possible.
>
> Regards,
> Ruslan
>
>

--0000000000001fd81f05cf588e21
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Ruslan,</div><div><br></div><div>Without digging i=
nto the guts of GSS-API and SCRAM I can&#39;t give you a concrete attack, t=
he issue is that all our assumptions about protocol security assume that di=
fferent protocols use totally separate key material.</div><div>For example =
if I have one protocol that signs arbitrary blobs and another that requires=
 me to sign a challenge to prove I know a private key then even if they&#39=
;re both perfectly secure on their own they are totally broken in compositi=
on. <br></div><div>This separation of keys is one of the core reasons for t=
he use of HKDFs, it lets us take some source randomness and use it to gener=
ate independent keys.</div><div><br></div><div>Designing a channel binding =
that explicitly suggests people use the same key material for different thi=
ngs is bad practice and poor protocol design.</div><div>Pretty much every a=
ttack is on the table if you have multiple protocols using the same keys, m=
essage forgery, improper authentication, key leakage, etc.</div><div>The re=
ason for separation of keys is to simply rule out this entire class of vuln=
erability.</div><div>If you don&#39;t separate the keys then whenever you m=
ake any change to any protocol you have to consider its security in composi=
tion with every other protocol, including ones that you don&#39;t know abou=
t or that haven&#39;t been written yet.</div><div><br></div><div>Using diff=
erent labels for different purposes shouldn&#39;t require anything complica=
ted, as it&#39;s just changing the input literals to the API call.</div><di=
v>You just need to use different strings based on the configuration. <br></=
div><div>If keeping a counter of the number of calls to the API is really h=
ard it might be easier to just pick a big enough random number to make coll=
isions sufficiently unlikely.<br></div><div><br></div><div>Using the second=
 approach lets you achieve a higher level of security, but is perhaps overk=
ill if you don&#39;t include attackers that can break TLS / steal certifica=
tes in your threat model.<br></div><div>I totally accept that passing state=
 between layers can be tricky, but if you need the security then I think th=
e correct solution is to design the API carefully, rather than to implement=
 something insecurely.</div><div>As it so happens implementing my second su=
ggestion specifically doesn&#39;t require any access to TLS internals. <br>=
</div><div>The authentication session needs to make two calls to the `Expor=
ter` API but doesn&#39;t require anything more of the TLS connection.</div>=
<div><br></div><div>Regards,</div><div><br></div><div>Jonathan<br></div><di=
v><br></div><div><br></div><div><br></div><div><br></div><div> <br></div></=
div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On=
 Tue, 26 Oct 2021 at 20:58, Ruslan N. Marchenko &lt;<a href=3D"mailto:ruffe=
rson@gmail.com">rufferson@gmail.com</a>&gt; wrote:<br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex">Hi Jonathan,<br>
<br>
Am Dienstag, dem 26.10.2021 um 17:32 +0100 schrieb Jonathan Hoyland:<br>
&gt; Hi Sam, all,<br>
&gt; <br>
&gt; I&#39;d like to again raise the issues I pointed out in<br>
&gt; <a href=3D"https://mailarchive.ietf.org/arch/msg/kitten/13pPj4E3-gYwpb=
u2K844uI1BPoU/" rel=3D"noreferrer" target=3D"_blank">https://mailarchive.ie=
tf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1BPoU/</a><br>
&gt; .<br>
&gt; This draft hasn&#39;t received enough security analysis, and further, =
I<br>
&gt; pointed out a specific security issue that remains unaddressed.<br>
&gt; <br>
&gt; Using the same label for different protocols produces trivial<br>
&gt; collisions, and thus it is perfectly possible that a message meant for=
<br>
&gt; GSS-API is identical in both form and key to a message for SCRAM, and<=
br>
&gt; thus there is strong potential for confusion.<br>
&gt; I&#39;m not familiar with either of these protocols, so maybe they hav=
e<br>
&gt; internal reasons why this example doesn&#39;t work, but that misses th=
e<br>
&gt; much larger and more significant point. <br>
&gt; Any future protocol that uses the same label will potentially be<br>
&gt; confusable, and further updates to GSS-API now must ensure that they<b=
r>
&gt; don&#39;t form valid SCRAM messages, and vice versa.<br>
&gt; <br>
&gt; There isn&#39;t even a one-to-one relationship between GSS-API / SCRAM=
<br>
&gt; runs. This channel binding design doesn&#39;t protect against messages=
<br>
&gt; being swapped between two GSS-API runs on a single TLS connection.<br>
&gt; Again, whether that is a specific problem for GSS-API is totally<br>
&gt; irrelevant.<br>
&gt; Another protocol that uses this draft may well be vulnerable, and thus=
<br>
&gt; this is just leaving a huge security landmine in TLS channel bindings.=
 <br>
&gt; <br>
&gt; At an absolute minimum this draft should include &quot;A TLS session u=
sing<br>
&gt; this RFC to produce a binding for any purpose MUST NOT generate more<b=
r>
&gt; than one per session. If a second exporter using this protocol is<br>
&gt; required the TLS session MUST be rekeyed.&quot;<br>
&gt; <br>
Can you please elaborate a bit more on this particular attack vector?<br>
What exactly information it may leak/compromise and how?<br>
<br>
The reason I&#39;m asking is that application is the one glueing together<b=
r>
TLS and authentication sessions, however application does not always<br>
have access to internals of either one(tls), or another(auth) or even<br>
both. Therefore asking application to transfer context between<br>
authentication and transport APIs may not always be feasible or even<br>
possible.<br>
<br>
Regards,<br>
Ruslan<br>
<br>
</blockquote></div>

--0000000000001fd81f05cf588e21--


From nobody Wed Oct 27 11:39:40 2021
Return-Path: <me@ruff.mobi>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3DB6B3A1052; Wed, 27 Oct 2021 11:39:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 kujdE5psW-HS; Wed, 27 Oct 2021 11:39:35 -0700 (PDT)
Received: from vex.ruff.mobi (vex.ruff.mobi [IPv6:2a03:4000:6:83fc::a]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 221C03A1051; Wed, 27 Oct 2021 11:39:34 -0700 (PDT)
Received: from pi.ruff.mobi (mx.ruff.mobi [IPv6:2001:470:741b:1::252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "ruff.mobi", Issuer "R3" (not verified)) by vex.ruff.mobi (Postfix) with ESMTPS id 3BCB9149AE6E; Wed, 27 Oct 2021 20:39:29 +0200 (CEST)
Received: from dei.ruff.mobi (unknown [IPv6:2001:470:741b::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by pi.ruff.mobi (Postfix) with ESMTPSA id 9AC8413C30; Wed, 27 Oct 2021 20:39:25 +0200 (CEST)
Message-ID: <7e862904cee5f86e4b77fce23c451c2abe0dc720.camel@ruff.mobi>
From: "Ruslan N. Marchenko" <me@ruff.mobi>
To: Jonathan Hoyland <jonathan.hoyland@gmail.com>, "Ruslan N. Marchenko" <rufferson@gmail.com>
Cc: KITTEN Working Group <kitten@ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
Date: Wed, 27 Oct 2021 20:39:22 +0200
In-Reply-To: <CACykbs3v0FC50WQHNqq-oXwKDE=Jha-o0P=Mgr92OgyeKPS6Ug@mail.gmail.com>
References: <163311243544.13917.11736165165419008870@ietfa.amsl.com> <20211001190002.GC98042@kduck.mit.edu> <CABcZeBPQG82xJdwMrmj4-=9aJymo1xts=D6VZedBW5X9k+34cQ@mail.gmail.com> <92ed26c1-bfde-43c1-93f4-2bbdbd4f6ec1@www.fastmail.com> <CAChr6Sw6Rs42DfS8KgD3qasPcWM_gGZhWN5C4b7W7JsPy0wDzw@mail.gmail.com> <8796f867-12b8-41f8-b124-82b3ab0e2d32@www.fastmail.com> <CAChr6SyKAnBcE9t68coGGXFt9WPLuDuWtVKoCXrK+QrwAVtPXw@mail.gmail.com> <f1bcd676-13ad-49b3-a8e8-8a272e0124e3@www.fastmail.com> <CABcZeBNo0gKjNZOKPYJYraioaw6G=z5ibTqh-o9GkWsDkfDmSQ@mail.gmail.com> <c4d6f2e5-0712-42a6-aef5-0cbada7e149e@www.fastmail.com> <CABcZeBM6y-6ZqaLGZ=8qr+uBnWOOgczhcx=ruy5S=n-YrHweKg@mail.gmail.com> <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com> <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com> <e9570c02c4f703780a4e317b26607ac124a3b595.camel@ruff.mobi> <CACykbs3v0FC50WQHNqq-oXwKDE=Jha-o0P=Mgr92OgyeKPS6Ug@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.40.4 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/y_AMGr8nzzmMAnDtVZPdiMOmMns>
Subject: Re: [kitten] [TLS] Fwd: Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2021 18:39:39 -0000

Hi Jonathan,

Am Mittwoch, dem 27.10.2021 um 18:02 +0100 schrieb Jonathan Hoyland:
> Hi Ruslan,
> 
> Without digging into the guts of GSS-API and SCRAM I can't give you a
> concrete attack, the issue is that all our assumptions about protocol
> security assume that different protocols use totally separate key
> material.
> For example if I have one protocol that signs arbitrary blobs and
> another that requires me to sign a challenge to prove I know a private
> key then even if they're both perfectly secure on their own they are
> totally broken in composition. 
> This separation of keys is one of the core reasons for the use of
> HKDFs, it lets us take some source randomness and use it to generate
> independent keys.
> 
> Designing a channel binding that explicitly suggests people use the
> same key material for different things is bad practice and poor
> protocol design.
> Pretty much every attack is on the table if you have multiple protocols
> using the same keys, message forgery, improper authentication, key
> leakage, etc.
> The reason for separation of keys is to simply rule out this entire
> class of vulnerability.

Sorry maybe I'm missing something but why would two unrelated protocols
have same key? The binding is derived from TLS session key, if two
unrelated TLS sessions are having the same key this is the problem by
itself, and binding material is not amplifying it, just falling to the
same problem bucket. And if they are related (eg resumed) then protocol
muxing should perhaps be part of applicaiton stack and it should still
be happy with a common security context.

> If you don't separate the keys then whenever you make any change to any
> protocol you have to consider its security in composition with every
> other protocol, including ones that you don't know about or that
> haven't been written yet.
> 
> Using different labels for different purposes shouldn't require
> anything complicated, as it's just changing the input literals to the
> API call.
> 
There's a difference in telling TLS stack "give me binding of that
type" - which is pretty much high level abstract call, and asking TLS
to perform key derivation (export) for specific label - which requires
speaking native TLS implementation api. Now that we have a bunch of TLS
implementations and several abstractions and all other binding types
are independent of the higher protocol - it may be challenging changing
the API to make the binding retrieval context-specific. Not that it is
impossible to make such change, but why?




From nobody Wed Oct 27 14:13:51 2021
Return-Path: <sam@samwhited.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5F103A14B1; Wed, 27 Oct 2021 14:13:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 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_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 (2048-bit key) header.d=samwhited.com header.b=O92Qlmwq; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=HBCbRKMI
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 vobtsL708kYd; Wed, 27 Oct 2021 14:13:42 -0700 (PDT)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B82EE3A14B0; Wed, 27 Oct 2021 14:13:42 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 0C4013201E89; Wed, 27 Oct 2021 17:13:41 -0400 (EDT)
Received: from imap42 ([10.202.2.92]) by compute1.internal (MEProxy); Wed, 27 Oct 2021 17:13:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=GJ tppU7Keu2goyfhgh7xyNxYmErxv5S+9UsqMtde6gM=; b=O92Qlmwq7O3vZ4Bwg3 VDsPDJZBngMF9ZZY0RkAAChhFHHOUoh7lUOJ0eyirYR10yTCNVyktuYkIIa1gmhl rvz/NXq2iMwg0LJB0YHgTXpzCbhIjFs5GDX61MrF2FfT66sfBpJUh8Fcm9VJWK3n 13IQsHn4687ZrPWD71LjmbLVkeSk7mQOCp3rmYpvycqMEOOZyW5sRqak8utUnx8q oIlyg95RuZ3KU0mZ1QI5YRIaRLNOpTmKENBxrkb/BS19QGkNWl+mBxD5g28fiP1l 3hQJ2JcuM0HcdKl7eA7glj7Z5Ys1or1bIjh1QYL8KR5Ue4fL5rOvtvcz04+G0nCj DKSA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=GJtppU7Keu2goyfhgh7xyNxYmErxv5S+9UsqMtde6 gM=; b=HBCbRKMIzSgj1q6sUeTQh3/EM+l8Kkod02EHifUa3YL7ojyev60yIYiE3 mb505wFx3KGMQeESNjMvSfCOXAQje8StCFPxq532P/GhzxmED9D/NePGv2/chFtr 6KlpagJ/4FapTwXn4sE4QS7dFZ3gLul2oUUgiDuz5soCbnEx8xlHgjB8SMdnVAv7 7+e+5TR+600dH0U/E5dk0jgRfhxVM9eyCZ5itIdYnS97/XvxkMWuPR06gPCOOjlL siOpPj51MWIYwzfonnT7Nb6tvgTpItA/5iRlUnMKDTT+6Ocgbdju5bFfBnVZfIQE vQEhe5s7SdjZtsIZYXyFQN7eJRwbQ==
X-ME-Sender: <xms:BcF5YYLH8soD7jivn8x-OLcVbe5VYFImTjRM_DZhWmTctkZpXIZBTw> <xme:BcF5YYLaa3j3Qi71CeWltirDyi-pjVifXAJJ0OjoIqlltXktDMQpT2qQR-pGWDUYs DaNyGXp2qKPvEbpLw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdegtddguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfu rghmucghhhhithgvugdfuceoshgrmhesshgrmhifhhhithgvugdrtghomheqnecuggftrf grthhtvghrnhepfeduudekkeeuteeuleefgeeuvdeuvdffhedvveeiffeghefhjefftdev veeuvdffnecuffhomhgrihhnpehivghtfhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrghmsehsrghmfihhihhtvggurdgtohhm
X-ME-Proxy: <xmx:BcF5YYstdU_kDJVbaCAkOU_dIEprcfH9JNIaVdtqzKTdFovdCZM_og> <xmx:BcF5YVay1ubCQkaarIKp6ND9W4NFbf12oZHdIG7h--PaFXNKFpYpYw> <xmx:BcF5Yfb2LmWp3lT3cH4m9R3QhJNi46eKxTLfRp-WpGggUi1USlA__A> <xmx:BcF5YWxyNWYrk8E0ZtvZZdtTJTZfl7t_iuDuMLZWoX16xWtZekpjfg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1755B2180085; Wed, 27 Oct 2021 17:13:41 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1369-gd055fb5e7c-fm-20211018.002-gd055fb5e
Mime-Version: 1.0
Message-Id: <269e7ad2-ad67-4236-8a7b-6a38ab04d798@www.fastmail.com>
In-Reply-To: <CACykbs3v0FC50WQHNqq-oXwKDE=Jha-o0P=Mgr92OgyeKPS6Ug@mail.gmail.com>
References: <163311243544.13917.11736165165419008870@ietfa.amsl.com> <20211001190002.GC98042@kduck.mit.edu> <CABcZeBPQG82xJdwMrmj4-=9aJymo1xts=D6VZedBW5X9k+34cQ@mail.gmail.com> <92ed26c1-bfde-43c1-93f4-2bbdbd4f6ec1@www.fastmail.com> <CAChr6Sw6Rs42DfS8KgD3qasPcWM_gGZhWN5C4b7W7JsPy0wDzw@mail.gmail.com> <8796f867-12b8-41f8-b124-82b3ab0e2d32@www.fastmail.com> <CAChr6SyKAnBcE9t68coGGXFt9WPLuDuWtVKoCXrK+QrwAVtPXw@mail.gmail.com> <f1bcd676-13ad-49b3-a8e8-8a272e0124e3@www.fastmail.com> <CABcZeBNo0gKjNZOKPYJYraioaw6G=z5ibTqh-o9GkWsDkfDmSQ@mail.gmail.com> <c4d6f2e5-0712-42a6-aef5-0cbada7e149e@www.fastmail.com> <CABcZeBM6y-6ZqaLGZ=8qr+uBnWOOgczhcx=ruy5S=n-YrHweKg@mail.gmail.com> <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com> <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com> <e9570c02c4f703780a4e317b26607ac124a3b595.camel@ruff.mobi> <CACykbs3v0FC50WQHNqq-oXwKDE=Jha-o0P=Mgr92OgyeKPS6Ug@mail.gmail.com>
Date: Wed, 27 Oct 2021 17:12:22 -0400
From: "Sam Whited" <sam@samwhited.com>
To: "Jonathan Hoyland" <jonathan.hoyland@gmail.com>, "Ruslan N. Marchenko" <rufferson@gmail.com>
Cc: "KITTEN Working Group" <kitten@ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/q6_CfoeK5l98TVKy8D6CetmgIRA>
Subject: Re: [kitten] [TLS] Fwd: Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Oct 2021 21:13:50 -0000

I've been trying to figure out exactly what you mean before replying and
have been struggling to do so, so I apologize if I'm misunderstanding
your emails, but I believe this isn't a problem unless you use the
channel binding itself as keying material for something. The I-D
specifically has a section where it says *not* to do that for this
reason. This is supposed to be a generic mechanism that lets you
invalidate a session or token if a TLS session changes, that's all. Any
further use of the CB value would have the problems you describe, and
therefore they are forbidden.

On the other hand, if an XMPP session's authn and some sort of authz
token are both using this CB mechanism and are bound to the same TLS
session that is not a problem. If the session changes they both would
become invalid. if it doesn't, they both remain valid and do not leak
any information about each other that wasn't already public.

I believe there is value in having a generic channel binding, even if
it's so generic that this means it can't be used as a secret value
itself. Maybe I'm misunderstanding what you're saying though?

=E2=80=94Sam

On Wed, Oct 27, 2021, at 13:02, Jonathan Hoyland wrote:
> Hi Ruslan,
>
> Without digging into the guts of GSS-API and SCRAM I can't give you a
> concrete attack, the issue is that all our assumptions about protocol
> security assume that different protocols use totally separate key
> material. For example if I have one protocol that signs arbitrary
> blobs and another that requires me to sign a challenge to prove I know
> a private key then even if they're both perfectly secure on their own
> they are totally broken in composition. This separation of keys is one
> of the core reasons for the use of HKDFs, it lets us take some source
> randomness and use it to generate independent keys.
>
> Designing a channel binding that explicitly suggests people use the
> same key material for different things is bad practice and poor
> protocol design. Pretty much every attack is on the table if you have
> multiple protocols using the same keys, message forgery, improper
> authentication, key leakage, etc. The reason for separation of keys is
> to simply rule out this entire class of vulnerability. If you don't
> separate the keys then whenever you make any change to any protocol
> you have to consider its security in composition with every other
> protocol, including ones that you don't know about or that haven't
> been written yet.
>
> Using different labels for different purposes shouldn't require
> anything complicated, as it's just changing the input literals to the
> API call. You just need to use different strings based on the
> configuration. If keeping a counter of the number of calls to the API
> is really hard it might be easier to just pick a big enough random
> number to make collisions sufficiently unlikely.
>
> Using the second approach lets you achieve a higher level of security,
> but is perhaps overkill if you don't include attackers that can break
> TLS / steal certificates in your threat model. I totally accept that
> passing state between layers can be tricky, but if you need the
> security then I think the correct solution is to design the API
> carefully, rather than to implement something insecurely. As it so
> happens implementing my second suggestion specifically doesn't require
> any access to TLS internals. The authentication session needs to make
> two calls to the `Exporter` API but doesn't require anything more of
> the TLS connection.
>
> Regards,
>
> Jonathan
>
>
>
>
>
>
> On Tue, 26 Oct 2021 at 20:58, Ruslan N. Marchenko
> <rufferson@gmail.com> wrote:
>
>> Hi Jonathan,
>>
>> Am Dienstag, dem 26.10.2021 um 17:32 +0100 schrieb Jonathan Hoyland:
>> > Hi Sam, all,
>> >
>> > I'd like to again raise the issues I pointed out in
>> >
>> https://mailarchive.ietf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1B=
PoU/
>> > . This draft hasn't received enough security analysis, and further,
>> >   I pointed out a specific security issue that remains unaddressed.
>> >
>> > Using the same label for different protocols produces trivial
>> > collisions, and thus it is perfectly possible that a message meant
>> > for GSS-API is identical in both form and key to a message for
>> > SCRAM, and thus there is strong potential for confusion. I'm not
>> > familiar with either of these protocols, so maybe they have
>> > internal reasons why this example doesn't work, but that misses the
>> > much larger and more significant point. Any future protocol that
>> > uses the same label will potentially be confusable, and further
>> > updates to GSS-API now must ensure that they don't form valid SCRAM
>> > messages, and vice versa.
>> >
>> > There isn't even a one-to-one relationship between GSS-API / SCRAM
>> > runs. This channel binding design doesn't protect against messages
>> > being swapped between two GSS-API runs on a single TLS connection.
>> > Again, whether that is a specific problem for GSS-API is totally
>> > irrelevant. Another protocol that uses this draft may well be
>> > vulnerable, and thus this is just leaving a huge security landmine
>> > in TLS channel bindings.
>> >
>> > At an absolute minimum this draft should include "A TLS session
>> > using this RFC to produce a binding for any purpose MUST NOT
>> > generate more than one per session. If a second exporter using this
>> > protocol is required the TLS session MUST be rekeyed."
>> >
>> Can you please elaborate a bit more on this particular attack vector?
>> What exactly information it may leak/compromise and how?
>>
>> The reason I'm asking is that application is the one glueing together
>> TLS and authentication sessions, however application does not always
>> have access to internals of either one(tls), or another(auth) or even
>> both. Therefore asking application to transfer context between
>> authentication and transport APIs may not always be feasible or even
>> possible.
>>
>> Regards, Ruslan
>>
>>

--=20
Sam Whited


From nobody Thu Oct 28 10:34:44 2021
Return-Path: <jonathan.hoyland@gmail.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED8C23A08CE; Thu, 28 Oct 2021 10:34:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 5H_MaeW4LX5X; Thu, 28 Oct 2021 10:34:37 -0700 (PDT)
Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4D033A08C1; Thu, 28 Oct 2021 10:34:36 -0700 (PDT)
Received: by mail-qv1-xf2f.google.com with SMTP id d6so4569602qvb.3; Thu, 28 Oct 2021 10:34:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+K/cZ/RhruFJrhq4Cte/QpXGGtceX9w9RQhV8YuqW7w=; b=aC7nah3/98Nzt1HyQo+79FIPM7pp1QNO4vhdzcKBTDI2XDfk4bLc0V2QvW5XLY4cFD mDHqNXpI9awrilHkz0pxlEFUSEZJin6i3cztfBmXyBefkF+Nl7wJjUDLxdUlGmJYdluX 3TWyoWAZx9WHw1e3TPOr31XhKnPyfqgogyqwR317bGnDbdMs/9cIqY6dKzRYuGRxbudE ldxtQY9qvhtICLU5uQ3muudfr8HKs7jHThnl6ItQBoPYX6H1jIUsAuUcpbI8VeA0n/Dv NMVrQ7WAIldSsO2PQ6yK296gLN1FZna3XCscEmEjFOOoDNHQ4PxkCRrNcVAD4kVmOSIv rtCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+K/cZ/RhruFJrhq4Cte/QpXGGtceX9w9RQhV8YuqW7w=; b=UcXHm9PYCwfds/7KDmkg0xQNz/nb7T8yp6EUf4njXN/STlOWvD4Vb/6cB4eB+5V+sx lt8FWJFm2Ij/2DtLSjuKrbywLh62achJ5az63/y5rrpW4vEGfq8200cluFz/BVV3riND TzDIFmWazR162Vf3/uaBPXCmAkV4pYv0bLpxPYrWbp+QCyt5V/dy+NkAKfwPHzxU9+cY 5iCEFIkxOvofRC+/Qe6LAiOyGSskXDB4ZdbG0zqR2faWGF/5qDCZFoxamoVwZXgWfyWa sJ8XE2nx7OFj/SEoCFOkmRdTsMIMXItNsZ0/jy0FMUF0WEunPd7yp+HpfxAQ9J6aoSvg JrCA==
X-Gm-Message-State: AOAM532N1qsTlTbqoU9u+cSa7ycxiznfcQtmielWyCRBz61ADfnO33Li lYE41tF8ixYFUk+rKUG4g6C88BCtAwOLEJUJEz1bE+8VFe0=
X-Google-Smtp-Source: ABdhPJyZhAk9aXkk9pC8B8/Stg8P0clFmNU8JRYABD6cVc8woOyOD8NMcz+cL8pTdKSYqBpdz2KY0rptC5tlSFMe2Nw=
X-Received: by 2002:a05:6214:300c:: with SMTP id ke12mr5487037qvb.41.1635442471081;  Thu, 28 Oct 2021 10:34:31 -0700 (PDT)
MIME-Version: 1.0
References: <163311243544.13917.11736165165419008870@ietfa.amsl.com> <20211001190002.GC98042@kduck.mit.edu> <CABcZeBPQG82xJdwMrmj4-=9aJymo1xts=D6VZedBW5X9k+34cQ@mail.gmail.com> <92ed26c1-bfde-43c1-93f4-2bbdbd4f6ec1@www.fastmail.com> <CAChr6Sw6Rs42DfS8KgD3qasPcWM_gGZhWN5C4b7W7JsPy0wDzw@mail.gmail.com> <8796f867-12b8-41f8-b124-82b3ab0e2d32@www.fastmail.com> <CAChr6SyKAnBcE9t68coGGXFt9WPLuDuWtVKoCXrK+QrwAVtPXw@mail.gmail.com> <f1bcd676-13ad-49b3-a8e8-8a272e0124e3@www.fastmail.com> <CABcZeBNo0gKjNZOKPYJYraioaw6G=z5ibTqh-o9GkWsDkfDmSQ@mail.gmail.com> <c4d6f2e5-0712-42a6-aef5-0cbada7e149e@www.fastmail.com> <CABcZeBM6y-6ZqaLGZ=8qr+uBnWOOgczhcx=ruy5S=n-YrHweKg@mail.gmail.com> <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com> <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com> <e9570c02c4f703780a4e317b26607ac124a3b595.camel@ruff.mobi> <CACykbs3v0FC50WQHNqq-oXwKDE=Jha-o0P=Mgr92OgyeKPS6Ug@mail.gmail.com> <269e7ad2-ad67-4236-8a7b-6a38ab04d798@www.fastmail.com>
In-Reply-To: <269e7ad2-ad67-4236-8a7b-6a38ab04d798@www.fastmail.com>
From: Jonathan Hoyland <jonathan.hoyland@gmail.com>
Date: Thu, 28 Oct 2021 18:34:19 +0100
Message-ID: <CACykbs2js1htPQENpPYb3vR8bfxOpVU0nWWt4eUtDroKAuNT2A@mail.gmail.com>
To: Sam Whited <sam@samwhited.com>
Cc: "Ruslan N. Marchenko" <rufferson@gmail.com>, KITTEN Working Group <kitten@ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000008a1d7305cf6d1ff2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/ui9ZANsPVZrr3JDY-885fDjcD-E>
Subject: Re: [kitten] [TLS] Fwd: Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Oct 2021 17:34:42 -0000

--0000000000008a1d7305cf6d1ff2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Sam,

Please see my comments inline.

Regards,

Jonathan

On Wed, 27 Oct 2021 at 22:13, Sam Whited <sam@samwhited.com> wrote:

> I've been trying to figure out exactly what you mean before replying and
> have been struggling to do so, so I apologize if I'm misunderstanding
> your emails, but I believe this isn't a problem unless you use the
> channel binding itself as keying material for something. The I-D
> specifically has a section where it says *not* to do that for this
> reason. This is supposed to be a generic mechanism that lets you
> invalidate a session or token if a TLS session changes, that's all. Any
> further use of the CB value would have the problems you describe, and
> therefore they are forbidden.
>
> You are correct in as much as using a channel binding as a key directly
would be bad, one of the requirements of channel bindings in RFC 5056 is
that even if the binding itself is leaked the security of the protocol
shouldn't be undermined.
My assumption is that running GSS-API or SCRAM over TLS is supposed to
provide a security benefit over just running it over an unsecured
connection.
If you view a channel binding as simply the "name" of the TLS channel, and
are simply requiring that the client and server are using the same TLS
channel then the current design achieves that.
However, you lose most of the other security benefits of running the
protocols over TLS.
Specifically you can no longer assume that an honest server cannot be
tricked into producing messages it shouldn't i.e. becoming an oracle.

I was sloppy with my language in my earlier message, it's true that the
channel binding is not key material, it is material that is included in key
derivation to ensure independent runs of the protocol have independent key
spaces.
The idea IMO of using a channel binding is to have a one-to-one binding
between the lower protocol and the upper protocol such that the pair of
protocols together have a globally independent key space, i.e. that it is
impossible for an attacker to cause distinct pairs of runs of the protocols
to have cryptographically related keys.
Under the current designs, multiple runs of GSS-API over a single TLS
session would use related keys.
Not only this, SCRAM runs would _also_ produce related keys.

This is supposed to be a generic mechanism, so we need to consider
composability, i.e. how it works when run alongside other unknown
protocols.
The only global state we maintain across all protocols (at least IETF-wise)
is through IANA registries.
To ensure that runs of different protocols have independent keys we use
context strings, to ensure that runs are one-to-one we use either counters
or nonces.


On the other hand, if an XMPP session's authn and some sort of authz
> token are both using this CB mechanism and are bound to the same TLS
> session that is not a problem. If the session changes they both would
> become invalid. if it doesn't, they both remain valid and do not leak
> any information about each other that wasn't already public.
>
> I don't think this is correct in general, although as I have mentioned, i=
t
may be true for the current implementation of GSS-API / SCRAM, this is not
guaranteed to remain the case and doesn't account for future protocols and
updates to current ones, which is vital for generic mechanisms.
You have to guarantee that no future protocol will have the same message
format, or leak any information derived using the same keys.


I believe there is value in having a generic channel binding, even if
> it's so generic that this means it can't be used as a secret value
> itself. Maybe I'm misunderstanding what you're saying though?
>
> You are right, you can't use channel bindings (in this context) as secret
values (although channel bindings must be derived from secret values, which
is something I write about in excruciating detail in my thesis.)
Having a generic channel binding mechanism is great, I totally support
that, we just need to consider that a single TLS session may be used for
more than one thing, and that channel bindings should keep each of those
things separate.

=E2=80=94Sam
>
> On Wed, Oct 27, 2021, at 13:02, Jonathan Hoyland wrote:
> > Hi Ruslan,
> >
> > Without digging into the guts of GSS-API and SCRAM I can't give you a
> > concrete attack, the issue is that all our assumptions about protocol
> > security assume that different protocols use totally separate key
> > material. For example if I have one protocol that signs arbitrary
> > blobs and another that requires me to sign a challenge to prove I know
> > a private key then even if they're both perfectly secure on their own
> > they are totally broken in composition. This separation of keys is one
> > of the core reasons for the use of HKDFs, it lets us take some source
> > randomness and use it to generate independent keys.
> >
> > Designing a channel binding that explicitly suggests people use the
> > same key material for different things is bad practice and poor
> > protocol design. Pretty much every attack is on the table if you have
> > multiple protocols using the same keys, message forgery, improper
> > authentication, key leakage, etc. The reason for separation of keys is
> > to simply rule out this entire class of vulnerability. If you don't
> > separate the keys then whenever you make any change to any protocol
> > you have to consider its security in composition with every other
> > protocol, including ones that you don't know about or that haven't
> > been written yet.
> >
> > Using different labels for different purposes shouldn't require
> > anything complicated, as it's just changing the input literals to the
> > API call. You just need to use different strings based on the
> > configuration. If keeping a counter of the number of calls to the API
> > is really hard it might be easier to just pick a big enough random
> > number to make collisions sufficiently unlikely.
> >
> > Using the second approach lets you achieve a higher level of security,
> > but is perhaps overkill if you don't include attackers that can break
> > TLS / steal certificates in your threat model. I totally accept that
> > passing state between layers can be tricky, but if you need the
> > security then I think the correct solution is to design the API
> > carefully, rather than to implement something insecurely. As it so
> > happens implementing my second suggestion specifically doesn't require
> > any access to TLS internals. The authentication session needs to make
> > two calls to the `Exporter` API but doesn't require anything more of
> > the TLS connection.
> >
> > Regards,
> >
> > Jonathan
> >
> >
> >
> >
> >
> >
> > On Tue, 26 Oct 2021 at 20:58, Ruslan N. Marchenko
> > <rufferson@gmail.com> wrote:
> >
> >> Hi Jonathan,
> >>
> >> Am Dienstag, dem 26.10.2021 um 17:32 +0100 schrieb Jonathan Hoyland:
> >> > Hi Sam, all,
> >> >
> >> > I'd like to again raise the issues I pointed out in
> >> >
> >>
> https://mailarchive.ietf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1BPoU/
> >> > . This draft hasn't received enough security analysis, and further,
> >> >   I pointed out a specific security issue that remains unaddressed.
> >> >
> >> > Using the same label for different protocols produces trivial
> >> > collisions, and thus it is perfectly possible that a message meant
> >> > for GSS-API is identical in both form and key to a message for
> >> > SCRAM, and thus there is strong potential for confusion. I'm not
> >> > familiar with either of these protocols, so maybe they have
> >> > internal reasons why this example doesn't work, but that misses the
> >> > much larger and more significant point. Any future protocol that
> >> > uses the same label will potentially be confusable, and further
> >> > updates to GSS-API now must ensure that they don't form valid SCRAM
> >> > messages, and vice versa.
> >> >
> >> > There isn't even a one-to-one relationship between GSS-API / SCRAM
> >> > runs. This channel binding design doesn't protect against messages
> >> > being swapped between two GSS-API runs on a single TLS connection.
> >> > Again, whether that is a specific problem for GSS-API is totally
> >> > irrelevant. Another protocol that uses this draft may well be
> >> > vulnerable, and thus this is just leaving a huge security landmine
> >> > in TLS channel bindings.
> >> >
> >> > At an absolute minimum this draft should include "A TLS session
> >> > using this RFC to produce a binding for any purpose MUST NOT
> >> > generate more than one per session. If a second exporter using this
> >> > protocol is required the TLS session MUST be rekeyed."
> >> >
> >> Can you please elaborate a bit more on this particular attack vector?
> >> What exactly information it may leak/compromise and how?
> >>
> >> The reason I'm asking is that application is the one glueing together
> >> TLS and authentication sessions, however application does not always
> >> have access to internals of either one(tls), or another(auth) or even
> >> both. Therefore asking application to transfer context between
> >> authentication and transport APIs may not always be feasible or even
> >> possible.
> >>
> >> Regards, Ruslan
> >>
> >>
>
> --
> Sam Whited
>

--0000000000008a1d7305cf6d1ff2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div>Hi Sam,</div><div><br></div><div>Ple=
ase see my comments inline.</div><div><br></div><div>Regards,</div><div><br=
></div><div>Jonathan<br></div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Wed, 27 Oct 2021 at 22:13, Sam Whited &lt;=
<a href=3D"mailto:sam@samwhited.com" target=3D"_blank">sam@samwhited.com</a=
>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I&#=
39;ve been trying to figure out exactly what you mean before replying and<b=
r>
have been struggling to do so, so I apologize if I&#39;m misunderstanding<b=
r>
your emails, but I believe this isn&#39;t a problem unless you use the<br>
channel binding itself as keying material for something. The I-D<br>
specifically has a section where it says *not* to do that for this<br>
reason. This is supposed to be a generic mechanism that lets you<br>
invalidate a session or token if a TLS session changes, that&#39;s all. Any=
<br>
further use of the CB value would have the problems you describe, and<br>
therefore they are forbidden.<br>
<br></blockquote>You are correct in as much as using a channel binding as a=
 key directly would be bad, one of the requirements of channel bindings in =
RFC 5056 is that even if the binding itself is leaked the security of the p=
rotocol shouldn&#39;t be undermined. <br></div><div class=3D"gmail_quote">M=
y assumption is that running GSS-API or SCRAM over TLS is supposed to provi=
de a security benefit over just running it over an unsecured connection.</d=
iv><div class=3D"gmail_quote">If you view a channel binding as simply the &=
quot;name&quot; of the TLS channel, and are simply requiring that the clien=
t and server are using the same TLS channel then the current design achieve=
s that.</div><div class=3D"gmail_quote">However, you lose most of the other=
 security benefits of running the protocols over TLS. <br></div><div class=
=3D"gmail_quote">Specifically you can no longer assume that an honest serve=
r cannot be tricked into producing messages it shouldn&#39;t i.e. becoming =
an oracle. <br></div><div class=3D"gmail_quote"><br></div><div class=3D"gma=
il_quote">I was sloppy with my language in my earlier message, it&#39;s tru=
e that the=20
channel binding is not key material, it is material that is included in key=
 derivation to ensure independent runs of the protocol have independent key=
=20
spaces. </div><div class=3D"gmail_quote">The idea IMO of using a channel bi=
nding is to have a one-to-one binding between the lower protocol and the up=
per protocol such that the pair of protocols together have a globally indep=
endent key space, i.e. that it is impossible for an attacker to cause disti=
nct pairs of runs of the protocols to have cryptographically related keys. =
<br></div><div class=3D"gmail_quote">Under the current designs, multiple ru=
ns of GSS-API over a single TLS session would use related keys. <br></div><=
div class=3D"gmail_quote">Not only this, SCRAM runs would _also_ produce re=
lated keys. <br></div><div class=3D"gmail_quote"><br></div><div class=3D"gm=
ail_quote">This is supposed to be a generic mechanism, so we need to consid=
er composability, i.e. how it works when run alongside other unknown protoc=
ols. <br></div><div class=3D"gmail_quote">The only global state we maintain=
 across all protocols (at least IETF-wise) is through IANA registries.</div=
><div class=3D"gmail_quote">To ensure that runs of different protocols have=
 independent keys we use context strings, to ensure that runs are one-to-on=
e we use either counters or nonces.<br></div><div class=3D"gmail_quote"><br=
></div><br><div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex">
On the other hand, if an XMPP session&#39;s authn and some sort of authz<br=
>
token are both using this CB mechanism and are bound to the same TLS<br>
session that is not a problem. If the session changes they both would<br>
become invalid. if it doesn&#39;t, they both remain valid and do not leak<b=
r>
any information about each other that wasn&#39;t already public.<br>
<br></blockquote><div>I don&#39;t think this is correct in general, althoug=
h as I have mentioned, it may be true for the current implementation of GSS=
-API / SCRAM, this is not guaranteed to remain the case and doesn&#39;t acc=
ount for future protocols and updates to current ones, which is vital for g=
eneric mechanisms.</div><div>You have to guarantee that no future protocol =
will have the same message format, or leak any information derived using th=
e same keys. <br></div><div><br></div><div> <br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex">
I believe there is value in having a generic channel binding, even if<br>
it&#39;s so generic that this means it can&#39;t be used as a secret value<=
br>
itself. Maybe I&#39;m misunderstanding what you&#39;re saying though?<br>
<br></blockquote><div>You are right, you can&#39;t use channel bindings (in=
 this context) as secret values (although channel bindings must be derived =
from secret values, which is something I write about in excruciating detail=
 in my thesis.) <br></div><div>Having a generic channel binding mechanism i=
s great, I totally support that, we just need to consider that a single TLS=
 session may be used for more than one thing, and that channel bindings sho=
uld keep each of those things separate. <br></div><div><br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">
=E2=80=94Sam<br>
<br>
On Wed, Oct 27, 2021, at 13:02, Jonathan Hoyland wrote:<br>
&gt; Hi Ruslan,<br>
&gt;<br>
&gt; Without digging into the guts of GSS-API and SCRAM I can&#39;t give yo=
u a<br>
&gt; concrete attack, the issue is that all our assumptions about protocol<=
br>
&gt; security assume that different protocols use totally separate key<br>
&gt; material. For example if I have one protocol that signs arbitrary<br>
&gt; blobs and another that requires me to sign a challenge to prove I know=
<br>
&gt; a private key then even if they&#39;re both perfectly secure on their =
own<br>
&gt; they are totally broken in composition. This separation of keys is one=
<br>
&gt; of the core reasons for the use of HKDFs, it lets us take some source<=
br>
&gt; randomness and use it to generate independent keys.<br>
&gt;<br>
&gt; Designing a channel binding that explicitly suggests people use the<br=
>
&gt; same key material for different things is bad practice and poor<br>
&gt; protocol design. Pretty much every attack is on the table if you have<=
br>
&gt; multiple protocols using the same keys, message forgery, improper<br>
&gt; authentication, key leakage, etc. The reason for separation of keys is=
<br>
&gt; to simply rule out this entire class of vulnerability. If you don&#39;=
t<br>
&gt; separate the keys then whenever you make any change to any protocol<br=
>
&gt; you have to consider its security in composition with every other<br>
&gt; protocol, including ones that you don&#39;t know about or that haven&#=
39;t<br>
&gt; been written yet.<br>
&gt;<br>
&gt; Using different labels for different purposes shouldn&#39;t require<br=
>
&gt; anything complicated, as it&#39;s just changing the input literals to =
the<br>
&gt; API call. You just need to use different strings based on the<br>
&gt; configuration. If keeping a counter of the number of calls to the API<=
br>
&gt; is really hard it might be easier to just pick a big enough random<br>
&gt; number to make collisions sufficiently unlikely.<br>
&gt;<br>
&gt; Using the second approach lets you achieve a higher level of security,=
<br>
&gt; but is perhaps overkill if you don&#39;t include attackers that can br=
eak<br>
&gt; TLS / steal certificates in your threat model. I totally accept that<b=
r>
&gt; passing state between layers can be tricky, but if you need the<br>
&gt; security then I think the correct solution is to design the API<br>
&gt; carefully, rather than to implement something insecurely. As it so<br>
&gt; happens implementing my second suggestion specifically doesn&#39;t req=
uire<br>
&gt; any access to TLS internals. The authentication session needs to make<=
br>
&gt; two calls to the `Exporter` API but doesn&#39;t require anything more =
of<br>
&gt; the TLS connection.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Jonathan<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, 26 Oct 2021 at 20:58, Ruslan N. Marchenko<br>
&gt; &lt;<a href=3D"mailto:rufferson@gmail.com" target=3D"_blank">rufferson=
@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi Jonathan,<br>
&gt;&gt;<br>
&gt;&gt; Am Dienstag, dem 26.10.2021 um 17:32 +0100 schrieb Jonathan Hoylan=
d:<br>
&gt;&gt; &gt; Hi Sam, all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;d like to again raise the issues I pointed out in<br>
&gt;&gt; &gt;<br>
&gt;&gt; <a href=3D"https://mailarchive.ietf.org/arch/msg/kitten/13pPj4E3-g=
Ywpbu2K844uI1BPoU/" rel=3D"noreferrer" target=3D"_blank">https://mailarchiv=
e.ietf.org/arch/msg/kitten/13pPj4E3-gYwpbu2K844uI1BPoU/</a><br>
&gt;&gt; &gt; . This draft hasn&#39;t received enough security analysis, an=
d further,<br>
&gt;&gt; &gt;=C2=A0 =C2=A0I pointed out a specific security issue that rema=
ins unaddressed.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Using the same label for different protocols produces trivial=
<br>
&gt;&gt; &gt; collisions, and thus it is perfectly possible that a message =
meant<br>
&gt;&gt; &gt; for GSS-API is identical in both form and key to a message fo=
r<br>
&gt;&gt; &gt; SCRAM, and thus there is strong potential for confusion. I&#3=
9;m not<br>
&gt;&gt; &gt; familiar with either of these protocols, so maybe they have<b=
r>
&gt;&gt; &gt; internal reasons why this example doesn&#39;t work, but that =
misses the<br>
&gt;&gt; &gt; much larger and more significant point. Any future protocol t=
hat<br>
&gt;&gt; &gt; uses the same label will potentially be confusable, and furth=
er<br>
&gt;&gt; &gt; updates to GSS-API now must ensure that they don&#39;t form v=
alid SCRAM<br>
&gt;&gt; &gt; messages, and vice versa.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; There isn&#39;t even a one-to-one relationship between GSS-AP=
I / SCRAM<br>
&gt;&gt; &gt; runs. This channel binding design doesn&#39;t protect against=
 messages<br>
&gt;&gt; &gt; being swapped between two GSS-API runs on a single TLS connec=
tion.<br>
&gt;&gt; &gt; Again, whether that is a specific problem for GSS-API is tota=
lly<br>
&gt;&gt; &gt; irrelevant. Another protocol that uses this draft may well be=
<br>
&gt;&gt; &gt; vulnerable, and thus this is just leaving a huge security lan=
dmine<br>
&gt;&gt; &gt; in TLS channel bindings.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; At an absolute minimum this draft should include &quot;A TLS =
session<br>
&gt;&gt; &gt; using this RFC to produce a binding for any purpose MUST NOT<=
br>
&gt;&gt; &gt; generate more than one per session. If a second exporter usin=
g this<br>
&gt;&gt; &gt; protocol is required the TLS session MUST be rekeyed.&quot;<b=
r>
&gt;&gt; &gt;<br>
&gt;&gt; Can you please elaborate a bit more on this particular attack vect=
or?<br>
&gt;&gt; What exactly information it may leak/compromise and how?<br>
&gt;&gt;<br>
&gt;&gt; The reason I&#39;m asking is that application is the one glueing t=
ogether<br>
&gt;&gt; TLS and authentication sessions, however application does not alwa=
ys<br>
&gt;&gt; have access to internals of either one(tls), or another(auth) or e=
ven<br>
&gt;&gt; both. Therefore asking application to transfer context between<br>
&gt;&gt; authentication and transport APIs may not always be feasible or ev=
en<br>
&gt;&gt; possible.<br>
&gt;&gt;<br>
&gt;&gt; Regards, Ruslan<br>
&gt;&gt;<br>
&gt;&gt;<br>
<br>
-- <br>
Sam Whited<br>
</blockquote></div></div></div>

--0000000000008a1d7305cf6d1ff2--


From nobody Thu Oct 28 10:46:44 2021
Return-Path: <jonathan.hoyland@gmail.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9EF763A091E; Thu, 28 Oct 2021 10:46:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 79bIpJ8Ecnkm; Thu, 28 Oct 2021 10:46:39 -0700 (PDT)
Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7EF7C3A090D; Thu, 28 Oct 2021 10:46:39 -0700 (PDT)
Received: by mail-qt1-x833.google.com with SMTP id c28so6486860qtv.11; Thu, 28 Oct 2021 10:46:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kMODBa+9SqhbpD4XJAw/BAUqA0823Hck4w71Ek/7e1o=; b=XFO/jFJmJIxqj7hWQOWF6qUVZIjA5sjrnsIgq4XY3ozOmWuk4cNtwNBNeL/NKK+iRe ctJ/PXz3IvvETk6EZnXjpWjCOYotyMqzfJXRJGJjJwYK0iqdJDluq1nwNJokyOWFt/ly 2kzrWqvak9itD1qh55L8ebTjPFslsV1kX8UdBXNUa55IsAP4ZB0KX1DnU7Q8PhvGYpUW nZZ0/+SNKGEbIBuKvowYj5a3f/tWlZokjuOi8GrimLIv8iRtJgwUw+WZQrjOLosukQoz 7QmDFBSvLlREmHBDoVNTLlZV1mmL/CNUPBZrphQeQIvae5sDsAl7J4ajZJ5TxlVxLa6W aPOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kMODBa+9SqhbpD4XJAw/BAUqA0823Hck4w71Ek/7e1o=; b=RDad19nuIcjTWdP1rpDawF9dYaUxAqm9eWFeLaEQHeD+9tYAwQ3zOEUuAmqRjSS4dd v/g2UUIpe9Mz2FbG/d3I91dxut5Qy2rJqMEdbvWXQfXDAClmsjEbGkSXKUTmGfw3l6Sd rME2VZpTu39DGEs322FvP7kB7AbkhFcpAQDbZ+79sxYyj1cTEq5PCmhlp12BEEyByZ1Z ebK5uw5DX81PDJlSznyUnBG+xBMTCc7IAF5OFFYJvMEKKchpjyJX0AqYHAxL82tR5+eF HQh1M4PpzlM76we2ENJ964c/pOj82OsFdayTbvdAv2xRknmlBbKdXWtvsUn+OGn58auC MD5Q==
X-Gm-Message-State: AOAM530qP9d4JG1voeAl/RMsEkDUYteIlg6537lwlimE8rHRhBnvfrO9 owry8Qc11pp49SxoGvQ9sioB0nCXuKegkvSnvyU=
X-Google-Smtp-Source: ABdhPJzaWZgTaLpMbw7G0nV/iS0EEl+GVb3KrPd+w5RXq06mAN1OvEKrle9TETwucHhkgvYVp87GhtbL6vXWpzB/jGM=
X-Received: by 2002:ac8:5c54:: with SMTP id j20mr6275275qtj.190.1635443197943;  Thu, 28 Oct 2021 10:46:37 -0700 (PDT)
MIME-Version: 1.0
References: <163311243544.13917.11736165165419008870@ietfa.amsl.com> <20211001190002.GC98042@kduck.mit.edu> <CABcZeBPQG82xJdwMrmj4-=9aJymo1xts=D6VZedBW5X9k+34cQ@mail.gmail.com> <92ed26c1-bfde-43c1-93f4-2bbdbd4f6ec1@www.fastmail.com> <CAChr6Sw6Rs42DfS8KgD3qasPcWM_gGZhWN5C4b7W7JsPy0wDzw@mail.gmail.com> <8796f867-12b8-41f8-b124-82b3ab0e2d32@www.fastmail.com> <CAChr6SyKAnBcE9t68coGGXFt9WPLuDuWtVKoCXrK+QrwAVtPXw@mail.gmail.com> <f1bcd676-13ad-49b3-a8e8-8a272e0124e3@www.fastmail.com> <CABcZeBNo0gKjNZOKPYJYraioaw6G=z5ibTqh-o9GkWsDkfDmSQ@mail.gmail.com> <c4d6f2e5-0712-42a6-aef5-0cbada7e149e@www.fastmail.com> <CABcZeBM6y-6ZqaLGZ=8qr+uBnWOOgczhcx=ruy5S=n-YrHweKg@mail.gmail.com> <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com> <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com> <e9570c02c4f703780a4e317b26607ac124a3b595.camel@ruff.mobi> <CACykbs3v0FC50WQHNqq-oXwKDE=Jha-o0P=Mgr92OgyeKPS6Ug@mail.gmail.com> <7e862904cee5f86e4b77fce23c451c2abe0dc720.camel@ruff.mobi>
In-Reply-To: <7e862904cee5f86e4b77fce23c451c2abe0dc720.camel@ruff.mobi>
From: Jonathan Hoyland <jonathan.hoyland@gmail.com>
Date: Thu, 28 Oct 2021 18:46:26 +0100
Message-ID: <CACykbs2V0mgxDz_MK2EiqSDBGWWfvq0TAX+UpLSEZKwOoFc8HQ@mail.gmail.com>
To: "Ruslan N. Marchenko" <rufferson@gmail.com>
Cc: KITTEN Working Group <kitten@ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000dd227b05cf6d4a3b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/xw_XfNOx3VoUtrkEjf-qopZ1Xko>
Subject: Re: [kitten] [TLS] Fwd: Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Oct 2021 17:46:43 -0000

--000000000000dd227b05cf6d4a3b
Content-Type: text/plain; charset="UTF-8"

Hi Ruslan,

Yes, two distinct TLS connections having the same exporter key would be
really bad, but I'm specifically talking about two runs of some protocol
bound to a single TLS session.
A single TLS session will return the same key (modulo rekeying, resumption
etc.) if you call the Exporter API with the same label.
This means that the channel bindings it produces, which will then be used
to derive the keys of the higher layer protocol, will produce related keys.

The key reason for making the binding retrieval context-specific is to make
sure that different protocols run in the same TLS session produce disjoint
keys.
When someone tries to copy a message from a SCRAM handshake into some
GSS-API run on a single TLS connection I want to be sure that it will be
rejected, without having to understand exactly how every version of SCRAM
and GSS-API ever (including ones that will be drafted in the future) works
(not to mention every other protocol past, present, and future that uses
the same string.)

In the same way that we include strings in the TLS key schedule to ensure
that handshake messages can't be confused with each other or with earlier
versions of TLS, or even with Exported Authenticators, or MLS, or any other
protocol that uses keys, we should use channel bindings to separate
protocols run over the top of TLS.

Regards,

Jonathan

On Wed, 27 Oct 2021 at 19:39, Ruslan N. Marchenko <rufferson@gmail.com>
wrote:

> Hi Jonathan,
>
> Am Mittwoch, dem 27.10.2021 um 18:02 +0100 schrieb Jonathan Hoyland:
> > Hi Ruslan,
> >
> > Without digging into the guts of GSS-API and SCRAM I can't give you a
> > concrete attack, the issue is that all our assumptions about protocol
> > security assume that different protocols use totally separate key
> > material.
> > For example if I have one protocol that signs arbitrary blobs and
> > another that requires me to sign a challenge to prove I know a private
> > key then even if they're both perfectly secure on their own they are
> > totally broken in composition.
> > This separation of keys is one of the core reasons for the use of
> > HKDFs, it lets us take some source randomness and use it to generate
> > independent keys.
> >
> > Designing a channel binding that explicitly suggests people use the
> > same key material for different things is bad practice and poor
> > protocol design.
> > Pretty much every attack is on the table if you have multiple protocols
> > using the same keys, message forgery, improper authentication, key
> > leakage, etc.
> > The reason for separation of keys is to simply rule out this entire
> > class of vulnerability.
>
> Sorry maybe I'm missing something but why would two unrelated protocols
> have same key? The binding is derived from TLS session key, if two
> unrelated TLS sessions are having the same key this is the problem by
> itself, and binding material is not amplifying it, just falling to the
> same problem bucket. And if they are related (eg resumed) then protocol
> muxing should perhaps be part of applicaiton stack and it should still
> be happy with a common security context.
>
> > If you don't separate the keys then whenever you make any change to any
> > protocol you have to consider its security in composition with every
> > other protocol, including ones that you don't know about or that
> > haven't been written yet.
> >
> > Using different labels for different purposes shouldn't require
> > anything complicated, as it's just changing the input literals to the
> > API call.
> >
> There's a difference in telling TLS stack "give me binding of that
> type" - which is pretty much high level abstract call, and asking TLS
> to perform key derivation (export) for specific label - which requires
> speaking native TLS implementation api. Now that we have a bunch of TLS
> implementations and several abstractions and all other binding types
> are independent of the higher protocol - it may be challenging changing
> the API to make the binding retrieval context-specific. Not that it is
> impossible to make such change, but why?
>
>
>
>

--000000000000dd227b05cf6d4a3b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Ruslan,</div><div><br></div><div>Yes, two distinct=
 TLS connections having the same exporter key would be really bad, but I&#3=
9;m specifically talking about two runs of some protocol bound to a single =
TLS session.</div><div>A single TLS session will return the same key (modul=
o rekeying, resumption etc.) if you call the Exporter API with the same lab=
el.</div><div>This means that the channel bindings it produces, which will =
then be used to derive the keys of the higher layer protocol, will produce =
related keys.</div><div><br></div><div>The key reason for making the bindin=
g retrieval context-specific is to make sure that different protocols run i=
n the same TLS session produce disjoint keys. <br></div><div>When someone t=
ries to copy a message from a SCRAM handshake into some GSS-API run on a si=
ngle TLS connection I want to be sure that it will be rejected, without hav=
ing to understand exactly how every version of SCRAM and GSS-API ever (incl=
uding ones that will be drafted in the future) works (not to mention every =
other protocol past, present, and future that uses the same string.)</div><=
div><br></div><div>In the same way that we include strings in the TLS key s=
chedule to ensure that handshake messages can&#39;t be confused with each o=
ther or with earlier versions of TLS, or even with Exported Authenticators,=
 or MLS, or any other protocol that uses keys, we should use channel bindin=
gs to separate protocols run over the top of TLS. <br></div><div><br></div>=
<div>Regards,</div><div><br></div><div>Jonathan<br></div></div><br><div cla=
ss=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, 27 Oct 202=
1 at 19:39, Ruslan N. Marchenko &lt;<a href=3D"mailto:rufferson@gmail.com">=
rufferson@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex">Hi Jonathan,<br>
<br>
Am Mittwoch, dem 27.10.2021 um 18:02 +0100 schrieb Jonathan Hoyland:<br>
&gt; Hi Ruslan,<br>
&gt; <br>
&gt; Without digging into the guts of GSS-API and SCRAM I can&#39;t give yo=
u a<br>
&gt; concrete attack, the issue is that all our assumptions about protocol<=
br>
&gt; security assume that different protocols use totally separate key<br>
&gt; material.<br>
&gt; For example if I have one protocol that signs arbitrary blobs and<br>
&gt; another that requires me to sign a challenge to prove I know a private=
<br>
&gt; key then even if they&#39;re both perfectly secure on their own they a=
re<br>
&gt; totally broken in composition. <br>
&gt; This separation of keys is one of the core reasons for the use of<br>
&gt; HKDFs, it lets us take some source randomness and use it to generate<b=
r>
&gt; independent keys.<br>
&gt; <br>
&gt; Designing a channel binding that explicitly suggests people use the<br=
>
&gt; same key material for different things is bad practice and poor<br>
&gt; protocol design.<br>
&gt; Pretty much every attack is on the table if you have multiple protocol=
s<br>
&gt; using the same keys, message forgery, improper authentication, key<br>
&gt; leakage, etc.<br>
&gt; The reason for separation of keys is to simply rule out this entire<br=
>
&gt; class of vulnerability.<br>
<br>
Sorry maybe I&#39;m missing something but why would two unrelated protocols=
<br>
have same key? The binding is derived from TLS session key, if two<br>
unrelated TLS sessions are having the same key this is the problem by<br>
itself, and binding material is not amplifying it, just falling to the<br>
same problem bucket. And if they are related (eg resumed) then protocol<br>
muxing should perhaps be part of applicaiton stack and it should still<br>
be happy with a common security context.<br>
<br>
&gt; If you don&#39;t separate the keys then whenever you make any change t=
o any<br>
&gt; protocol you have to consider its security in composition with every<b=
r>
&gt; other protocol, including ones that you don&#39;t know about or that<b=
r>
&gt; haven&#39;t been written yet.<br>
&gt; <br>
&gt; Using different labels for different purposes shouldn&#39;t require<br=
>
&gt; anything complicated, as it&#39;s just changing the input literals to =
the<br>
&gt; API call.<br>
&gt; <br>
There&#39;s a difference in telling TLS stack &quot;give me binding of that=
<br>
type&quot; - which is pretty much high level abstract call, and asking TLS<=
br>
to perform key derivation (export) for specific label - which requires<br>
speaking native TLS implementation api. Now that we have a bunch of TLS<br>
implementations and several abstractions and all other binding types<br>
are independent of the higher protocol - it may be challenging changing<br>
the API to make the binding retrieval context-specific. Not that it is<br>
impossible to make such change, but why?<br>
<br>
<br>
<br>
</blockquote></div>

--000000000000dd227b05cf6d4a3b--


From nobody Fri Oct 29 06:55:52 2021
Return-Path: <simo@redhat.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF3373A121C for <kitten@ietfa.amsl.com>; Fri, 29 Oct 2021 06:55:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.12
X-Spam-Level: 
X-Spam-Status: No, score=-2.12 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=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=redhat.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 FHpMU9N6hcOa for <kitten@ietfa.amsl.com>; Fri, 29 Oct 2021 06:55:45 -0700 (PDT)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 3412D3A120F for <kitten@ietf.org>; Fri, 29 Oct 2021 06:55:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635515744; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YTnYHzkWzXfeUTRVGTX0nrMpNTu6VXN84gr61XkaZn4=; b=aWyoTUGSdsaynoGZqtM1T/v4+Fe02PHXqsK7OkrYaBTJ7jeU/r+nesZp9CyGlq+sHmbpqL gv4YG/CPcDVY8uKLAB1Oa5vKXMH9gLB/n4OQfp3suLt6hp0meIqDdsSsJLha7h5WZWSP1b J1Dh4EYUNvKleIhZORPzfer1uww9SvQ=
Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-165-55ticasZOWidi9l6rNQnlw-1; Fri, 29 Oct 2021 09:55:41 -0400
X-MC-Unique: 55ticasZOWidi9l6rNQnlw-1
Received: by mail-qv1-f72.google.com with SMTP id kc11-20020a056214410b00b003886a263a48so4477187qvb.12 for <kitten@ietf.org>; Fri, 29 Oct 2021 06:55:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:organization:user-agent:mime-version :content-transfer-encoding; bh=YTnYHzkWzXfeUTRVGTX0nrMpNTu6VXN84gr61XkaZn4=; b=gC+L6TyrgDSrh96sQDJLCwxHkoH7QcdXm/KTFvjNFbozippMUkUm4s+MfWJ4vxGl29 gCn+cdmXZaJeWT4jTLPdHg3EdkNitlBbN93LUYbWnMrMdYNmoqtbHUqqc5nuQGq64ZL/ t2EJmw0yehRQqXcH9oUtKADD3UTvpUJ+3crST5Zf+YoM3XItUMjeW8629N+wIKR53kPT NrpD+jR7U2siNVHEBQ94UutJD7HYTT7oVYwh8O9J5jPfBP5LbyPo9oDzXTg90OxQi2gg UR5+RQDuO1Ai6PnBOYGfePVwEM26ZNH9gkGCuDRnFSmNF3PGvyPELk6BnykmzsBNC5GP RmkA==
X-Gm-Message-State: AOAM5310nFWSsaAtAP/ioHdNsMRc9n3NaqWC3xMEv+SiK8H4WA/B3GCX uquUH2w9kOk+m/cUEl6B3P9VIvbvnBvjePtXHg0D/2/zetoFqEtFN2VAwtzOSuvt67/HKkw9tPM oF4Bvfaw=
X-Received: by 2002:a37:4649:: with SMTP id t70mr9052090qka.139.1635515741235;  Fri, 29 Oct 2021 06:55:41 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJzlcesl4JIzZ1Rnb9K3MOGXrXC05gFRWqVrNxbxyTDsFB3ugj60hlDXNATda4EpXv6buE9v5A==
X-Received: by 2002:a37:4649:: with SMTP id t70mr9052068qka.139.1635515740928;  Fri, 29 Oct 2021 06:55:40 -0700 (PDT)
Received: from m8.users.ipa.redhat.com (cpe-158-222-141-151.nyc.res.rr.com. [158.222.141.151]) by smtp.gmail.com with ESMTPSA id o10sm930852qtx.52.2021.10.29.06.55.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 06:55:40 -0700 (PDT)
Message-ID: <e682da42c5ccd32d1d184970db631624eb6ee507.camel@redhat.com>
From: Simo Sorce <simo@redhat.com>
To: Jonathan Hoyland <jonathan.hoyland@gmail.com>, "Ruslan N. Marchenko" <rufferson@gmail.com>
Cc: KITTEN Working Group <kitten@ietf.org>, "<tls@ietf.org>" <tls@ietf.org>
Date: Fri, 29 Oct 2021 09:55:39 -0400
In-Reply-To: <CACykbs2V0mgxDz_MK2EiqSDBGWWfvq0TAX+UpLSEZKwOoFc8HQ@mail.gmail.com>
References: <163311243544.13917.11736165165419008870@ietfa.amsl.com> <20211001190002.GC98042@kduck.mit.edu> <CABcZeBPQG82xJdwMrmj4-=9aJymo1xts=D6VZedBW5X9k+34cQ@mail.gmail.com> <92ed26c1-bfde-43c1-93f4-2bbdbd4f6ec1@www.fastmail.com> <CAChr6Sw6Rs42DfS8KgD3qasPcWM_gGZhWN5C4b7W7JsPy0wDzw@mail.gmail.com> <8796f867-12b8-41f8-b124-82b3ab0e2d32@www.fastmail.com> <CAChr6SyKAnBcE9t68coGGXFt9WPLuDuWtVKoCXrK+QrwAVtPXw@mail.gmail.com> <f1bcd676-13ad-49b3-a8e8-8a272e0124e3@www.fastmail.com> <CABcZeBNo0gKjNZOKPYJYraioaw6G=z5ibTqh-o9GkWsDkfDmSQ@mail.gmail.com> <c4d6f2e5-0712-42a6-aef5-0cbada7e149e@www.fastmail.com> <CABcZeBM6y-6ZqaLGZ=8qr+uBnWOOgczhcx=ruy5S=n-YrHweKg@mail.gmail.com> <ca676a77-b2c9-4926-9842-d1d6587206ed@www.fastmail.com> <CACykbs11rHUweXmR1NSU0N2rRjcQ8Sf1S+DY2LO7T+e6cLt+5w@mail.gmail.com> <e9570c02c4f703780a4e317b26607ac124a3b595.camel@ruff.mobi> <CACykbs3v0FC50WQHNqq-oXwKDE=Jha-o0P=Mgr92OgyeKPS6Ug@mail.gmail.com> <7e862904cee5f86e4b77fce23c451c2abe0dc720.camel@ruff.mobi> <CACykbs2V0mgxDz_MK2EiqSDBGWWfvq0TAX+UpLSEZKwOoFc8HQ@mail.gmail.com>
Organization: Red Hat
User-Agent: Evolution 3.40.4 (3.40.4-2.fc34)
MIME-Version: 1.0
Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=simo@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/Y7Ffln3jpLBSfxnP-M4CXtU3Tro>
Subject: Re: [kitten] [TLS] Fwd: Last Call: <draft-ietf-kitten-tls-channel-bindings-for-tls13-09.txt> (Channel Bindings for TLS 1.3) to Proposed Standard
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 29 Oct 2021 13:55:51 -0000

Hi Jonathan,

On Thu, 2021-10-28 at 18:46 +0100, Jonathan Hoyland wrote:
> Hi Ruslan,
> 
> Yes, two distinct TLS connections having the same exporter key would be
> really bad, but I'm specifically talking about two runs of some protocol
> bound to a single TLS session.
> A single TLS session will return the same key (modulo rekeying, resumption
> etc.) if you call the Exporter API with the same label.
> This means that the channel bindings it produces, which will then be used
> to derive the keys of the higher layer protocol, will produce related keys.
> 
> The key reason for making the binding retrieval context-specific is to make
> sure that different protocols run in the same TLS session produce disjoint
> keys.

Note, Channel Bindings are *not* a key and should never used as such,
so I think you are using a false premise here.
Channel Bindings are, at most, a unique value associated with a session
(keep in mind that often Channel Bindings do not even bind to a
specific session, see 'tls-server-end-point' which is used in
preference in many cases within HTTPS endpoints because of the way
server termination is built in some scalable architectures).

> When someone tries to copy a message from a SCRAM handshake into some
> GSS-API run on a single TLS connection I want to be sure that it will be
> rejected, without having to understand exactly how every version of SCRAM
> and GSS-API ever (including ones that will be drafted in the future) works
> (not to mention every other protocol past, present, and future that uses
> the same string.)

Both SCRAM and GSS-API are authentication mechanisms that use shared
keys for authentication. Both protocols are inherently resistant to
message swapping because the chances of producing a message on one
protocol that can be successfully decrypted/HMACed on the other are
astronomically low (they must be or the protocols are broken).

Channel bindings are just a way to tie those authentications to the
specific channel used underneath. I can't see how using the same value
for both protocols can lead to any compromise (see again 'tls-server-
end-point', where there isn't even a "same" channel guarantee, or
previous CBs where the binding was done to an IP address or other clear
text session value).

If passing an arbitrary channel binding values could suddenly (and
predictably?) allow one protocol to be swapped for the other or have
one protocol generate derived session keys that are usable with the
other, it would mean those authentication mechanisms (SCRAM,GSS-
API,...) are completely broken, as that would mean the keys and
derivations used in those protocols are not providing the necessary
security guarantees.

> In the same way that we include strings in the TLS key schedule to ensure
> that handshake messages can't be confused with each other or with earlier
> versions of TLS, or even with Exported Authenticators, or MLS, or any other
> protocol that uses keys, we should use channel bindings to separate
> protocols run over the top of TLS.

Yes, this is done because those messages are not further confounded
with additional private keys, but the situation is substantially
different when you talk about authentication mechanism that already use
additional key material, key derivation and random challenges.

HTH,
Simo.

> Regards,
> 
> Jonathan
> 
> On Wed, 27 Oct 2021 at 19:39, Ruslan N. Marchenko <rufferson@gmail.com>
> wrote:
> 
> > Hi Jonathan,
> > 
> > Am Mittwoch, dem 27.10.2021 um 18:02 +0100 schrieb Jonathan Hoyland:
> > > Hi Ruslan,
> > > 
> > > Without digging into the guts of GSS-API and SCRAM I can't give you a
> > > concrete attack, the issue is that all our assumptions about protocol
> > > security assume that different protocols use totally separate key
> > > material.
> > > For example if I have one protocol that signs arbitrary blobs and
> > > another that requires me to sign a challenge to prove I know a private
> > > key then even if they're both perfectly secure on their own they are
> > > totally broken in composition.
> > > This separation of keys is one of the core reasons for the use of
> > > HKDFs, it lets us take some source randomness and use it to generate
> > > independent keys.
> > > 
> > > Designing a channel binding that explicitly suggests people use the
> > > same key material for different things is bad practice and poor
> > > protocol design.
> > > Pretty much every attack is on the table if you have multiple protocols
> > > using the same keys, message forgery, improper authentication, key
> > > leakage, etc.
> > > The reason for separation of keys is to simply rule out this entire
> > > class of vulnerability.
> > 
> > Sorry maybe I'm missing something but why would two unrelated protocols
> > have same key? The binding is derived from TLS session key, if two
> > unrelated TLS sessions are having the same key this is the problem by
> > itself, and binding material is not amplifying it, just falling to the
> > same problem bucket. And if they are related (eg resumed) then protocol
> > muxing should perhaps be part of applicaiton stack and it should still
> > be happy with a common security context.
> > 
> > > If you don't separate the keys then whenever you make any change to any
> > > protocol you have to consider its security in composition with every
> > > other protocol, including ones that you don't know about or that
> > > haven't been written yet.
> > > 
> > > Using different labels for different purposes shouldn't require
> > > anything complicated, as it's just changing the input literals to the
> > > API call.
> > > 
> > There's a difference in telling TLS stack "give me binding of that
> > type" - which is pretty much high level abstract call, and asking TLS
> > to perform key derivation (export) for specific label - which requires
> > speaking native TLS implementation api. Now that we have a bunch of TLS
> > implementations and several abstractions and all other binding types
> > are independent of the higher protocol - it may be challenging changing
> > the API to make the binding retrieval context-specific. Not that it is
> > impossible to make such change, but why?
> > 
> > 
> > 
> > 
> _______________________________________________
> Kitten mailing list
> Kitten@ietf.org
> https://www.ietf.org/mailman/listinfo/kitten

-- 
Simo Sorce
RHEL Crypto Team
Red Hat, Inc




