Hacker News new | ask | show | jobs
by raggi 801 days ago
If you don't have an RTC I'd recommend having a tlsdate with some bounding heuristics to prevent extreme clock fixation from a mitm. You can relatively cheaply hit a large number of public servers that are likely to have good times available over TLS and trust the common result. You validate the certs without considering the notbefore stamps and then if you're feeling aggressive validate them after you've managed to approximate a date from the cohort. I know there are commercial packages that do this, I'm not sure about OSS ones.

Roughtime would be far better, but essentially there's no broad deployment of it yet.

Ideally something good would be picked by Raspbian and delivered in the distro as standard.