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

Marcus Brinkmann Marcus.Brinkmann at ruhr-uni-bochum.de
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.

Thanks,
Marcus


-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus at gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




More information about the Gnupg-devel mailing list