Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932801Ab2JVBZI (ORCPT ); Sun, 21 Oct 2012 21:25:08 -0400 Received: from ozlabs.org ([203.10.76.45]:36925 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932749Ab2JVBZE (ORCPT ); Sun, 21 Oct 2012 21:25:04 -0400 From: Rusty Russell To: David Howells Cc: dhowells@redhat.com, Linus Torvalds , Josh Boyer , David Miller , Linux Kernel Mailing List , pjones@redhat.com Subject: Re: RFC: sign the modules at install time In-Reply-To: <2140.1350645706@warthog.procyon.org.uk> References: <87txtrpb1t.fsf@rustcorp.com.au> <3179.1350512382@warthog.procyon.org.uk> <87a9vko0z7.fsf@rustcorp.com.au> <20121018121154.GE2934@hansolo.jdub.homelinux.org> <2140.1350645706@warthog.procyon.org.uk> User-Agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) Date: Mon, 22 Oct 2012 10:21:35 +1030 Message-ID: <87bofvjse0.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 992 Lines: 24 David Howells writes: > Rusty Russell wrote: > >> > (Side note: I hope people realize that the random key is generated >> > with a 100-year lifespan. So if you build a kernel today, you do >> > potentially have a "year-2112 problem". I'm not horribly worried, but >> > I *am* a bit worried about 32-bit time_t overflow and I hope 32-bit >> > openssl doesn't do anything odd) >> >> Yep, David's original patch had that problem; he fixed the kernel's x509 >> handling to use struct tm, not time_t, and now it Just Works. > > That's assuming that 32-bit *openssl* gets it right when generating the key. Yes, I am assuming that. What openssl did you think I ran on my 32-bit kernel? :) Cheers, Rusty. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/