From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757888AbcBCQ2q (ORCPT ); Wed, 3 Feb 2016 11:28:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45709 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbcBCQ2o (ORCPT ); Wed, 3 Feb 2016 11:28:44 -0500 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20160120153042.14d86d0b@lxorguk.ukuu.org.uk> References: <20160120153042.14d86d0b@lxorguk.ukuu.org.uk> <20160104221658.19818.56223.stgit@warthog.procyon.org.uk> <20160104221727.19818.76115.stgit@warthog.procyon.org.uk> <20497.1453303200@warthog.procyon.org.uk> To: One Thousand Gnomes Cc: dhowells@redhat.com, Rudolf Polzer , keyrings@vger.kernel.org, David Woodhouse , Arnd Bergmann , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, John Stultz Subject: Re: [RFC PATCH 4/4] X.509: Handle midnight alternative notation in GeneralizedTime MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29159.1454516921.1@warthog.procyon.org.uk> Date: Wed, 03 Feb 2016 16:28:41 +0000 Message-ID: <29160.1454516921@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org One Thousand Gnomes 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? David