public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MODSIGN without RTC?
@ 2013-02-06 23:42 Alexander Holler
  2013-02-07  1:06 ` Alexander Holler
  0 siblings, 1 reply; 9+ messages in thread
From: Alexander Holler @ 2013-02-06 23:42 UTC (permalink / raw)
  To: linux-kernel

Hello,

I wanted to try out MODSIGN with kernel 3.7.6 and I've just got hit by:

[    1.346445] X.509: Cert 6a23533cec71c4c52a1618fb4d830e06aa90474e is 
not yet valid

The reason is likely that the (ARM) device in question doesn't have a 
RTC (oh, that topic again ;) ) and gets it's time on boot through NTP.

The used certificate was generated automatically. Having a look at it, 
the following is shown:

        Validity
             Not Before: Feb  6 02:56:46 2013 GMT
             Not After : Jan 13 02:56:46 2113 GMT

Without having thought about possible security problems, my first idea 
would be to let the validity start at 1970. As I never did such I never 
had thought about possible implications when doing such (e.g. I don't 
know if someone checks the start date for plausabilitiy)

Another solution would be to retry loading of the certificate if the 
time gets set (and e.g. differs more than a year).

Has someone already thought about how to solve that problem? Or did 
everyone use sane systems which have a (working) RTC?

Regards,

Alexander

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-02-13  9:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06 23:42 MODSIGN without RTC? Alexander Holler
2013-02-07  1:06 ` Alexander Holler
2013-02-07  6:42   ` Geert Uytterhoeven
2013-02-07  7:01     ` Alexander Holler
2013-02-07 10:54       ` Alexander Holler
2013-02-13  9:30       ` Alexander Holler
2013-02-07 18:44   ` Olaf Titz
2013-02-11 19:44     ` Alexander Holler
2013-02-12 13:00       ` Alexander Holler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox