{"action":"created","issue":{"url":"https://api.github.com/repos/namshi/jose/issues/55","labels_url":"https://api.github.com/repos/namshi/jose/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/namshi/jose/issues/55/comments","events_url":"https://api.github.com/repos/namshi/jose/issues/55/events","html_url":"https://github.com/namshi/jose/issues/55","id":116133221,"number":55,"title":"Tag 6.0.2 has a dependency on phpseclib ~2.0 which is backwards incompatible","user":{"login":"bendbennett","id":4332332,"avatar_url":"https://avatars.githubusercontent.com/u/4332332?v=3","gravatar_id":"","url":"https://api.github.com/users/bendbennett","html_url":"https://github.com/bendbennett","followers_url":"https://api.github.com/users/bendbennett/followers","following_url":"https://api.github.com/users/bendbennett/following{/other_user}","gists_url":"https://api.github.com/users/bendbennett/gists{/gist_id}","starred_url":"https://api.github.com/users/bendbennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendbennett/subscriptions","organizations_url":"https://api.github.com/users/bendbennett/orgs","repos_url":"https://api.github.com/users/bendbennett/repos","events_url":"https://api.github.com/users/bendbennett/events{/privacy}","received_events_url":"https://api.github.com/users/bendbennett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T15:44:39Z","updated_at":"2015-11-12T17:29:31Z","closed_at":null,"body":"Currently, installing namshi/jose using composer pulls in the 6.0.2 tag\r\n`\"namshi/jose\": \"6.0.*\"`\r\n\r\nThe 6.0.2 tag has a dependency on phpseclib ~2.0 \r\n`\"phpseclib/phpseclib\": \"~2.0\"`\r\n\r\nOwing to changes in phpseclib, this breaks the *supportsKey()* method in the ECDSA class\r\n`Fatal error: Class 'File_ASN1' not found in ECDSA.php on line 40`\r\n\r\nClass has been renamed in phpseclib ~2.0 to ASN1 (/phpseclib/File/ASN1.php)\r\nFix is to update the use statement in ECDSA.php from `use \\File_ASN1;` to `use phpseclib\\File\\ASN1;`\r\nand to update the names of the constants used in the ECDSA class with the constants defined in the ASN1 class.\r\n\r\nThe master branch currently has a dependency on phpseclib 1.0.0 `\"phpseclib/phpseclib\": \"1.0.0\"` and looking at the git log it seems that tag 6.0.2 was created from commit `fd465401723974d76beb7424aeb4964c26b2b435` before the switch to phpseclib 1.0.0 was committed. I'm happy to submit a pull request if you're going to change to phpseclib ~2.0. If you're going to stick with 1.0.0 could you create tag 6.0.3 from master. Thanks!"},"comment":{"url":"https://api.github.com/repos/namshi/jose/issues/comments/156175468","html_url":"https://github.com/namshi/jose/issues/55#issuecomment-156175468","issue_url":"https://api.github.com/repos/namshi/jose/issues/55","id":156175468,"user":{"login":"jyggen","id":264300,"avatar_url":"https://avatars.githubusercontent.com/u/264300?v=3","gravatar_id":"","url":"https://api.github.com/users/jyggen","html_url":"https://github.com/jyggen","followers_url":"https://api.github.com/users/jyggen/followers","following_url":"https://api.github.com/users/jyggen/following{/other_user}","gists_url":"https://api.github.com/users/jyggen/gists{/gist_id}","starred_url":"https://api.github.com/users/jyggen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyggen/subscriptions","organizations_url":"https://api.github.com/users/jyggen/orgs","repos_url":"https://api.github.com/users/jyggen/repos","events_url":"https://api.github.com/users/jyggen/events{/privacy}","received_events_url":"https://api.github.com/users/jyggen/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T17:29:31Z","updated_at":"2015-11-12T17:29:31Z","body":"Having this issue as well, a new release with the 1.0 rollback would be appreciated. Thanks!"}}