Re: [openpgp] time representation in OpenPGP

Werner Koch <wk@gnupg.org> Tue, 05 July 2016 08:07 UTC

Return-Path: <wk@gnupg.org>
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 3221F12D111 for <openpgp@ietfa.amsl.com>; Tue, 5 Jul 2016 01:07:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.386
X-Spam-Level:
X-Spam-Status: No, score=-5.386 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, URIBL_RHS_DOB=1.514] 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 RMH-LwWteOO4 for <openpgp@ietfa.amsl.com>; Tue, 5 Jul 2016 01:07:02 -0700 (PDT)
Received: from kerckhoffs.g10code.com (kerckhoffs.g10code.com [IPv6:2001:aa8:fff1:100::22]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B75A812D0B0 for <openpgp@ietf.org>; Tue, 5 Jul 2016 01:07:02 -0700 (PDT)
Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.80 #2 (Debian)) id 1bKLNk-0001BC-6l for <openpgp@ietf.org>; Tue, 05 Jul 2016 10:07:00 +0200
Received: from wk by wheatstone.g10code.de with local (Exim 4.84 #3 (Debian)) id 1bKLHU-0001Qd-T2; Tue, 05 Jul 2016 10:00:32 +0200
From: Werner Koch <wk@gnupg.org>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
References: <87d1muyh70.fsf@alice.fifthhorseman.net>
Organisation: g10 Code GmbH
X-message-flag: Mails containing HTML will not be read! Please send only plain text.
OpenPGP: url=https://k.gnupg.net/80615870F5BAD690333686D0F2AD85AC1E42B367
Mail-Followup-To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, IETF OpenPGP <openpgp@ietf.org>
Date: Tue, 05 Jul 2016 10:00:32 +0200
In-Reply-To: <87d1muyh70.fsf@alice.fifthhorseman.net> (Daniel Kahn Gillmor's message of "Sun, 03 Jul 2016 09:38:59 -0400")
Message-ID: <87twg45xb3.fsf@wheatstone.g10code.de>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/m7Z6jII2YmcPoktja5oTWo6mJ5M>
Cc: IETF OpenPGP <openpgp@ietf.org>
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: Tue, 05 Jul 2016 08:07:05 -0000

On Sun,  3 Jul 2016 15:38, dkg@fifthhorseman.net said:

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

Right, in the morning of February 7, 2106.  But only if the same
calendar and time notation will be used in 90 years.  I do not think we
should make assumption for such a long time span.  Will computers and
protocols be similar how we currently think about them?  Who was able to
imagine today's technology back in 1926?  Nowadays technologies develops
even more rapid than we assumed 40 years ago.

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

I'd say to keep the format as it is now.  If in 50 years there is still
a need for the OpenPGP protocol, a re-chartered WG could easily introduce
a, say, v8 key and signature format with a 40 bit value for seconds
since Epoch or whatever format will be en vogue by then (maybe keeping
the 32 bits and switching the Epoch to 2063-04-05).

If we really want to introduce this now, I would suggest to add an extra
zero octet right before any timestamp.  This can eventually be used as a
40 bit timestamps with only minor code changes.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */