sdwdate support for GETINFO “current-time/{local,utc}”

Information

ID: 832
PHID: PHID-TASK-53yt6a2ubqxx2mm5gcbo
Author: HulaHoop
Status at Migration Time: invalid
Priority at Migration Time: Normal

Description

At last it seems the Tor network supports natively time queries which makes it the ideal way to check time for sdwdate.

Advantages:

*Attack surface reduced to that of the Tor daemon
*No need to worry about miantining lists of active onions or the upcoming deprecation of v2 addresses.


This potentially simplifies a sdwdate-server implementation


Minor features (control port):

Introduce GETINFO "current-time/{local,utc}" to return the local and UTC times respectively in ISO format. This helps a controller like Tor Browser detect a time-related error. Closes ticket 25511 (https://bugs.torproject.org/25511). Patch by Neel Chauhan.

Comments


Patrick

2018-09-12 07:01:04 UTC