{"action":"created","comment":{"url":"https://api.github.com/repos/spotify/crtauth/pulls/comments/33672612","id":33672612,"diff_hunk":"@@ -165,7 +166,7 @@ class VerifiablePayload(SerializablePacket):\n     payload - The payload.\n     \"\"\"\n \n-    __magic__ = 'v'\n+    __magic__ = six.b('v')","path":"crtauth/protocol.py","position":13,"original_position":13,"commit_id":"f8fb1274f568dd30d365cee5ae58453431fb28d7","original_commit_id":"f8fb1274f568dd30d365cee5ae58453431fb28d7","user":{"login":"nresare","id":541939,"avatar_url":"https://avatars.githubusercontent.com/u/541939?v=3","gravatar_id":"","url":"https://api.github.com/users/nresare","html_url":"https://github.com/nresare","followers_url":"https://api.github.com/users/nresare/followers","following_url":"https://api.github.com/users/nresare/following{/other_user}","gists_url":"https://api.github.com/users/nresare/gists{/gist_id}","starred_url":"https://api.github.com/users/nresare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nresare/subscriptions","organizations_url":"https://api.github.com/users/nresare/orgs","repos_url":"https://api.github.com/users/nresare/repos","events_url":"https://api.github.com/users/nresare/events{/privacy}","received_events_url":"https://api.github.com/users/nresare/received_events","type":"User","site_admin":false},"body":"read [here](https://pythonhosted.org/six/index.html#six.b) that the function is just for compatibility with python < 2.6 which I don't think we care about and that it's equivalent with b prefixed string literals in both python 2 and 3. ","created_at":"2015-07-01T12:19:00Z","updated_at":"2015-07-01T12:19:00Z","html_url":"https://github.com/spotify/crtauth/pull/19#discussion_r33672612","pull_request_url":"https://api.github.com/repos/spotify/crtauth/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/spotify/crtauth/pulls/comments/33672612"},"html":{"href":"https://github.com/spotify/crtauth/pull/19#discussion_r33672612"},"pull_request":{"href":"https://api.github.com/repos/spotify/crtauth/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/spotify/crtauth/pulls/19","id":38973719,"html_url":"https://github.com/spotify/crtauth/pull/19","diff_url":"https://github.com/spotify/crtauth/pull/19.diff","patch_url":"https://github.com/spotify/crtauth/pull/19.patch","issue_url":"https://api.github.com/repos/spotify/crtauth/issues/19","number":19,"state":"open","locked":false,"title":"Python 3 support","user":{"login":"thiderman","id":155394,"avatar_url":"https://avatars.githubusercontent.com/u/155394?v=3","gravatar_id":"","url":"https://api.github.com/users/thiderman","html_url":"https://github.com/thiderman","followers_url":"https://api.github.com/users/thiderman/followers","following_url":"https://api.github.com/users/thiderman/following{/other_user}","gists_url":"https://api.github.com/users/thiderman/gists{/gist_id}","starred_url":"https://api.github.com/users/thiderman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiderman/subscriptions","organizations_url":"https://api.github.com/users/thiderman/orgs","repos_url":"https://api.github.com/users/thiderman/repos","events_url":"https://api.github.com/users/thiderman/events{/privacy}","received_events_url":"https://api.github.com/users/thiderman/received_events","type":"User","site_admin":false},"body":"As seen in https://github.com/spotify/drserv/issues/10 we would like to have Python 3 support in `crtauth`!","created_at":"2015-07-01T11:44:58Z","updated_at":"2015-07-01T12:19:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75c4ecaa37001880f64dc3fd33e22e3e34ddb07a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spotify/crtauth/pulls/19/commits","review_comments_url":"https://api.github.com/repos/spotify/crtauth/pulls/19/comments","review_comment_url":"https://api.github.com/repos/spotify/crtauth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spotify/crtauth/issues/19/comments","statuses_url":"https://api.github.com/repos/spotify/crtauth/statuses/f8fb1274f568dd30d365cee5ae58453431fb28d7","head":{"label":"spotify:py3","ref":"py3","sha":"f8fb1274f568dd30d365cee5ae58453431fb28d7","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":7978449,"name":"crtauth","full_name":"spotify/crtauth","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/crtauth","description":"a public key backed client/server authentication system","fork":false,"url":"https://api.github.com/repos/spotify/crtauth","forks_url":"https://api.github.com/repos/spotify/crtauth/forks","keys_url":"https://api.github.com/repos/spotify/crtauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/crtauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/crtauth/teams","hooks_url":"https://api.github.com/repos/spotify/crtauth/hooks","issue_events_url":"https://api.github.com/repos/spotify/crtauth/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/crtauth/events","assignees_url":"https://api.github.com/repos/spotify/crtauth/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/crtauth/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/crtauth/tags","blobs_url":"https://api.github.com/repos/spotify/crtauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/crtauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/crtauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/crtauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/crtauth/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/crtauth/languages","stargazers_url":"https://api.github.com/repos/spotify/crtauth/stargazers","contributors_url":"https://api.github.com/repos/spotify/crtauth/contributors","subscribers_url":"https://api.github.com/repos/spotify/crtauth/subscribers","subscription_url":"https://api.github.com/repos/spotify/crtauth/subscription","commits_url":"https://api.github.com/repos/spotify/crtauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/crtauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/crtauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/crtauth/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/crtauth/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/crtauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/crtauth/merges","archive_url":"https://api.github.com/repos/spotify/crtauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/crtauth/downloads","issues_url":"https://api.github.com/repos/spotify/crtauth/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/crtauth/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/crtauth/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/crtauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/crtauth/labels{/name}","releases_url":"https://api.github.com/repos/spotify/crtauth/releases{/id}","created_at":"2013-02-02T16:38:44Z","updated_at":"2015-06-29T14:45:56Z","pushed_at":"2015-07-01T12:04:28Z","git_url":"git://github.com/spotify/crtauth.git","ssh_url":"git@github.com:spotify/crtauth.git","clone_url":"https://github.com/spotify/crtauth.git","svn_url":"https://github.com/spotify/crtauth","homepage":null,"size":311,"stargazers_count":54,"watchers_count":54,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":54,"default_branch":"master"}},"base":{"label":"spotify:master","ref":"master","sha":"c69a2d0838c02571abd7366e141da00d432a08a3","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":7978449,"name":"crtauth","full_name":"spotify/crtauth","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/crtauth","description":"a public key backed client/server authentication system","fork":false,"url":"https://api.github.com/repos/spotify/crtauth","forks_url":"https://api.github.com/repos/spotify/crtauth/forks","keys_url":"https://api.github.com/repos/spotify/crtauth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/crtauth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/crtauth/teams","hooks_url":"https://api.github.com/repos/spotify/crtauth/hooks","issue_events_url":"https://api.github.com/repos/spotify/crtauth/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/crtauth/events","assignees_url":"https://api.github.com/repos/spotify/crtauth/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/crtauth/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/crtauth/tags","blobs_url":"https://api.github.com/repos/spotify/crtauth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/crtauth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/crtauth/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/crtauth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/crtauth/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/crtauth/languages","stargazers_url":"https://api.github.com/repos/spotify/crtauth/stargazers","contributors_url":"https://api.github.com/repos/spotify/crtauth/contributors","subscribers_url":"https://api.github.com/repos/spotify/crtauth/subscribers","subscription_url":"https://api.github.com/repos/spotify/crtauth/subscription","commits_url":"https://api.github.com/repos/spotify/crtauth/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/crtauth/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/crtauth/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/crtauth/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/crtauth/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/crtauth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/crtauth/merges","archive_url":"https://api.github.com/repos/spotify/crtauth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/crtauth/downloads","issues_url":"https://api.github.com/repos/spotify/crtauth/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/crtauth/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/crtauth/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/crtauth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/crtauth/labels{/name}","releases_url":"https://api.github.com/repos/spotify/crtauth/releases{/id}","created_at":"2013-02-02T16:38:44Z","updated_at":"2015-06-29T14:45:56Z","pushed_at":"2015-07-01T12:04:28Z","git_url":"git://github.com/spotify/crtauth.git","ssh_url":"git@github.com:spotify/crtauth.git","clone_url":"https://github.com/spotify/crtauth.git","svn_url":"https://github.com/spotify/crtauth","homepage":null,"size":311,"stargazers_count":54,"watchers_count":54,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spotify/crtauth/pulls/19"},"html":{"href":"https://github.com/spotify/crtauth/pull/19"},"issue":{"href":"https://api.github.com/repos/spotify/crtauth/issues/19"},"comments":{"href":"https://api.github.com/repos/spotify/crtauth/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/spotify/crtauth/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/spotify/crtauth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spotify/crtauth/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/spotify/crtauth/statuses/f8fb1274f568dd30d365cee5ae58453431fb28d7"}}}}