{"action":"created","issue":{"url":"https://api.github.com/repos/Yubico/yubioath-android/issues/44","repository_url":"https://api.github.com/repos/Yubico/yubioath-android","labels_url":"https://api.github.com/repos/Yubico/yubioath-android/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/Yubico/yubioath-android/issues/44/comments","events_url":"https://api.github.com/repos/Yubico/yubioath-android/issues/44/events","html_url":"https://github.com/Yubico/yubioath-android/issues/44","id":160085048,"number":44,"title":"Wishlist: Better handling of time remaining","user":{"login":"mjbnz","id":558433,"avatar_url":"https://avatars.githubusercontent.com/u/558433?v=3","gravatar_id":"","url":"https://api.github.com/users/mjbnz","html_url":"https://github.com/mjbnz","followers_url":"https://api.github.com/users/mjbnz/followers","following_url":"https://api.github.com/users/mjbnz/following{/other_user}","gists_url":"https://api.github.com/users/mjbnz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbnz/subscriptions","organizations_url":"https://api.github.com/users/mjbnz/orgs","repos_url":"https://api.github.com/users/mjbnz/repos","events_url":"https://api.github.com/users/mjbnz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbnz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-14T02:34:51Z","updated_at":"2016-06-15T02:04:21Z","closed_at":"2016-06-14T08:13:00Z","body":"Currently, Yubico Authenticator loads tokens from the NEO, and shows a 'full' time bar at the top of the display, when the reality is that there will be less than that time available for the displayed codes. Perhaps the time remaining bar should be initialised to the correct percentage of width for the actual remaining time?\r\n\r\nOne other issue perhaps related to this that I've noticed is that I have at least once had the codes displayed which are actually 'next' in the sequence; i.e., the codes were different to that shown in QuickAuth on my pebble watch, but after QA cycled to the next set, they were the same as those shown in Yubico Authenticator. This happened when I tapped my Neo about 3-4 seconds before a rollover. Perhaps this is actually a time sync thing?"},"comment":{"url":"https://api.github.com/repos/Yubico/yubioath-android/issues/comments/226068766","html_url":"https://github.com/Yubico/yubioath-android/issues/44#issuecomment-226068766","issue_url":"https://api.github.com/repos/Yubico/yubioath-android/issues/44","id":226068766,"user":{"login":"mjbnz","id":558433,"avatar_url":"https://avatars.githubusercontent.com/u/558433?v=3","gravatar_id":"","url":"https://api.github.com/users/mjbnz","html_url":"https://github.com/mjbnz","followers_url":"https://api.github.com/users/mjbnz/followers","following_url":"https://api.github.com/users/mjbnz/following{/other_user}","gists_url":"https://api.github.com/users/mjbnz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbnz/subscriptions","organizations_url":"https://api.github.com/users/mjbnz/orgs","repos_url":"https://api.github.com/users/mjbnz/repos","events_url":"https://api.github.com/users/mjbnz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbnz/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T02:04:21Z","updated_at":"2016-06-15T02:04:21Z","body":"Just noticed your comment:\r\n> it's not possible to automatically roll over to the next codes once the current ones expire\r\n\r\nIn which case my suggested alternative is a non-starter anyway. If in fact what happens is the key is passed a timestamp and it returns codes, kudos - that's a really neat way to securely do it and protect the secret keys.\r\n\r\n(However, perhaps two timestamps could be passed? keep the second result to display n seconds later :grin:  )"}}
{"actor":{"display_login":"mjbnz"}}