[tor-bugs] #16458 [Core Tor/Tor]: torspec references UTC, but tor uses unix time (leap second handling)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jun 20 19:12:45 UTC 2017


#16458: torspec references UTC, but tor uses unix time (leap second handling)
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:
     Type:  task                                 |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-spec documentation easy gmt utc  |  Actual Points:
  time                                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by catalyst):

 * cc: catalyst (added)


Comment:

 If "Unix time" means POSIX seconds-since-the-epoch, it won't differ by ~30
 seconds from UTC.  If you're using the "right" time zones from the TZ
 database (which purport to count SI seconds since the POSIX epoch), you'll
 get such a difference but you're no longer using POSIX time.  I'm hoping
 that people don't run the "right" time zones in production, but some of
 the BSDs used to default to it.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16458#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list