[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160204173811.0c21dcbf@lxorguk.ukuu.org.uk>
Date: Thu, 4 Feb 2016 17:38:11 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: David Howells <dhowells@...hat.com>
Cc: Rudolf Polzer <rpolzer@...gle.com>, keyrings@...r.kernel.org,
David Woodhouse <David.Woodhouse@...el.com>,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org,
John Stultz <john.stultz@...aro.org>
Subject: Re: [RFC PATCH 4/4] X.509: Handle midnight alternative notation in
GeneralizedTime
On Wed, 03 Feb 2016 16:28:41 +0000
David Howells <dhowells@...hat.com> wrote:
> One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk> wrote:
>
> > > > As for 24:xx:yy times - I'm split about this. This code doesn't
> > > > require a bijective decoding anyway (and if it did, 24:00:00 and
> > > > 00:00:00 mapping to the same time64_t would be problem enough) so this
> > > > is sure safe. On the other hand, a cert with a 24:xx:yy time that's
> > > > not 24:00:00 probably should be regarded as invalid and not trusted
> > > > for that reason alone.
> > >
> > > Feel free to argue that one with Linus:-/
> >
> > Pedantic hat on 24:00:01 is also potentially valid. The ANSI and ISO
> > standards allow for double leap seconds even though CCIR-460 doesn't
> > allow it to actually happen.
>
> Did you mean 24:00:01 or 23:59:61?
I'd have to actually go and real all the standards for that one.
Alan
Powered by blists - more mailing lists