Re: [TLS] Relative vs absolute ServerConfiguration.expiration_date

Eric Rescorla <ekr@rtfm.com> Wed, 22 July 2015 20:01 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 0C8B41A00BB for <tls@ietfa.amsl.com>; Wed, 22 Jul 2015 13:01:16 -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 k3KJ_pFgeHVp for <tls@ietfa.amsl.com>; Wed, 22 Jul 2015 13:01:14 -0700 (PDT)
Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) (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 1982A1B2A64 for <tls@ietf.org>; Wed, 22 Jul 2015 13:00:01 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so188485148wib.0 for <tls@ietf.org>; Wed, 22 Jul 2015 12:59:59 -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=Bic5lG2BcKJWWXIhgJcqBd/sB9fyWA9JM5Fzm1t5/Qg=; b=L5lH87rEvajlWyaUl9qPN4k/03445LAG48L6aCCXlI3CX4fDDh0BgnXCiHObnp4Io7 9C4L5LDoWaq09adWppteFMpuyskEPeJhdHv1hoZSr5+JSyGFFpkB0dfYTz0o0FN8m1tG d/pdxff9d4bDqs/SPa0VfMapb3MhPsea4ma681FCcKFSS1/mIT/as7rEVE2Rp+feKe6w qttc0COz8OXWdAz5Emm8U/S/Eo+dc/8ubEM5810un0A09ID0yvJQHFDg4y2DmLayP9+N Bq2R7J9AmjmYfAPjAWMAX1ar93DKObu9MGGfMp73sewvW2Z5Uz1VnBLcWwoafpoat5dU rUkA==
X-Gm-Message-State: ALoCoQl0C4TyrpNU9TaSJKKvx43CF5h+3mFiq/MaGZHTJ9ABEkRX5cxkSk6R+esD6qhSHRTCFjGV
X-Received: by 10.194.133.73 with SMTP id pa9mr8295102wjb.148.1437595199856; Wed, 22 Jul 2015 12:59:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.27.85.75 with HTTP; Wed, 22 Jul 2015 12:59:20 -0700 (PDT)
In-Reply-To: <8965F344-4921-4F99-8A5A-BA7BCAAB0D7C@fb.com>
References: <8965F344-4921-4F99-8A5A-BA7BCAAB0D7C@fb.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 22 Jul 2015 21:59:20 +0200
Message-ID: <CABcZeBPTnXzDwoGTS5=m7mzaxiZtqKzMG33ghTzFcJSbFQyAsQ@mail.gmail.com>
To: Blake Matheny <bmatheny@fb.com>
Content-Type: multipart/alternative; boundary="089e011771a937fb68051b7c372d"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/73vdG51dVE2wKaVNRWsfnqFJ6mI>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Relative vs absolute ServerConfiguration.expiration_date
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: <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, 22 Jul 2015 20:01:16 -0000

On Wed, Jul 22, 2015 at 9:55 PM, Blake Matheny <bmatheny@fb.com> wrote:

> One of the topics of discussion at the WG discussion was whether
> ServerConfiguration.expiration_date should be an absolute or relative
> value. Subodh (CC) dug into our production data and found that nearly half
> of the TLS errors we see in production (end user to edge/origin) are due to
> date mismatch. This often occurs when people intentionally reset the clock
> on their phone, or for other various reasons.
>
> Due to the high rate of date mismatch errors we see, my preference would
> be that ServerConfiguration.expiration_date be a relative value instead of
> an absolute one. This provides the client an opportunity to correctly use a
> monotonic (or other similar) clock to minimizing exposure, without losing
> the value of the ServerConfiguration. Using an absolute value means that
> ServerConfiguration, for clients with invalid clocks, would essentially
> never be cacheable. These clients wouldn’t benefit from ServerConfiguration.
>
> Thoughts or feedback?


Can you provide a sense of the range of clock skew you are seeing? I'm
trying to
figure out how many of these clients are going to start choking with OCSP
must-staple, short-lived certs, etc.

-Ekr