Re: [openpgp] time representation in OpenPGP

"Salz, Rich" <rsalz@akamai.com> Sun, 03 July 2016 13:48 UTC

Return-Path: <rsalz@akamai.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B028312D0F0 for <openpgp@ietfa.amsl.com>; Sun, 3 Jul 2016 06:48:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.127
X-Spam-Level:
X-Spam-Status: No, score=-4.127 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=akamai.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 gtpyTY6Q59bI for <openpgp@ietfa.amsl.com>; Sun, 3 Jul 2016 06:48:46 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (prod-mail-xrelay05.akamai.com [23.79.238.179]) by ietfa.amsl.com (Postfix) with ESMTP id 444A312B006 for <openpgp@ietf.org>; Sun, 3 Jul 2016 06:48:46 -0700 (PDT)
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 522FE42371C; Sun, 3 Jul 2016 13:48:45 +0000 (GMT)
Received: from prod-mail-relay11.akamai.com (prod-mail-relay11.akamai.com [172.27.118.250]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id 32D3D423718; Sun, 3 Jul 2016 13:48:45 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; s=a1; t=1467553725; bh=T7rW81iJFufb2WTbVOj/8fi9W9YF3KJp+9ffx8uKdsw=; l=382; h=From:To:Date:References:In-Reply-To:From; b=vAyYAIGHBfSLNgi5GHRIucQZgkBW4QbaxHkBtsuKZ0kii3DTGIYyKJgz8vAbbaq0g DAGPGIAPz+v//85LozaxNzFoRFgzRQTaElayjERWga/GzagsRvEtP9wuUeX11K2IA4 u9ezTmxE+3Fket47py38FcC0T+hngMnuF2O9W37w=
Received: from email.msg.corp.akamai.com (ecp.msg.corp.akamai.com [172.27.123.34]) by prod-mail-relay11.akamai.com (Postfix) with ESMTP id 2E49D1FC88; Sun, 3 Jul 2016 13:48:45 +0000 (GMT)
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com (172.27.123.101) by usma1ex-dag1mb4.msg.corp.akamai.com (172.27.123.104) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Sun, 3 Jul 2016 09:48:44 -0400
Received: from USMA1EX-DAG1MB1.msg.corp.akamai.com ([172.27.123.101]) by usma1ex-dag1mb1.msg.corp.akamai.com ([172.27.123.101]) with mapi id 15.00.1130.005; Sun, 3 Jul 2016 09:48:44 -0400
From: "Salz, Rich" <rsalz@akamai.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, IETF OpenPGP <openpgp@ietf.org>
Thread-Topic: [openpgp] time representation in OpenPGP
Thread-Index: AQHR1TBHeCsIUihs40Gv9sNg4N7ceKAGuAYA
Date: Sun, 03 Jul 2016 13:48:44 +0000
Message-ID: <fd725ea87a9141d0883831900e072f1f@usma1ex-dag1mb1.msg.corp.akamai.com>
References: <87d1muyh70.fsf@alice.fifthhorseman.net>
In-Reply-To: <87d1muyh70.fsf@alice.fifthhorseman.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.42.130]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/T43DQFrVO-DsduWuoTh98c4zWYc>
Subject: Re: [openpgp] time representation in OpenPGP
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Jul 2016 13:48:48 -0000

>    A time field is an unsigned four-octet number containing the number
>    of seconds elapsed since midnight, 1 January 1970 UTC.

Isn't that the classic Unix time_t, which expires in 2038?

I suggest we use ASN1 generalized time (which has only a couple of bytes overhead) or ISO 8601 profiled to be like the ASN1 format: YYYY-MM-DD-HH:MM:SS.sss with fraction optional.