gpg expiration date format (was: Re: gpgme op_gen bug)

David Shaw dshaw at jabberwocky.com
Mon Nov 11 06:04:02 CET 2002


On Mon, Nov 11, 2002 at 04:56:50AM +0100, Marcus Brinkmann wrote:
> On Mon, Nov 11, 2002 at 01:36:36AM +0100, Miguel Coca wrote:
> > On Sun, Nov 10, 2002 at 15:12:22 -0600, Jacob Perkins wrote:
> > > gpgme-0.3.12 seems to have a key generation bug in that even if given an
> > > expiration date, it still generates a key that does not expire.
> > 
> > Hi Jacob,
> > 
> > This seems to work for me now, but it looks like it's tricky to get the
> > date string right in the parameters pased to gpgme. The line must be like
> > this:
> > 
> > Expire-Date: 2005-01-01
> > 
> > If you write the date any differently (2005-1-1, 20050101), it won't work,
> > and in some cases even fail silently and create keys that don't expire.
> 
> All things like this are genuine gnupg issues. gpgme doesn't interpret the
> generation request, it just passes it forward.

Perhaps it would be good if GnuPG accepted an epoch-time value here as
well as the human readable date format.

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