Re: [TLS] Extensions "supported_groups" and "key_share" in TLS 1.3

Dave Garrett <davemgarrett@gmail.com> Thu, 26 November 2015 22:50 UTC

Return-Path: <davemgarrett@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 814201ACEF6 for <tls@ietfa.amsl.com>; Thu, 26 Nov 2015 14:50:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 hchhxGk1NVVq for <tls@ietfa.amsl.com>; Thu, 26 Nov 2015 14:50:14 -0800 (PST)
Received: from mail-qg0-x22b.google.com (mail-qg0-x22b.google.com [IPv6:2607:f8b0:400d:c04::22b]) (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 18BA41AD082 for <tls@ietf.org>; Thu, 26 Nov 2015 14:50:14 -0800 (PST)
Received: by qgec40 with SMTP id c40so62453869qge.2 for <tls@ietf.org>; Thu, 26 Nov 2015 14:50:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=SAG1dpvdOdSQTRuO1M5y+yOFD95ONDhQ2OVbr6m4YEk=; b=I+q5VGHsbTIXDTk1Rhrcsza9p6/KohvE1czES6pYFpcMTXn+yUl55yq2DllNzEOHwe uLdi+VThV9HRsvrB/nloGhH4JwmVC8IoUKItdlx+ykR5ycx0J5o87xCpB2vFDNQ7hwn0 TFvBdtauM28g9TNJey6Q6W29vyrI/Iq2Ct0Jihsk7Xy9Xfe7+GFS7C1s6xp9P9zzxD1O 7QG9Xbv86Ey+HQ4rM5usVVdxh8tpMJiE6tuSlR71d6ypMbC0KVucZXmP11eoYOPEnuK2 FC23I68lzdBlO3peXgJkJ4FZiW/26gWKG6gNfot5FqJiInhnqv82FkZzL4O6K4OJQ6rt 5CEw==
X-Received: by 10.140.239.87 with SMTP id k84mr54271445qhc.87.1448578213284; Thu, 26 Nov 2015 14:50:13 -0800 (PST)
Received: from dave-laptop.localnet (pool-72-94-152-197.phlapa.fios.verizon.net. [72.94.152.197]) by smtp.gmail.com with ESMTPSA id t18sm8141860qkt.26.2015.11.26.14.50.12 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 26 Nov 2015 14:50:12 -0800 (PST)
From: Dave Garrett <davemgarrett@gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>, Eric Rescorla <ekr@rtfm.com>
Date: Thu, 26 Nov 2015 17:50:11 -0500
User-Agent: KMail/1.13.5 (Linux/2.6.32-74-generic-pae; KDE/4.4.5; i686; ; )
References: <CAAgBOhuOPB=jxO=WWHmy_y7ARY5qfdK2x4xC9t-Z-vn0UU5Paw@mail.gmail.com> <CAAgBOhtG7vKx6Bro9+Qp2Gbcz8sitatYKEL=R5tW8ix7rSeMqw@mail.gmail.com> <20151126191525.GB3728@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To: <20151126191525.GB3728@LK-Perkele-V2.elisa-laajakaista.fi>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201511261750.11459.davemgarrett@gmail.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/3sid0LflinyxXtLlC0qfM4rq_88>
Cc: tls@ietf.org
Subject: Re: [TLS] Extensions "supported_groups" and "key_share" in TLS 1.3
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Nov 2015 22:50:15 -0000

On Thursday, November 26, 2015 02:15:25 pm Ilari Liusvaara wrote:
> I actually looked at the Editors's Copy. The description is a mess: It
> seemingly first requires key_share extension, even for the first
> ClientHello... Now, that extension can't be empty... And then proceeds
> to say to omit it if client has no shares to send... Which looks like
> it is mutually contradictionary.

We went back and forth on whether to omit or require an empty extension. It looks like we have a mix of the two left in there that need fixing. (I think something got merged weird) Thanks for pointing this out.

I think it might be easier if we just required the extension for all cases where (EC)DHE suites are offered, and have it empty to request a server choice, instead of an omitted extension. If I remember correctly, that's what I had originally. One way or another, it needs to be fixed to be consistent.


Dave