Re: [TLS] 0-RTT encrypted data limits

Martin Thomson <martin.thomson@gmail.com> Fri, 09 September 2016 02:45 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2341212B347 for <tls@ietfa.amsl.com>; Thu, 8 Sep 2016 19:45:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 NtyLcOkYGaAU for <tls@ietfa.amsl.com>; Thu, 8 Sep 2016 19:45:30 -0700 (PDT)
Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 D049912B343 for <tls@ietf.org>; Thu, 8 Sep 2016 19:45:29 -0700 (PDT)
Received: by mail-wm0-x233.google.com with SMTP id 1so8640340wmz.1 for <tls@ietf.org>; Thu, 08 Sep 2016 19:45:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rmJQO1lluutQw9nBGOxjAvLGt2Gy8OPo3bx99KzMWlw=; b=axgKiz0jF5RZqFb7g6bGmb/6FbGGy75Zb86G4ecoz4V4Q6bJ3iRgL+2Ga6w/xIE8jU ZSY6xq1zz/YBs9/nOi10oG3is3qZCtCMZQaTTSXiyDZofl6t3b5Fa7qg+2M/IVSqEr8m IGlcN9EleOMwJVZrwM+22IruDpCaMVguOeN1Wy0CVkHk6xjRmt4C12P3O/fCm540CEcu +uTKTxded8N36p7jEOZubtr7qOBYnnPpCnWa8xmC4SoxG2yyu0/YQ0cEIhx+PsgZiDUb 1qUt//idQZ03G3iCZnkNPRCm/dh98iweh3XIUiN5SMzGV0zhOU0aF8RR7raD+aDaMcQ1 T4nw==
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; bh=rmJQO1lluutQw9nBGOxjAvLGt2Gy8OPo3bx99KzMWlw=; b=CGd9UOTrSJG+ve2SLWIb3GMj+cvVacwF21ap5ktuZqyXt1aKcxQyq6d4EJf68iHOQ/ SECzHw+2L3tFnx6hbanXNwO9pr9BDcbaxgHoycmejNa5DUj1RJ0H+ybhXFDG+Lmbv+vK OvT3F/Mc3xIO8RB81gt75whp4YbxGSyWk2Fzi3pFe1D8SQ1rYEqDOMV+iUmZ7kd2T9vp K5Vnb5VbGjqF0Apw9lszQSILwTSxFhMjjMspA4M1vqIFoaRN0FxwyHVU3iKngzb3cUcq vZjOjvk7jCGgyOhfEYOr0Y2y1ASdx+Ai5q1jpFLuyDVZpKKZyV58G0Gbyi6v7o22S53e 9tpQ==
X-Gm-Message-State: AE9vXwOQQ6znxhr5V8aa/sC3mnxZC5f4CZC0gTur8+WwcvM/b7Wam2TgMS+2Ij0ruMiAfVCBBt+9LSZ0gk5SKQ==
X-Received: by 10.28.111.4 with SMTP id k4mr546801wmc.94.1473389128367; Thu, 08 Sep 2016 19:45:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.197.207 with HTTP; Thu, 8 Sep 2016 19:45:27 -0700 (PDT)
In-Reply-To: <CABcZeBMUA8tzsPr_6pC6kRzhPifxuz4YjSRo1KB2V52SiGWstw@mail.gmail.com>
References: <6918283.boJRZ9WqjH@pintsize.usersys.redhat.com> <CABcZeBMOyM2v3gt69gHzfW7k5w=OwFqCUiER-bPERfNkLGhpWQ@mail.gmail.com> <6822534.tPWjKYA1SU@pintsize.usersys.redhat.com> <CABcZeBN_TPyYD63u4t41SKn-T6ugZdpxgM8i7-tJ82tU13+yUA@mail.gmail.com> <20160901131521.rjw3jebdjwwizp2z@LK-Perkele-V2.elisa-laajakaista.fi> <CABcZeBMUA8tzsPr_6pC6kRzhPifxuz4YjSRo1KB2V52SiGWstw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 9 Sep 2016 12:45:27 +1000
Message-ID: <CABkgnnW_uZ_KGQhf+unnOw_DasQrT73ym7g1V81S05OdF_WSgA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/QGcQlo-jquYOuJlxUFKTHME80Rw>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] 0-RTT encrypted data limits
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.17
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, 09 Sep 2016 02:45:31 -0000

On 1 September 2016 at 23:45, Eric Rescorla <ekr@rtfm.com> wrote:
>> Should there be recommendation for clients to cut transfer and send
>> Finished if the client receives EncryptedExtensions without
>> early_data extension?
>
>
> I thought that was implicit, but i'd take a PR that did that.

Note that this is something you might want to do with
HelloRetryRequest as well (my drafty implementation in NSS cuts off
0-RTT at that point as well).