Re: [saag] [art] Date formats: RFC3339 vs. RFC 5322

Phillip Hallam-Baker <ietf@hallambaker.com> Thu, 15 April 2021 13:14 UTC

Return-Path: <hallam@gmail.com>
X-Original-To: saag@ietfa.amsl.com
Delivered-To: saag@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4A80C3A1F4C; Thu, 15 Apr 2021 06:14:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level:
X-Spam-Status: No, score=-1.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 k4ParPOusjaz; Thu, 15 Apr 2021 06:14:18 -0700 (PDT)
Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) (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 753CF3A1F48; Thu, 15 Apr 2021 06:14:18 -0700 (PDT)
Received: by mail-yb1-f173.google.com with SMTP id 82so26075100yby.7; Thu, 15 Apr 2021 06:14:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=m1d+h0POvX3K+LYDtG6vE6Pb9ch+7XUuOMLagGk8v4E=; b=bRGy/V5pjgpHFUTL0UeFAfE9Gav/cByeJE8nbJKKrEHSl0Ix5QiPHcl1sUIIydxOM8 MrIjXLPk5EnkkTCHve+9SQOxP7lV6ECH+UY8J+AwmyzXQ/Oa5/4wEYxzjb39njcDixR0 2YodH0CDTW5hxaQqMKK5MqUm6Ud0B9l5yVL1JYGhdQdDm/QnGU4YR9v+7oJ+dzLcl+Db aJIVfN+jJhjoM1O3jezp9N/MFrDM3mGZup/KjSwctlocmkGRv4L1++jakeqATtEOWhwX gP05JgT0cWWZMkpnqx+XO1hklOVq3pWJ2mljgnD16ClS28UN3sR8uj4BynlaIz3EIq2Q 2i8w==
X-Gm-Message-State: AOAM532q+rDBFEv3Nuqi2uv50IO8L0QTBo1z/TbeeIGS7xZQCkzE0ExT pbEtoZwIqwkazjBpPseg1Pcy+5y1D18IMAKzGSE=
X-Google-Smtp-Source: ABdhPJwMa8yCf4bKBo96ReU9nIJyXSz/PaDu1RA56jp7ABxiMUH0SEZdZs3ZPT7ogPcQxuaf07dl4GAeQdAcK8tE6BI=
X-Received: by 2002:a25:7752:: with SMTP id s79mr4448895ybc.522.1618492457463; Thu, 15 Apr 2021 06:14:17 -0700 (PDT)
MIME-Version: 1.0
References: <CAAyEnSMBdXCA0EvgR79P_1gi15pAPfeyu_HgGqgMjWxRP8sxKg@mail.gmail.com> <C7B5DB45-F0A1-491C-AD4E-91F67C8C182E@cisco.com> <B3D690C21848AF07EC92577F@PSB> <CAMm+LwiNGDMF9muA0p3uYALSiPFNEpZ5vrkyXRnUzqdBL02Jjw@mail.gmail.com> <1B70AA8F-B9DA-4482-A637-177D318C24DD@manchester.ac.uk>
In-Reply-To: <1B70AA8F-B9DA-4482-A637-177D318C24DD@manchester.ac.uk>
From: Phillip Hallam-Baker <ietf@hallambaker.com>
Date: Thu, 15 Apr 2021 09:14:05 -0400
Message-ID: <CAMm+LwhV2ab-uzNx_4-aZM1cHdTnW6+V67bGVuF0t3fAFymYDA@mail.gmail.com>
To: Stian Soiland-Reyes <soiland-reyes@manchester.ac.uk>
Cc: John C Klensin <john-ietf@jck.com>, "General Area Review Team (gen-art@ietf.org)" <art@ietf.org>, "Eliot Lear (elear)" <elear=40cisco.com@dmarc.ietf.org>, Yakov Shafranovich <yakov@nightwatchcybersecurity.com>, IETF SAAG <saag@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ffb7f405c002a3ba"
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/J51wuIqw_L8DmRj3Ocg08UqY0w0>
Subject: Re: [saag] [art] Date formats: RFC3339 vs. RFC 5322
X-BeenThere: saag@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Advisory Group <saag.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/saag>, <mailto:saag-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag/>
List-Post: <mailto:saag@ietf.org>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/saag>, <mailto:saag-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Apr 2021 13:14:23 -0000

On Thu, Apr 15, 2021 at 6:30 AM Stian Soiland-Reyes <
soiland-reyes@manchester.ac.uk> wrote:

> On 2021-04-14 Phillip Hallam-Baker <ietf@hallambaker.com> wrote:
>
> > Unfortunately, the method of platform handling of UTC means that all
> date time
> > values recorded in electronic documents are inherently ambiguous, a
> state
> > of affairs that will persist until the cretinous notion of leap seconds
> is
> > done away with.
>
> Leap seconds won't go away unless you change the duration of a second or
> planet's rotation..
>

Untrue, there is no reason that time needs to bear any relation to the
rotation of Earth, Saturn or any other planet. The time of noon changes by
15 minutes over the course of a year in Northern Europe.

Why not move the longitude lines to compensate instead?


> I don’t think UTC or TAI makes a big difference in this draft on
> security!  But it can make a big difference if assuming 00:00:00 UTC as it
> can become 23:59:59 (or indeed 23:59:60) on the previous day.
>

That is only one means of adjusting for leap seconds. Most infrastructure
has moved to smearing the second in over a longer time to avoid
instability. The people who maintain the parts of various platforms dealing
with time know all about leap seconds. But none of the ones I use generate
23:59:60 because the risk of breaking things with an untested, untestable
code path is simply too great to be worth doing.

And that is the root of the problem, there is no consistency across
platforms and applications in applying leap seconds. It is impossible to
know whether you are dealing with adjusted or unadjusted time.