Re: [TLS] DTLS 1.3
Ilari Liusvaara <ilariliusvaara@welho.com> Mon, 04 July 2016 14:03 UTC
Return-Path: <ilariliusvaara@welho.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 6FC7612B055 for <tls@ietfa.amsl.com>; Mon, 4 Jul 2016 07:03:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.82
X-Spam-Level:
X-Spam-Status: No, score=-1.82 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.426, SUBJ_ALL_CAPS=1.506] autolearn=no autolearn_force=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 B8ZIcxVcUgRe for <tls@ietfa.amsl.com>; Mon, 4 Jul 2016 07:03:16 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id 3957F12D0D9 for <tls@ietf.org>; Mon, 4 Jul 2016 07:03:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 72A488620 for <tls@ietf.org>; Mon, 4 Jul 2016 17:03:14 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id hzuVDogSTQpC for <tls@ietf.org>; Mon, 4 Jul 2016 17:03:14 +0300 (EEST)
Received: from LK-Perkele-V2 (87-100-177-32.bb.dnainternet.fi [87.100.177.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 1F7CA27B for <tls@ietf.org>; Mon, 4 Jul 2016 17:03:14 +0300 (EEST)
Date: Mon, 04 Jul 2016 17:03:12 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: tls@ietf.org
Message-ID: <20160704140312.GC4287@LK-Perkele-V2.elisa-laajakaista.fi>
References: <577A38A2.2090209@gmx.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <577A38A2.2090209@gmx.net>
User-Agent: Mutt/1.6.0 (2016-04-01)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/bSQ18B5YsavicOkXuznjqBHlDfA>
Subject: Re: [TLS] DTLS 1.3
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: Mon, 04 Jul 2016 14:03:18 -0000
On Mon, Jul 04, 2016 at 12:21:22PM +0200, Hannes Tschofenig wrote: > Hi all, > > I have made an attempt to integrate DTLS 1.3 into the TLS 1.3 document > and you can find the result at https://github.com/tlswg/tls13-spec/pull/512 > > I have worked on a prototype implementation of DTLS 1.3 and if someone > else has something working by the time of the Hackathon in Berlin please > let me know. Taking a look: - The version field is described as identical to TLS 1.3 version field. What value is there actually? FCFE (wasn't that how "DTLS 1.0" was encoded on wire)? - Length and payload is is described as identical to version (which seems pretty odd...) - The PR talks about "rehandshake". I believe that concept no longer exists in TLS 1.3. - KeyUpdate does not work in DTLS. Might just use epochs for similar purpose, and reserve first few epochs for special purposes. - One could allow epochs to wrap (sequence number arithmetic). Won't cause nonce reuse due to different keys. - The PMTU section talks about block padding and compression. Neither exists anymore (there is padding, but the minimum expansion is exactly known, e.g. the 30 bytes for most ciphersuites). - The full handshake protocol is only run once. After that, there's only rekeying, new tickets and dynamic reauth. - There's special case with cookies: DTLS 1.3 ClientHello getting rejected with HelloVerifyRequest. I think the correct reaction is for client to send a DTLS 1.3 ClientHello without 0-RTT data, containing the cookie sent now in legacy cookie field (NOT the extension). - According to TLS 1.3 rules, handshakes rejected using HelloRetryRequest use the Cookie extension for cookie transmitback, not the legacy cookie field (the cookie might not even fit into that field!) - If handshake is rejected using HelloRetryRequest, according to the TLS 1.3 rules, the first ClientHello and HelloRetryRequest ARE included in handshake hashes. - Is the DTLS 1.2 written as 0303 on the wire? I seem to remember it would be FCFC (but I could be wrong about that)? If it is not 0303, then DTLS 1.3 is not going to be 0304... - In DTLS, AFAIK 0-RTT appdata is not reliable (but the 0-RTT handshake messages are). This brings all sorts of "fun" with message reordering and loss. - The handshake retransmit scheme doesn't seem to work that well with post-handshake auth, and even less well with session tickets. -Ilari
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Fossati, Thomas (Nokia - GB)
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Fossati, Thomas (Nokia - GB)
- Re: [TLS] DTLS 1.3 Fossati, Thomas (Nokia - GB)
- Re: [TLS] DTLS 1.3 Nikos Mavrogiannopoulos
- Re: [TLS] DTLS 1.3 Nikos Mavrogiannopoulos
- Re: [TLS] DTLS 1.3 Fossati, Thomas (Nokia - GB)
- Re: [TLS] DTLS 1.3 Stephen Farrell
- Re: [TLS] DTLS 1.3 Nikos Mavrogiannopoulos
- Re: [TLS] DTLS 1.3 Stephen Farrell
- Re: [TLS] DTLS 1.3 Nikos Mavrogiannopoulos
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Hannes Tschofenig
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Stephen Farrell
- Re: [TLS] DTLS 1.3 Nikos Mavrogiannopoulos
- Re: [TLS] DTLS 1.3 Nikos Mavrogiannopoulos
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Hannes Tschofenig
- Re: [TLS] DTLS 1.3 Hannes Tschofenig
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Hannes Tschofenig
- Re: [TLS] DTLS 1.3 Stephen Farrell
- Re: [TLS] DTLS 1.3 Eric Rescorla
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Nikos Mavrogiannopoulos
- Re: [TLS] DTLS 1.3 Hannes Tschofenig
- Re: [TLS] DTLS 1.3 Ilari Liusvaara
- Re: [TLS] DTLS 1.3 Eric Rescorla
- [TLS] DTLS 1.3 Hannes Tschofenig
- Re: [TLS] DTLS 1.3 Hannes Tschofenig
- Re: [TLS] DTLS 1.3 Mike Copley
- Re: [TLS] DTLS 1.3 Nikos Mavrogiannopoulos
- Re: [TLS] DTLS 1.3 Fossati, Thomas (Nokia - GB)