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

Marcus Brinkmann Marcus.Brinkmann at
Mon Nov 11 04:56:01 CET 2002

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.


`Rhubarb is no Egyptian god.' GNU    marcus at
Marcus Brinkmann              The Hurd
Marcus.Brinkmann at

More information about the Gnupg-devel mailing list