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

Xuelei Fan <xuelei.fan@vimino.com> Fri, 27 November 2015 02:50 UTC

Return-Path: <xuelei.fan@vimino.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 8B44D1A889D for <tls@ietfa.amsl.com>; Thu, 26 Nov 2015 18:50:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 dgHxBO3rCpVU for <tls@ietfa.amsl.com>; Thu, 26 Nov 2015 18:50:41 -0800 (PST)
Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (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 995A61A88A4 for <tls@ietf.org>; Thu, 26 Nov 2015 18:50:40 -0800 (PST)
Received: by oige206 with SMTP id e206so55056298oig.2 for <tls@ietf.org>; Thu, 26 Nov 2015 18:50:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vimino-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HE3/5c1ruChzSz+dB0XC2t4+xwTe5aUBWoeZlkyzzzI=; b=tuiRQ4KcKoLe1V7oB4nh6UAGqIpMZbBfls/JU7GuPBpz9RaRbT7Og9gykkVhX/Fj/T iIdRKz3Fd55bJQduZt74eW/DVwjgt07gM4HzGAmDbaZkp4luD/rIUqdJRJYsjEsL6nws WxT0s1og2FkphRl9abNP5dCh+fKmu+mEmW7+X/c1jQkL0fV5J2ev6lMLPhNzEp6ytvlu 6t4GdvJ9D12ziGrq/OuiamvOq6Ieyoooxs9MY1rBXkhjJyQC/alEfsOBK9No38SEpl2S euUQs3JbWelynPWkknJEdtzdTQIKvwMB0KFNkmdB/e3Cp/PF6G7SFNTYFlTsODxpikif M8Hw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=HE3/5c1ruChzSz+dB0XC2t4+xwTe5aUBWoeZlkyzzzI=; b=BPFwnpiFXDwySWGFYZ6BDaC90KOdDM4WjFi9A5eliZSF9yiTpQzjSMvKBMlVApAM5b fjEfl8sGEyeQyvlmrwIq4CYVFkxcD7CB8CbLE7xK1eCW5qEqurdj8r1wlRpj7NAoJEou ckwN8azNRL10Si0M+sxiaaNd/SuKO+X2Q5gbqYPTOtRnrIxMpRoKr2EG5oi3dygwSltp zDk0GDPWg0nOudCx9AJ9q+/pvK4OqGTXYZOokTMXYXx2H+nT1b6w7VqPRL2/O9umOrrD pDVHG98GS2KujB6wzO/NXEWDPlpqOh+Azv6N10O4wstthXSVye6IpxdiZNQ+gG17m//I guFw==
X-Gm-Message-State: ALoCoQmhcrEvvUSqPolxMxK+91gOn4jNiSw1qvRZ1VuKK7sl7jk8spb5bO/wcbB8RpOC0DW+uNIn
MIME-Version: 1.0
X-Received: by 10.202.215.195 with SMTP id o186mr17339119oig.87.1448592640107; Thu, 26 Nov 2015 18:50:40 -0800 (PST)
Received: by 10.76.171.103 with HTTP; Thu, 26 Nov 2015 18:50:40 -0800 (PST)
X-Originating-IP: [148.87.19.218]
In-Reply-To: <201511262139.32824.davemgarrett@gmail.com>
References: <CAAgBOhuOPB=jxO=WWHmy_y7ARY5qfdK2x4xC9t-Z-vn0UU5Paw@mail.gmail.com> <CAAgBOht9egOhCKWb6LKeOraH-Dd8-bfNYf4kgMiK_unwZPASkg@mail.gmail.com> <CAAgBOhus3fr5wwPYVFT4iid53KQPcruS+jcQks_chstUtA3sWA@mail.gmail.com> <201511262139.32824.davemgarrett@gmail.com>
Date: Fri, 27 Nov 2015 10:50:40 +0800
Message-ID: <CAAgBOhvYjxHW2LqR84FsKxhibqt8k9UqSr6J=UA-Bjq+TSgP9A@mail.gmail.com>
From: Xuelei Fan <xuelei.fan@vimino.com>
To: Dave Garrett <davemgarrett@gmail.com>
Content-Type: multipart/alternative; boundary="001a113d5310bcfeb005257cc18f"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/LiMvyUY_G07Gi_WSpX33kX6ou1k>
Cc: "tls@ietf.org" <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: Fri, 27 Nov 2015 02:50:42 -0000

> On Thursday, November 26, 2015 09:12:14 pm Xuelei Fan wrote:
> > Can key_share offers two shares for the same group?
>
> It's currently worded "Clients MUST NOT offer multiple KeyShareEntry
> values for the same parameters", which is a little ambiguous, but I
> interpret this as one share per group. I don't know why you'd need to offer
> more than one, anyway.
>
> Need no more than one.  Then, it may be more simple that key_share does
not define the preference order. The preference order is covered by
supported_groups.

Thanks,
Xuelei