Re:Windows feature that resets system clocks based on random...
by deepsun on Wednesday August 16, 2023 @03:50PM
(#37152706)
It's already discussed in the article -- because to determine that weather.gov connection is sound and not hacked, you first need to check its certificate expiration date. Chicken/Egg problem.
[ Parent
| on HN ]
Re:Windows feature that resets system clocks based on random...
by ragebol on Wednesday August 16, 2023 @03:59PM
(#37152854)
Why not let the user at least give an estimate for the current time & date. Should be close enough for certificate validation.
Yes, that gets annoying fast for said user, but a good incentive to eg fix the bios battery.
Re:Windows feature that resets system clocks based on random...
by orf on Wednesday August 16, 2023 @04:17PM
(#37153115)
Imagine there is no user, and there are thousands of machines
Re:Windows feature that resets system clocks based on random...
by cwilkes on Wednesday August 16, 2023 @08:09PM
(#37155551)
Just have those machines randomly ask one another for the time. Because of the Wisdom of Crowds the time will eventually be right.
/ sarcasm
Re:Windows feature that resets system clocks based on random...
by ragebol on Thursday August 17, 2023 @09:45AM
(#37161463)
Fair point. Another reason I don't want to manage thousands of Windows machines. Or even one for that matter.
Re:Windows feature that resets system clocks based on random...
by yetanotherloss on Wednesday August 16, 2023 @03:58PM
(#37152833)
That's the point, if you can't trust the connection, stop trying to come up with more complicated ways to use the untrustable connection and accept that there is no safe way to update time.
Re:Windows feature that resets system clocks based on random...
by deepsun on Wednesday August 16, 2023 @06:05PM
(#37154512)
Ok, so the system should fail to boot, right?
Re:Windows feature that resets system clocks based on random...
by yetanotherloss on Wednesday August 16, 2023 @08:45PM
(#37155766)
If for some reason an invalid time causes boot failure? Sure. There are some instrumented devices I work with that will alarm and cease operation if they lose their serial connection to a satellite clock, but those are few and far between.
But since the vast majority of them do not fail in that matter if the normal, configured methods of determining time aren't working, using TLS parameters that have been deliberately randomized by standard for like what, a decade now?, can not possibly be a more straightforward failure mode than logging errors and waiting for operator input.
If it's that critically important, embed a fixed signature for a set of known time sources and query those as a last resort. Microsoft certainly has the resources to set up a few to do this the much more obvious and predictable way.