From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934283AbcATPUG (ORCPT ); Wed, 20 Jan 2016 10:20:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56841 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932744AbcATPUC (ORCPT ); Wed, 20 Jan 2016 10:20:02 -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: References: <20160104221658.19818.56223.stgit@warthog.procyon.org.uk> <20160104221727.19818.76115.stgit@warthog.procyon.org.uk> To: Rudolf Polzer Cc: dhowells@redhat.com, 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: <20496.1453303199.1@warthog.procyon.org.uk> Date: Wed, 20 Jan 2016 15:20:00 +0000 Message-ID: <20497.1453303200@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rudolf Polzer 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:-/ David