Re: [TLS] A la carte handshake negotiation

Nico Williams <nico@cryptonector.com> Sun, 28 June 2015 05:09 UTC

Return-Path: <nico@cryptonector.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 E08211ABC75 for <tls@ietfa.amsl.com>; Sat, 27 Jun 2015 22:09:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.233
X-Spam-Level:
X-Spam-Status: No, score=0.233 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] 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 rJ9Lfi3k_RXS for <tls@ietfa.amsl.com>; Sat, 27 Jun 2015 22:09:48 -0700 (PDT)
Received: from homiemail-a108.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 3FF381ABC74 for <tls@ietf.org>; Sat, 27 Jun 2015 22:09:48 -0700 (PDT)
Received: from homiemail-a108.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a108.g.dreamhost.com (Postfix) with ESMTP id BDC8B2005D82E; Sat, 27 Jun 2015 22:09:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=xryG/jURLhgrj3 pZVjy/aeCFFL4=; b=hdzHelQhzaQKPK5aj0WLCOxyuO1L+s/SgPwaxx+eOh+1fH 21Uhnq6MUd2a78pxCtfmQkmhYdZXAnpr/KbBEdgP9LCMwxBfCCYfclUglbe2MQbj NsVqZCv8Ayai6wUHINv4YWUVopYmz0MTSstYMavg7XPzR4r8d4kuPsuO1KWxk=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a108.g.dreamhost.com (Postfix) with ESMTPA id 4EBF22005D82D; Sat, 27 Jun 2015 22:09:47 -0700 (PDT)
Date: Sun, 28 Jun 2015 00:09:46 -0500
From: Nico Williams <nico@cryptonector.com>
To: Dave Garrett <davemgarrett@gmail.com>
Message-ID: <20150628050945.GO6117@localhost>
References: <201506111558.21577.davemgarrett@gmail.com> <201506261924.24454.davemgarrett@gmail.com> <20150627014034.GL6117@localhost> <201506262151.47456.davemgarrett@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <201506262151.47456.davemgarrett@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/xTcit6CmSGCB5JJq60S7lErRV_E>
Cc: "<tls@ietf.org>" <tls@ietf.org>
Subject: Re: [TLS] A la carte handshake negotiation
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: Sun, 28 Jun 2015 05:09:49 -0000

On Fri, Jun 26, 2015 at 09:51:47PM -0400, Dave Garrett wrote:
> On Friday, June 26, 2015 09:40:35 pm Nico Williams wrote:
> > We could do even better: stop cartesian products altogether.
> > 
> >   TLS_SRV_AUTH_NONE (anon)
> >   TLS_SRV_AUTH_PKIX (certs)
> >   TLS_SRV_AUTH_PSK  (also authenticates the client)
> 
> What's "SRV" in this context, short for "server"?

Yes.

> > [...]
> 
> I don't really like this variation. It adds a lot more stuff in the
> existing cipher suite codespace and makes it a lot more complicated.

It would reduce the number of new cipher suite allocations.

> I'd rather either go for less change or maximal change, i.e. current
> draft proposal or deprecate suites in favor of a new extension. I

I didn't necessarily mean that these are all in one namespace.  I was
ambiguous on purpose.  I'd be ecstatic with any solution that gets us
past the cartesian product registry and pessimized negotiation.

> don't think this sort of middle-ground is worth it. I suggested
> something somewhat similar to this in prior discussion, but we ended
> up moving towards the current proposal.

Fully dropping the pre-1.3 pre-registered cartesian products and having
N sets of negotiable things instead *is* the maximal change.  Whether we
use a new extension (sure, that seems cleanest) or not is a detail.

Nico
--