Re: [TLS] Singular or multiple NamedGroup(s) in the "HelloRetryRequest"

Henrik Grubbström <grubba@gmail.com> Fri, 16 January 2015 16:44 UTC

Return-Path: <grubba@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 18AF41ACED0 for <tls@ietfa.amsl.com>; Fri, 16 Jan 2015 08:44:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level:
X-Spam-Status: No, score=-1.7 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, MIME_8BIT_HEADER=0.3, 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 D7KI2cc0abxD for <tls@ietfa.amsl.com>; Fri, 16 Jan 2015 08:44:10 -0800 (PST)
Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 018911ACEB6 for <tls@ietf.org>; Fri, 16 Jan 2015 08:44:10 -0800 (PST)
Received: by mail-la0-f46.google.com with SMTP id ge10so10098964lab.5 for <tls@ietf.org>; Fri, 16 Jan 2015 08:44:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=7bbZQN/BrKLq/HLyod+fDoEarrr72r8gSBg/VZUzSOA=; b=RrV4jdhtmjiSkvkgLze4B2mbvGEM7MRbGPhV9KFOEWFUFQ1XmkzhllEEll3TBCO2GA 5oqD19hdxqYxlA7+brvH0SvOl0BTF9weSJzpgdx1cE5iF063h7MAfwUk0HEILr2piLMU mYiacGomGtAzFUWEazXdMXDPE2dKQr+blLIJvnmV2CvhZmvd/UYs4y1l0YoUhwKG6igh P+nw53BwwGMtXYeW9hUerB+DtcpEHWgTQnbAFz5rmgqMccEFCp2fObzpr//ypkJM8G/a JjJwnPmijmf+thUxu73hQ4foQjifOQCFEfS8IDienCFVP/EnrYtQlH/pwNhFNEcGhRjY Y0iQ==
MIME-Version: 1.0
X-Received: by 10.152.203.201 with SMTP id ks9mr16361827lac.57.1421426648476; Fri, 16 Jan 2015 08:44:08 -0800 (PST)
Received: by 10.112.200.4 with HTTP; Fri, 16 Jan 2015 08:44:08 -0800 (PST)
In-Reply-To: <1421423478675.87032@nist.gov>
References: <1421422017019.67267@nist.gov> <CABcZeBNOERvqWcxj2G1FBC5UL5fH_T+dJ53N0RYEgxKepnVJ6w@mail.gmail.com> <1421423478675.87032@nist.gov>
Date: Fri, 16 Jan 2015 17:44:08 +0100
Message-ID: <CALuAYvbOCTErh0hb93zok3DkYynx_Z=hbH_YGuZjXV-ZEJ-+Pg@mail.gmail.com>
From: Henrik Grubbström <grubba@gmail.com>
To: "Dang, Quynh" <quynh.dang@nist.gov>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/N1xUUsbHDqhDkPPp6R5jN4C-fx8>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Singular or multiple NamedGroup(s) in the "HelloRetryRequest"
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: <http://www.ietf.org/mail-archive/web/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, 16 Jan 2015 16:44:12 -0000

On Fri, Jan 16, 2015 at 4:51 PM, Dang, Quynh <quynh.dang@nist.gov> wrote:
> If a client offers all of the options it supports and a server sends back
> one group out of these options, it would guarantee a failure.

It seems you've misunderstood; the client announces all named groups
that it supports in the named_group extension, but usually only
provides a subset of these in its ClientKeyShare message. Thus the
server can ask for a named group that the client supports but hasn't
provided a key share for in its HelloRetry.

/grubba

-- 
Henrik Grubbström                                       grubba@grubba.org
Roxen Internet Software AB                              grubba@roxen.com