Re: [TLS] A la carte handshake negotiation

Viktor Dukhovni <ietf-dane@dukhovni.org> Fri, 12 June 2015 17:22 UTC

Return-Path: <ietf-dane@dukhovni.org>
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 BF2571ACD9D for <tls@ietfa.amsl.com>; Fri, 12 Jun 2015 10:22:02 -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, RCVD_IN_DNSWL_NONE=-0.0001] 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 pzjcxT27oAAN for <tls@ietfa.amsl.com>; Fri, 12 Jun 2015 10:22:01 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EFA211ACD45 for <tls@ietf.org>; Fri, 12 Jun 2015 10:22:00 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 38EBA28494C; Fri, 12 Jun 2015 17:22:00 +0000 (UTC)
Date: Fri, 12 Jun 2015 17:22:00 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: tls@ietf.org
Message-ID: <20150612172159.GA2050@mournblade.imrryr.org>
References: <201506111558.21577.davemgarrett@gmail.com> <201506121236.18304.davemgarrett@gmail.com> <20150612165558.GZ2050@mournblade.imrryr.org> <201506121309.26874.davemgarrett@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <201506121309.26874.davemgarrett@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/5k2mwuu_Unz2Gfwxdl8uzCCJPJU>
Subject: Re: [TLS] A la carte handshake negotiation
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tls@ietf.org
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, 12 Jun 2015 17:22:02 -0000

On Fri, Jun 12, 2015 at 01:09:26PM -0400, Dave Garrett wrote:

> On Friday, June 12, 2015 12:55:59 pm Viktor Dukhovni wrote:
> > I still don't understand preclude as a matter of principle negotiation
> > of ECDH_anon with AEAD if DH_anon with the same bulk cipher would
> > be allowed.  Once we have separate negotiation of the key exchange,
> > surely ECDH_anon can be one of the supported key exchange variants,
> > and then take advantage of all the available bulk ciphersuites.
> 
> EC/FF may be negotiated separately, but a suite still needs to be selected.
> Anon cannot be negotiated via an ECDHE_ECDSA suite, as the signatures
> extension explicitly prohibits proposing anon alongside actual signatures.
> One way or another, anon needs its own suites to be used.

The extension definition can presumably be updated in a way that
allows peers that support additional code-points to treat one of
those as being "anon".  Is the current definition really a serious
obstacle to solving the problem in a properly orthogonal way.

> > Or does this proposal simply compress the client HELLO message,
> > but the server is still ultimately selecting the same all-in-one
> > ciphersuite (thus requiring Nico's new code points for ECDH_anon
> > with AEAD)?
> 
> The server still needs to select a suite. If it selects an ECDHE_ECDSA
> suite, then it can negotiate EC/FF and RSA,DSA,ECDSA with extensions. It
> cannot negotiate anon. To do so would require either an ECDH_anon or
> DH_anon suite be negotiated. Yes, the preferred route is to require Nico's
> ECDH_anon codepoints for AEAD ciphers. With an ECDH_anon suite, the groups
> extension can be used to negotiate EC/FF. What I was stating earlier is
> that we could theoretically do so with DH_anon if we wanted to, but I
> would much rather the ECDH_anon draft be resurrected and passed as it
> would avoid confusion and the appearance of contradiction.

So be it I guess.  I wish it were simpler...

-- 
	Viktor.