Yubico Forum https://forum.yubico.com/ |
|
Inaccurate UTC time response from Yubico server https://forum.yubico.com/viewtopic.php?f=3&t=180 |
Page 1 of 1 |
Author: | David Dávila [ Sat Sep 06, 2008 11:53 am ] |
Post subject: | Inaccurate UTC time response from Yubico server |
Hi everybody, I notice Yubico's server timestamp response is not UTC as the Response table in http://www.yubico.com/developers/api/ claims, but UTC + 1, at least as of September's 6th, during the daylight saving time. Also, the time provided in the response is inaccurate by about +9 minutes. Am I missing something? Thanks. David |
Author: | kseistrup [ Sat Sep 06, 2008 2:53 pm ] |
Post subject: | Re: Inaccurate UTC time response from Yubico server |
David Dávila wrote: I notice Yubico's server timestamp response is not UTC as the Response table in http://www.yubico.com/developers/api/ claims, but UTC + 1, at least as of September's 6th, during the daylight saving time. Also, the time provided in the response is inaccurate by about +9 minutes. I have noticed the same thing. Cheers, Klaus |
Author: | paul [ Mon Sep 08, 2008 6:39 pm ] |
Post subject: | Re: Inaccurate UTC time response from Yubico server |
Oops! You are right. It is fixed now. Thanks |
Author: | kseistrup [ Tue Sep 09, 2008 5:14 pm ] |
Post subject: | Re: Inaccurate UTC time response from Yubico server |
paul wrote: Oops! You are right. It is fixed now. Are you guys sure you're running NTP on the server? The time seems to be slightly less than 3 minutes ahead as of this writing. Cheers, Klaus |
Author: | paul [ Wed Sep 10, 2008 12:19 am ] |
Post subject: | Re: Inaccurate UTC time response from Yubico server |
Klaus, you are right, I forgot I need to run the ntpdate command a few time to sync up with the NTP server's time. Now it should be accurate. I'll keep an eye on this for the next few days. Thanks |
Author: | firnsy [ Wed Sep 10, 2008 1:36 am ] |
Post subject: | Re: Inaccurate UTC time response from Yubico server |
Alternatives, if you haven't already implemented them, are:
2. setup a cron job for ntpdate and let it look after itself. |
Author: | paul [ Wed Sep 10, 2008 6:30 pm ] |
Post subject: | Re: Inaccurate UTC time response from Yubico server |
Thanks for the tips, I just set up the ntpd now. Just curious why need to duplicate the ntp server entries in both ntp.conf and step-tickers? |
Author: | firnsy [ Wed Sep 10, 2008 10:54 pm ] |
Post subject: | Re: Inaccurate UTC time response from Yubico server |
The file step-tickers is an optional file that is used by the ntpd startup script. Upon startup, ntpd will grabs the servers from step-tickers file and performs an ntpdate on them to get your system clock as close to the referent ntp clock as possible, typically within 10's of milliseconds. If you don't use the step-tickers, I believe it will set the system clock from your hardware CMOS clock. Why prefer one over the other?? I'm pretty sure that ntpd takes longer to maintain sync the further your system clock is skewed from the reference ntp clock you wish to use. It only has to be out by 5 to 10 minutes before ntpd starts to panic |
Author: | paul [ Mon Sep 15, 2008 6:41 pm ] |
Post subject: | Re: Inaccurate UTC time response from Yubico server |
The clock seems under control now. Thanks for your tips! |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |