3 ms·
Local clock is too far off
None of my athenticator codes work becase the clock is not able to sync. Anyone know how to fix this. using linux and firefox authenticator app https://addons.mozilla.org/en-US/firefox/addon/auth-helper/
I got it to work yesterday but not anymore
I had no idea that authenticator codes could be invalid like this. I thought that they work anywhere and are the same same everywhere.
- pwg 6y agoSet the clock to the correct time. One of the inputs to the algorithm used to generate the authenticator codes (for TOTP codes) is the current time of day when a code is requested. So you need to get your clock set to the correct time of day.
- paulpauper 6y agohow do I find that? the source code is huge. is there a website that gives the offical time
- LinuxBender 6y agoWhich distro of Linux, and do you have ntpd or Chrony installed? If ntp, try manually setting the time with ntpdate -b4 -p4 0.pool.ntp.org If that succeeds, then update the hardware clock hwclock --systohc This is just to get your auth working. You will need to properly configure either Chrony or ntpd and ensure the service is configured to start. Commands and configuration files vary by OS distro. There are many documents specific to each distro on how to configure these daemons.
- paulpauper 6y agotails linux
- LinuxBender 6y agoIt appears they prefer HTP [1] and assume you do not have direct internet access. They use Tor? You will have to set up HTP for time sync. Out of curiosity, what is it like doing everything through Tor? Slow? Do you get blocked in most places? [1] - https://tails.boum.org/contribute/design/Time_syncing/ https://tails.boum.org/contribute/design/Time_syncing/
- pwg 6y agoFor linux, the 'date' command is used for manual setting of the system time (read the 'date' manual page for details). Obviously you have to log in as root to set the system time. Or, follow the details from other commenters here to get ntp working, and let the system set its own time.
- paulpauper 6y agofianlly, I was able to sync by doing this: going here: https://time.is/Unix_time_converter https://time.is/Unix_time_converter then on tails time setting adjusting it manually the time zone and minutes until it matched there is probably a better way to do this though
- pwg 6y ago> there is probably a better way to do this though There is, read the manual page for the "date" command. You can use the --set argument to provide a human readable date/time value to which to set the clock.