{"action":"created","issue":{"url":"https://api.github.com/repos/apache/mesos/issues/281","repository_url":"https://api.github.com/repos/apache/mesos","labels_url":"https://api.github.com/repos/apache/mesos/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/apache/mesos/issues/281/comments","events_url":"https://api.github.com/repos/apache/mesos/issues/281/events","html_url":"https://github.com/apache/mesos/pull/281","id":314316116,"number":281,"title":"Add alg RS256 support for JWT generator and validator.","user":{"login":"clems4ever","id":3193257,"avatar_url":"https://avatars2.githubusercontent.com/u/3193257?v=4","gravatar_id":"","url":"https://api.github.com/users/clems4ever","html_url":"https://github.com/clems4ever","followers_url":"https://api.github.com/users/clems4ever/followers","following_url":"https://api.github.com/users/clems4ever/following{/other_user}","gists_url":"https://api.github.com/users/clems4ever/gists{/gist_id}","starred_url":"https://api.github.com/users/clems4ever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clems4ever/subscriptions","organizations_url":"https://api.github.com/users/clems4ever/orgs","repos_url":"https://api.github.com/users/clems4ever/repos","events_url":"https://api.github.com/users/clems4ever/events{/privacy}","received_events_url":"https://api.github.com/users/clems4ever/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-04-14T09:55:59Z","updated_at":"2018-04-14T21:54:36Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/mesos/pulls/281","html_url":"https://github.com/apache/mesos/pull/281","diff_url":"https://github.com/apache/mesos/pull/281.diff","patch_url":"https://github.com/apache/mesos/pull/281.patch"},"body":"Currently, the JWT library only support creating and validating HS256 tokens. I implemented the creation and validation of RS256 tokens.\r\n\r\nThe interface is accepting a shared pointer of RSA as input for RSA keys to be as generic as possible but I also provide helper functions to convert PEM representation of keys into RSA keys so that it is easy to read the PEM on disk. I will probably implement the JWK representation of keys in a coming review."},"comment":{"url":"https://api.github.com/repos/apache/mesos/issues/comments/381363210","html_url":"https://github.com/apache/mesos/pull/281#issuecomment-381363210","issue_url":"https://api.github.com/repos/apache/mesos/issues/281","id":381363210,"user":{"login":"clems4ever","id":3193257,"avatar_url":"https://avatars2.githubusercontent.com/u/3193257?v=4","gravatar_id":"","url":"https://api.github.com/users/clems4ever","html_url":"https://github.com/clems4ever","followers_url":"https://api.github.com/users/clems4ever/followers","following_url":"https://api.github.com/users/clems4ever/following{/other_user}","gists_url":"https://api.github.com/users/clems4ever/gists{/gist_id}","starred_url":"https://api.github.com/users/clems4ever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clems4ever/subscriptions","organizations_url":"https://api.github.com/users/clems4ever/orgs","repos_url":"https://api.github.com/users/clems4ever/repos","events_url":"https://api.github.com/users/clems4ever/events{/privacy}","received_events_url":"https://api.github.com/users/clems4ever/received_events","type":"User","site_admin":false},"created_at":"2018-04-14T21:54:36Z","updated_at":"2018-04-14T21:54:36Z","author_association":"CONTRIBUTOR","body":"@tilt, yes, large diff because I refactored a bit and added as many tests as there are for HS256. :)"}}
{"actor":{"display_login":"clems4ever"}}