{"action":"created","issue":{"url":"https://api.github.com/repos/castle/ruby-u2f/issues/25","repository_url":"https://api.github.com/repos/castle/ruby-u2f","labels_url":"https://api.github.com/repos/castle/ruby-u2f/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/castle/ruby-u2f/issues/25/comments","events_url":"https://api.github.com/repos/castle/ruby-u2f/issues/25/events","html_url":"https://github.com/castle/ruby-u2f/pull/25","id":132287899,"number":25,"title":"Make some updates for v1.1 JS API","user":{"login":"mastahyeti","id":1144197,"avatar_url":"https://avatars.githubusercontent.com/u/1144197?v=3","gravatar_id":"","url":"https://api.github.com/users/mastahyeti","html_url":"https://github.com/mastahyeti","followers_url":"https://api.github.com/users/mastahyeti/followers","following_url":"https://api.github.com/users/mastahyeti/following{/other_user}","gists_url":"https://api.github.com/users/mastahyeti/gists{/gist_id}","starred_url":"https://api.github.com/users/mastahyeti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastahyeti/subscriptions","organizations_url":"https://api.github.com/users/mastahyeti/orgs","repos_url":"https://api.github.com/users/mastahyeti/repos","events_url":"https://api.github.com/users/mastahyeti/events{/privacy}","received_events_url":"https://api.github.com/users/mastahyeti/received_events","type":"User","site_admin":true},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-08T23:34:17Z","updated_at":"2016-02-18T20:02:34Z","closed_at":"2016-02-18T17:17:02Z","pull_request":{"url":"https://api.github.com/repos/castle/ruby-u2f/pulls/25","html_url":"https://github.com/castle/ruby-u2f/pull/25","diff_url":"https://github.com/castle/ruby-u2f/pull/25.diff","patch_url":"https://github.com/castle/ruby-u2f/pull/25.patch"},"body":"Some breaking changes are coming in the 1.1 version of the JavaScript API (I guess Google doesn't use semantic versioning). These changes include:\r\n\r\n- One appId value per request, instead of per-challenge appId values.\r\n- For sign requests, a single challenge value, instead of a per-key handle challenge.\r\n- signRequests are now renamed registeredKeys (since they don't have appIds or challenges anymore.)\r\n\r\nYou can see the new API [here](https://github.com/google/u2f-ref-code/blob/29833edf19fe27da2334c4af91b4d0358137f25d/u2f-gae-demo/war/js/u2f-api.js).\r\n\r\nI updated `SignRequest` and `RegisterRequest` to be used with these new APIs. I can't get tests working locally, because of some vague OpenSSL errors. Not sure what to do about that.\r\n\r\nI imagine we'll want a new major version of this gem because of the breaking changes to the API. "},"comment":{"url":"https://api.github.com/repos/castle/ruby-u2f/issues/comments/185892161","html_url":"https://github.com/castle/ruby-u2f/pull/25#issuecomment-185892161","issue_url":"https://api.github.com/repos/castle/ruby-u2f/issues/25","id":185892161,"user":{"login":"wallin","id":268917,"avatar_url":"https://avatars.githubusercontent.com/u/268917?v=3","gravatar_id":"","url":"https://api.github.com/users/wallin","html_url":"https://github.com/wallin","followers_url":"https://api.github.com/users/wallin/followers","following_url":"https://api.github.com/users/wallin/following{/other_user}","gists_url":"https://api.github.com/users/wallin/gists{/gist_id}","starred_url":"https://api.github.com/users/wallin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallin/subscriptions","organizations_url":"https://api.github.com/users/wallin/orgs","repos_url":"https://api.github.com/users/wallin/repos","events_url":"https://api.github.com/users/wallin/events{/privacy}","received_events_url":"https://api.github.com/users/wallin/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T20:02:34Z","updated_at":"2016-02-18T20:02:34Z","body":"Thanks! I deleted `master` and made `API_v1_1` the default"}}