4 ms·
I wonder how iOS keeps track of the 7 days in question. For an iOS device still connected to the internet or to a mobile phone network, I presume it will perio
by k_sze 8y ago
I wonder how iOS keeps track of the 7 days in question.
For an iOS device still connected to the internet or to a mobile phone network, I presume it will periodically make an NTP request or get the date/time from the mobile phone carrier, to adjust its clock. What if those requests are MITM'ed?
- lathiat 8y agoThough that's kind of a good question, GENERALLY speaking you should use "monotonic" timers for this sort of thing which don't have that problem. They're based on a system time which doesn't change. Of course, that's no guarantee.. this is done wrong in a lot of places all the time. But I would expect Apple to get this sort of basic thing right in their security code. Hopefully :)