Re: [TLS] Security review of TLS1.3 0-RTT

Nico Williams <nico@cryptonector.com> Wed, 03 May 2017 18:18 UTC

Return-Path: <nico@cryptonector.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 5E09A129B5E for <tls@ietfa.amsl.com>; Wed, 3 May 2017 11:18:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level:
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cryptonector.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 Wj-FkSMVahfY for <tls@ietfa.amsl.com>; Wed, 3 May 2017 11:18:48 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5BBC4129B9A for <tls@ietf.org>; Wed, 3 May 2017 11:16:48 -0700 (PDT)
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id F3D3DA007630; Wed, 3 May 2017 11:16: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=+3OukeRx6QwJYN WxoufhuuiaPFg=; b=FqZPueB/KFXazFBlrVZfHjyrbYg92Qp7NZ2B2q1qpWQCM3 yArnh0ozk6fDgsHn/aniRNaL9gGnLJC78Ck9fvvBty+2OlIU6W0Y71NhDTH1q6wn Er23rOtRzwrWdRTAjUQ+iqRyvLUE1XCvJc+f0wNQl+GqbXHFNPUk2zxlgcOpY=
Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 9666CA00762D; Wed, 3 May 2017 11:16:47 -0700 (PDT)
Date: Wed, 03 May 2017 13:16:45 -0500
From: Nico Williams <nico@cryptonector.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, TLS WG <tls@ietf.org>
Message-ID: <20170503181644.GQ10188@localhost>
References: <20170502193145.GI10188@localhost> <42522b3c-8987-ea2a-2173-bcadaf6ff326@akamai.com> <20170502195753.GJ10188@localhost> <87a86vrnge.fsf@fifthhorseman.net> <20170502212953.GK10188@localhost> <CABcZeBNvFAe+otDgE6rMG0wGaBA=Z3bDBRRvirxPFJFuc+KbeQ@mail.gmail.com> <20170502230258.GL10188@localhost> <CABcZeBMHPi3dJQRuxU_y5E=NPYpYEwikBxjXPUVw4m2WSjWrWw@mail.gmail.com> <20170503042227.GN10188@localhost> <CABcZeBPpYGCzeOwv-FmJSvaJVJKKMjNh75g1Eptoyr9pfRe1DQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABcZeBPpYGCzeOwv-FmJSvaJVJKKMjNh75g1Eptoyr9pfRe1DQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OBO7-PgFhaPVSry2PLaZgACLSKE>
Subject: Re: [TLS] Security review of TLS1.3 0-RTT
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 03 May 2017 18:18:49 -0000

On Tue, May 02, 2017 at 09:41:00PM -0700, Eric Rescorla wrote:
> On Tue, May 2, 2017 at 9:22 PM, Nico Williams <nico@cryptonector.com> wrote:
> 
> > On Tue, May 02, 2017 at 04:41:52PM -0700, Eric Rescorla wrote:
> > > On Tue, May 2, 2017 at 4:02 PM, Nico Williams <nico@cryptonector.com>
> > wrote:
> > > > On Tue, May 02, 2017 at 03:53:48PM -0700, Eric Rescorla wrote:
> > > > > It's not XOR. It's addition mod 2^32. That's important because the
> > > > > *difference*
> > > > > between the ticket replay times is directly observable anyway.
> > > >
> > > > Computationally there's no real difference between that and XOR.
> > >
> > > What information do you believe you are gathering here?
> >
> > I believe the attack described is finding the time of the session's
> > establishment.
> 
> Hmm.... Can you walk me through how you think that works?

Well, I hadn't done it myself.  I see now though that the attack doesn't
work.

I would still prefer proper encryption.  But this works.

Nico
--