gpg expiration date format

David Shaw dshaw at jabberwocky.com
Mon Nov 11 13:41:01 CET 2002


On Mon, Nov 11, 2002 at 09:49:04AM +0100, Werner Koch wrote:
> On Mon, 11 Nov 2002 00:04:41 -0500, David Shaw said:
> 
> > Perhaps it would be good if GnuPG accepted an epoch-time value here as
> > well as the human readable date format.
> 
> Seconds since Epoch are not good to express calendar dates expecially
> not those in the future - it is impossible to know how many leap
> seconds will be inserted in future years. 
> 
> Well, this is theory because OpenPGP and GnuPG do use Epoch times
> internally.  The current parser is only able to handle a date and
> can't cope with a time part, so please use the "YYYY-MM-DD" format.

This would only be for use with GPGME.  With GPGME, the "user" is a
program so it probably already has all its times in epoch form so leap
seconds, etc, are already resolved.  Perhaps it would be better to
convert in GPGME though.

David

-- 
   David Shaw  |  dshaw at jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson




More information about the Gnupg-devel mailing list