Re: [TLS] ticket_lifetime and generic network layer

Ilari Liusvaara <ilariliusvaara@welho.com> Thu, 09 February 2017 19:05 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 5FD14129C3F for <tls@ietfa.amsl.com>; Thu, 9 Feb 2017 11:05:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham 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 ROnJzvNkD3zF for <tls@ietfa.amsl.com>; Thu, 9 Feb 2017 11:05:34 -0800 (PST)
Received: from welho-filter2.welho.com (welho-filter2.welho.com [83.102.41.24]) by ietfa.amsl.com (Postfix) with ESMTP id A12851296CD for <tls@ietf.org>; Thu, 9 Feb 2017 11:05:34 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 015FE1F03F; Thu, 9 Feb 2017 21:05:33 +0200 (EET)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id 6mu55xebu8De; Thu, 9 Feb 2017 21:05:32 +0200 (EET)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id BA5DFC4; Thu, 9 Feb 2017 21:05:32 +0200 (EET)
Date: Thu, 09 Feb 2017 21:05:30 +0200
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Mark Dunn <mark.dunn@objectiveintegration.uk>
Message-ID: <20170209190530.GA20340@LK-Perkele-V2.elisa-laajakaista.fi>
References: <000001d282d1$7769bdc0$663d3940$@objectiveintegration.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <000001d282d1$7769bdc0$663d3940$@objectiveintegration.uk>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/vDYSWi4KiiHSJeTKo-q-dTdoSzE>
Cc: tls@ietf.org
Subject: Re: [TLS] ticket_lifetime and generic network layer
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: Thu, 09 Feb 2017 19:05:46 -0000

On Thu, Feb 09, 2017 at 12:38:50PM -0000, Mark Dunn wrote:
> I am reading your TLS 3.1 Standard and the mailing list.
> 
> It looks great. 
> 
> I am particularly interested in using the 0-RTT feature for IoT timestamped
> data, which would seem immune from replay attacks
> 
>  
> 
> I have a couple of questions
> 
>  
> 
> 1) The maximum ticket lifetime is set to 7 days. Is this based on hard
> science or arbitrary?
> 
> If it is arbitrary then 8 days for weekly intervals or 32 for days for
> monthly intervals would  make better commercial sense
> 
>                (allowing for variability in wake-up times for constrained
> devices)

AFAIK, it is arbitrary. However, long validity periods bring security
issues, with having to store and protect symmetric keys for a long
time.

> 2) Have you considered using TLS for a generic network layer?

Note that TLS requires in-order reliable delivery (DTLS doesn't, but
DTLS 1.3 is currently just handwaving), and neither is available below
transport layer.


-Ilari