[openpgp] time representation in OpenPGP

Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sun, 03 July 2016 13:39 UTC

Return-Path: <dkg@fifthhorseman.net>
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 7520C12B007 for <openpgp@ietfa.amsl.com>; Sun, 3 Jul 2016 06:39:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 2APIYma32C1J for <openpgp@ietfa.amsl.com>; Sun, 3 Jul 2016 06:39:01 -0700 (PDT)
Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by ietfa.amsl.com (Postfix) with ESMTP id 4754812B02C for <openpgp@ietf.org>; Sun, 3 Jul 2016 06:39:01 -0700 (PDT)
Received: from fifthhorseman.net (c-174-62-194-216.hsd1.ct.comcast.net [174.62.194.216]) by che.mayfirst.org (Postfix) with ESMTPSA id CFD5AF98B for <openpgp@ietf.org>; Sun, 3 Jul 2016 09:39:00 -0400 (EDT)
Received: by fifthhorseman.net (Postfix, from userid 1000) id CAB88202B6; Sun, 3 Jul 2016 09:38:59 -0400 (EDT)
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: IETF OpenPGP <openpgp@ietf.org>
User-Agent: Notmuch/0.22+69~gd812194 (https://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu)
Date: Sun, 03 Jul 2016 09:38:59 -0400
Message-ID: <87d1muyh70.fsf@alice.fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/cb32QpGl5-PP02s_dYsTkl3rVK0>
Subject: [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:39:03 -0000

Hi OpenPGP folks--

RFC 4880 represents time as:

----------
3.5.  Time Fields

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

 https://tools.ietf.org/html/rfc4880#section-3.5

This wraps around in early 2106, if my math is correct.

Would someone like to propose an alternate representation of time for
RFC 4880bis?  Or is there a clear argument for keeping it as-is?

        --dkg