{"action":"created","issue":{"url":"https://api.github.com/repos/ChristianRiesen/otp/issues/14","repository_url":"https://api.github.com/repos/ChristianRiesen/otp","labels_url":"https://api.github.com/repos/ChristianRiesen/otp/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/ChristianRiesen/otp/issues/14/comments","events_url":"https://api.github.com/repos/ChristianRiesen/otp/issues/14/events","html_url":"https://github.com/ChristianRiesen/otp/issues/14","id":192391414,"number":14,"title":"README example is confusing","user":{"login":"fkooman","id":616885,"avatar_url":"https://avatars.githubusercontent.com/u/616885?v=3","gravatar_id":"","url":"https://api.github.com/users/fkooman","html_url":"https://github.com/fkooman","followers_url":"https://api.github.com/users/fkooman/followers","following_url":"https://api.github.com/users/fkooman/following{/other_user}","gists_url":"https://api.github.com/users/fkooman/gists{/gist_id}","starred_url":"https://api.github.com/users/fkooman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fkooman/subscriptions","organizations_url":"https://api.github.com/users/fkooman/orgs","repos_url":"https://api.github.com/users/fkooman/repos","events_url":"https://api.github.com/users/fkooman/events{/privacy}","received_events_url":"https://api.github.com/users/fkooman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T20:31:51Z","updated_at":"2016-11-30T00:24:01Z","closed_at":"2016-11-30T00:24:01Z","body":"In the README:\r\n\r\n```\r\n// Just to create a key for display (testing)\r\n$key = $otp->totp($secret);\r\n```\r\n\r\nThis should be:\r\n\r\n```\r\n$key = $otp->totp(Base32::decode($secret));\r\n```\r\n\r\nTook me a while to figure that one out :-)"},"comment":{"url":"https://api.github.com/repos/ChristianRiesen/otp/issues/comments/263744462","html_url":"https://github.com/ChristianRiesen/otp/issues/14#issuecomment-263744462","issue_url":"https://api.github.com/repos/ChristianRiesen/otp/issues/14","id":263744462,"user":{"login":"ChristianRiesen","id":1446701,"avatar_url":"https://avatars.githubusercontent.com/u/1446701?v=3","gravatar_id":"","url":"https://api.github.com/users/ChristianRiesen","html_url":"https://github.com/ChristianRiesen","followers_url":"https://api.github.com/users/ChristianRiesen/followers","following_url":"https://api.github.com/users/ChristianRiesen/following{/other_user}","gists_url":"https://api.github.com/users/ChristianRiesen/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristianRiesen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristianRiesen/subscriptions","organizations_url":"https://api.github.com/users/ChristianRiesen/orgs","repos_url":"https://api.github.com/users/ChristianRiesen/repos","events_url":"https://api.github.com/users/ChristianRiesen/events{/privacy}","received_events_url":"https://api.github.com/users/ChristianRiesen/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T00:24:01Z","updated_at":"2016-11-30T00:24:01Z","body":"You are 100% correct. Thank you for the hint. I changed it and it's correct now on the README. Won't tag a new version for this though :)"}}
{"actor":{"display_login":"ChristianRiesen"}}