{"id":2876,"date":"2014-03-18T03:32:50","date_gmt":"2014-03-18T08:32:50","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=2876"},"modified":"2014-03-18T03:32:50","modified_gmt":"2014-03-18T08:32:50","slug":"2-factor-authentication-and-time","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time","title":{"rendered":"2-factor authentication and time"},"content":{"rendered":"<p><a href=\"http:\/\/www.flickr.com\/photos\/byte\/54194045\/\" title=\"Flinders Street Station by byte, on Flickr\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/farm1.staticflickr.com\/25\/54194045_b27cf03cfe_m.jpg?resize=240%2C160\" width=\"240\" height=\"160\" alt=\"Flinders Street Station\" align=\"right\" hspace=\"5\" vspace=\"5\" data-recalc-dims=\"1\"\/><\/a>I use <a href=\"https:\/\/code.google.com\/p\/google-authenticator\/\">Google Authenticator<\/a> for 2-factor authentication for some of the services I access. I had trouble accessing some of my sites due to getting an invalid token, and I was wondering what was going on.<\/p>\n<p>Turns out, the time on my phone was off. You need to let the network set the time, and you will suddenly be generating sensible codes again. This is <a href=\"https:\/\/support.google.com\/accounts\/answer\/185834?hl=en#sync\">documented<\/a> for Android (you can do this within the app), but on iOS it is a system-wide setting.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%202-factor%20authentication%20and%20time&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2014%2F03%2F18%2F2-factor-authentication-and-time&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"bc96ae42e0\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-2876\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-2876\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-2876\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>I use Google Authenticator for 2-factor authentication for some of the services I access. I had trouble accessing some of my sites due to getting an invalid token, and I was wondering what was going on. Turns out, the time on my phone was off. You need to let the network set the time, and [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%202-factor%20authentication%20and%20time&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2014%2F03%2F18%2F2-factor-authentication-and-time&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"bc96ae42e0\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-2876\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-2876\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-2876\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[1503],"tags":[1641,1513,68],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-Ko","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":829,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/06\/01\/mod_auth_mysql-patched-to-work-with-phpass","url_meta":{"origin":2876,"position":0},"title":"mod_auth_mysql patched to work with phpass","date":"1\/6\/2008","format":false,"excerpt":"Do you use mod_auth_mysql, the Apache module that allows authentication of users to happen through a MySQL database? If so, the nice folk at Automattic (makers of fine blogging software like Wordpress) have released a patched version that works with phpass. With this, you can now have single sign on\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2665,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2013\/03\/05\/when-google-locks-you-out","url_meta":{"origin":2876,"position":1},"title":"When Google locks you out","date":"5\/3\/2013","format":false,"excerpt":"I came home after a long day of activities to find myself locked out of my Google account. I was told that there was suspicious activity and it had decided to lock me out.\u00a0 The verification code to set everything going is via a text message to your phone. After\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2136,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2011\/04\/21\/the-1malaysia-e-mail-project-revisited","url_meta":{"origin":2876,"position":2},"title":"The 1Malaysia E-mail Project Revisited","date":"21\/4\/2011","format":false,"excerpt":"Since I last wrote about The 1Malaysia E-mail Project, Tricubes the company pushing it has come up with a FAQ. It has confirmed some of my thoughts and made me wonder even further how some things are going to work. I'm sitting on a plane now, with not much else\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3462,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2018\/10\/31\/screen-time-and-less-usage-of-social-media","url_meta":{"origin":2876,"position":3},"title":"Screen Time and less usage of social media","date":"31\/10\/2018","format":false,"excerpt":"I have been trying an experiment -- the use of less social media, thanks to Screen Time on iOS 12. The last item I uploaded on Instagram was on September 17 2018. My usual form has been to make a photo at every place I land up at, but since\u2026","rel":"","context":"In &quot;Tech&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3189,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2016\/03\/13\/backing-up-or-taking-out-your-data-from-flickr-with-flickrdownloadr","url_meta":{"origin":2876,"position":4},"title":"Backing up or taking out your data from Flickr with flickrdownloadr","date":"13\/3\/2016","format":false,"excerpt":"I've been a Flickr Pro subscriber since 2005. I consume 75.36GB of storage, spread across 25,765 photos. I spent a lot of time on it since 2005, creating albums, joining groups, etc. I love the product and I'm paid up till 2018 and do not intend to stop subscribing to\u2026","rel":"","context":"In &quot;Tech&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":487,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/03\/09\/too-many-openid-registras-considered-harmful","url_meta":{"origin":2876,"position":5},"title":"Too many OpenID registras considered harmful?","date":"9\/3\/2007","format":false,"excerpt":"Wordpress Matt writes that your WordPress.com blog URL is now usable as an OpenID login. I'm thrilled about that, but what happens when you've got an ID, sitting at MyOpenID? Does OpenID support merging of profiles, so you only maintain your OpenID at one location? I now have two OpenID\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2876"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=2876"}],"version-history":[{"count":1,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2876\/revisions"}],"predecessor-version":[{"id":2877,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2876\/revisions\/2877"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=2876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=2876"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=2876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}