Re: [TLS] A la carte handshake negotiation

Eric Rescorla <ekr@rtfm.com> Mon, 15 June 2015 13:35 UTC

Return-Path: <ekr@rtfm.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 3D8331B363A for <tls@ietfa.amsl.com>; Mon, 15 Jun 2015 06:35:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 OoTG6dg899Gv for <tls@ietfa.amsl.com>; Mon, 15 Jun 2015 06:35:40 -0700 (PDT)
Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) (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 CAAD91B3639 for <tls@ietf.org>; Mon, 15 Jun 2015 06:35:39 -0700 (PDT)
Received: by wifx6 with SMTP id x6so78607608wif.0 for <tls@ietf.org>; Mon, 15 Jun 2015 06:35:38 -0700 (PDT)
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:from:date :message-id:subject:to:cc:content-type; bh=jv6MpyNLpyRoCxNgG7UWG27VR/XTTHyyjnFA/QuFoFU=; b=hDpdiMysUJXC2UaRIql8LIxZrz1wr0miIZdTOPNibYjUu/DUL66aKnHnc8pXugFSOQ GC57N41019yaNkvYi7UmYLs4d+LfJiKrCbuo7sc8M6BUp0X2yycg/N89kY+PoKy+Oj4W S45rzlaV2nHtrixo8jQHGYGpWrBk6V9/bsttWpzNXEML9bFaeLMbch3Vdh57vRvcHfcY jUtSQMtZtwSaVV9XAk5ihCWzIcRp6GheIPFasJ9r8powqy6/FCsXFiYLWlnmvWXqYTrr AGKanetXVrCw2yL6ibFwCkehyCeF5H/OQOeUTxux3J/4K+Z0N/oxiz9AcNUAnmi1RNJi wMeA==
X-Gm-Message-State: ALoCoQkVADOrTR0i63zWmYHDqI7H3T7AWCRHeVlce2UrjghBcGfkuj+qdrtI5TJspZoWPLNqcF+1
X-Received: by 10.180.99.39 with SMTP id en7mr31682134wib.31.1434375338546; Mon, 15 Jun 2015 06:35:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.27.225.14 with HTTP; Mon, 15 Jun 2015 06:34:58 -0700 (PDT)
In-Reply-To: <20150615132353.GA27040@LK-Perkele-VII>
References: <201506122145.13790.davemgarrett@gmail.com> <3129639.pNdByueU9m@pintsize.usersys.redhat.com> <20150615132353.GA27040@LK-Perkele-VII>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 15 Jun 2015 06:34:58 -0700
Message-ID: <CABcZeBNhbpfq+XdXw0f8pL9Hfqd3Gd1T4Gi5mBSvBEpN2DkT6Q@mail.gmail.com>
To: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Content-Type: multipart/alternative; boundary="f46d04182808876fad05188e8861"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/hDUMfoXAhTcTAJc7ddllNiTMn1k>
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: <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: Mon, 15 Jun 2015 13:35:41 -0000

On Mon, Jun 15, 2015 at 6:23 AM, Ilari Liusvaara <
ilari.liusvaara@elisanet.fi> wrote:
>
> Regarding the PSK integration work EKR has been doing in the WIP branch:
>
> 1) Doesn't support identity hints. Now, these might be something nobody
> uses and can be deprecated.
>

My sense was that it was sufficiently rare that we could deprecate it.
It's a bad match for the state machine.



> 2) GDHE_PSK ciphers can't seemingly be safely resumed: Because resumption
> is PSK, it eats the PSK slot, not leaving space for the primary identity.


And your concern here is that you might want to resume GDHE_PSK as ordinary
PSK for performance reasons? If this seems really important, we could
presumably
have multiple PSK slots.

-Ekr