{"action":"closed","issue":{"url":"https://api.github.com/repos/nov/json-jwt/issues/39","repository_url":"https://api.github.com/repos/nov/json-jwt","labels_url":"https://api.github.com/repos/nov/json-jwt/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/nov/json-jwt/issues/39/comments","events_url":"https://api.github.com/repos/nov/json-jwt/issues/39/events","html_url":"https://github.com/nov/json-jwt/issues/39","id":165500188,"number":39,"title":"1.6.2 broke backwards compatibility, calling .dup","user":{"login":"nhinds","id":1029586,"avatar_url":"https://avatars.githubusercontent.com/u/1029586?v=3","gravatar_id":"","url":"https://api.github.com/users/nhinds","html_url":"https://github.com/nhinds","followers_url":"https://api.github.com/users/nhinds/followers","following_url":"https://api.github.com/users/nhinds/following{/other_user}","gists_url":"https://api.github.com/users/nhinds/gists{/gist_id}","starred_url":"https://api.github.com/users/nhinds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhinds/subscriptions","organizations_url":"https://api.github.com/users/nhinds/orgs","repos_url":"https://api.github.com/users/nhinds/repos","events_url":"https://api.github.com/users/nhinds/events{/privacy}","received_events_url":"https://api.github.com/users/nhinds/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-14T07:58:41Z","updated_at":"2016-07-14T08:19:47Z","closed_at":"2016-07-14T08:19:47Z","body":"In 1.6.2, JSON::JWT.sign started calling `JWS.new self.dup` instead of `JSW.new self`.\r\n\r\nThis has caused `acme-client`, who depends on `json-jwt`, to start failing with errors \"algorithm 'none' in JWS header not acceptable\": unixcharles/acme-client#74\r\n\r\nEditing `lib/json/jwt.rb` and removing `.dup` makes these errors go away. The errors are not present when running with `json-jwt` 1.5.2 or 1.6.1, so it seems like something has broken backwards compatibility in the patch version 1.6.2."}}
{"actor":{"display_login":"nhinds"}}