Key expires at ... 1971
dshaw at jabberwocky.com
Wed Jun 4 21:31:04 CEST 2008
On Wed, Jun 04, 2008 at 07:39:37PM +0200, Daniel Leidert wrote:
> Is this a feature or a bug or a limitation or maybe even not gnupg
> related? A user observed the following:
> > gpg --gen-key
> > ???Please select what kind of key you want:
> > (1) DSA and Elgamal (default)
> > (2) DSA (sign only)
> > (5) RSA (sign only)
> > Your selection?
> > DSA keypair will have 1024 bits.
> > ELG-E keys may be between 1024 and 4096 bits long.
> > What keysize do you want? (2048)
> > Requested keysize is 2048 bits
> > Please specify how long the key should be valid.
> > 0 = key does not expire
> > <n> = key expires in n days
> > <n>w = key expires in n weeks
> > <n>m = key expires in n months
> > <n>y = key expires in n years
> > Key is valid for? (0) 99y
> > Key expires at Mo 05 Apr 1971 08:39:47 CET
> > Is this correct? (y/N)
> I can reproduce it with the latest release of gnupg 1.4.9.
It's a bug. OpenPGP has some date limits (there is a Y2106 issue
inherent in the protocol), but it should be able to handle expiration
dates up to 2242. I'll take a look at it.
More information about the Gnupg-devel