{"action":"created","comment":{"url":"https://api.github.com/repos/Kinto/kinto-signer/pulls/comments/60704500","id":60704500,"diff_hunk":"@@ -0,0 +1,122 @@\n+import random\n+from string import hexdigits\n+import argparse\n+from functools import partial\n+\n+from kinto_client import Client\n+from kinto_signer.serializer import canonical_json\n+from kinto_signer.hasher import compute_hash\n+from kinto_signer.signer.local_ecdsa import ECDSASigner\n+\n+\n+DEFAULT_SERVER = \"http://some:guy@localhost:8888/v1\"","path":"scripts/e2e.py","position":12,"original_position":12,"commit_id":"9580c0e77c8e6f098a8616dcc336d9f5486ba61b","original_commit_id":"9580c0e77c8e6f098a8616dcc336d9f5486ba61b","user":{"login":"Natim","id":229453,"avatar_url":"https://avatars.githubusercontent.com/u/229453?v=3","gravatar_id":"","url":"https://api.github.com/users/Natim","html_url":"https://github.com/Natim","followers_url":"https://api.github.com/users/Natim/followers","following_url":"https://api.github.com/users/Natim/following{/other_user}","gists_url":"https://api.github.com/users/Natim/gists{/gist_id}","starred_url":"https://api.github.com/users/Natim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natim/subscriptions","organizations_url":"https://api.github.com/users/Natim/orgs","repos_url":"https://api.github.com/users/Natim/repos","events_url":"https://api.github.com/users/Natim/events{/privacy}","received_events_url":"https://api.github.com/users/Natim/received_events","type":"User","site_admin":false},"body":"Today the signer generate read for everyone collections so that you shouldn't need the ``some:guy`` default auth.","created_at":"2016-04-22T08:13:25Z","updated_at":"2016-04-22T08:13:25Z","html_url":"https://github.com/Kinto/kinto-signer/pull/64#discussion_r60704500","pull_request_url":"https://api.github.com/repos/Kinto/kinto-signer/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-signer/pulls/comments/60704500"},"html":{"href":"https://github.com/Kinto/kinto-signer/pull/64#discussion_r60704500"},"pull_request":{"href":"https://api.github.com/repos/Kinto/kinto-signer/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/Kinto/kinto-signer/pulls/64","id":67470618,"html_url":"https://github.com/Kinto/kinto-signer/pull/64","diff_url":"https://github.com/Kinto/kinto-signer/pull/64.diff","patch_url":"https://github.com/Kinto/kinto-signer/pull/64.patch","issue_url":"https://api.github.com/repos/Kinto/kinto-signer/issues/64","number":64,"state":"open","locked":false,"title":"Smoke script","user":{"login":"tarekziade","id":250019,"avatar_url":"https://avatars.githubusercontent.com/u/250019?v=3","gravatar_id":"","url":"https://api.github.com/users/tarekziade","html_url":"https://github.com/tarekziade","followers_url":"https://api.github.com/users/tarekziade/followers","following_url":"https://api.github.com/users/tarekziade/following{/other_user}","gists_url":"https://api.github.com/users/tarekziade/gists{/gist_id}","starred_url":"https://api.github.com/users/tarekziade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarekziade/subscriptions","organizations_url":"https://api.github.com/users/tarekziade/orgs","repos_url":"https://api.github.com/users/tarekziade/repos","events_url":"https://api.github.com/users/tarekziade/events{/privacy}","received_events_url":"https://api.github.com/users/tarekziade/received_events","type":"User","site_admin":false},"body":"Added a smoke script to verify that the signing is working","created_at":"2016-04-22T07:36:31Z","updated_at":"2016-04-22T08:13:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"389ec65b2200518c9998186b44f8bb956c212f89","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kinto/kinto-signer/pulls/64/commits","review_comments_url":"https://api.github.com/repos/Kinto/kinto-signer/pulls/64/comments","review_comment_url":"https://api.github.com/repos/Kinto/kinto-signer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kinto/kinto-signer/issues/64/comments","statuses_url":"https://api.github.com/repos/Kinto/kinto-signer/statuses/9580c0e77c8e6f098a8616dcc336d9f5486ba61b","head":{"label":"Kinto:smoke-script","ref":"smoke-script","sha":"9580c0e77c8e6f098a8616dcc336d9f5486ba61b","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":42935019,"name":"kinto-signer","full_name":"Kinto/kinto-signer","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto-signer","description":"Update a signed kinto instance with new records","fork":false,"url":"https://api.github.com/repos/Kinto/kinto-signer","forks_url":"https://api.github.com/repos/Kinto/kinto-signer/forks","keys_url":"https://api.github.com/repos/Kinto/kinto-signer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto-signer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto-signer/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto-signer/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto-signer/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto-signer/events","assignees_url":"https://api.github.com/repos/Kinto/kinto-signer/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto-signer/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto-signer/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto-signer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto-signer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto-signer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto-signer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto-signer/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto-signer/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto-signer/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto-signer/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto-signer/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto-signer/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto-signer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto-signer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto-signer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto-signer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto-signer/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto-signer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto-signer/merges","archive_url":"https://api.github.com/repos/Kinto/kinto-signer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto-signer/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto-signer/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto-signer/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto-signer/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto-signer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto-signer/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto-signer/releases{/id}","deployments_url":"https://api.github.com/repos/Kinto/kinto-signer/deployments","created_at":"2015-09-22T13:21:26Z","updated_at":"2016-04-15T13:49:53Z","pushed_at":"2016-04-22T07:46:30Z","git_url":"git://github.com/Kinto/kinto-signer.git","ssh_url":"git@github.com:Kinto/kinto-signer.git","clone_url":"https://github.com/Kinto/kinto-signer.git","svn_url":"https://github.com/Kinto/kinto-signer","homepage":"","size":192,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"Kinto:master","ref":"master","sha":"5bda004ee672a44f34c4098d4afd69a038e1b063","user":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"repo":{"id":42935019,"name":"kinto-signer","full_name":"Kinto/kinto-signer","owner":{"login":"Kinto","id":13413813,"avatar_url":"https://avatars.githubusercontent.com/u/13413813?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinto","html_url":"https://github.com/Kinto","followers_url":"https://api.github.com/users/Kinto/followers","following_url":"https://api.github.com/users/Kinto/following{/other_user}","gists_url":"https://api.github.com/users/Kinto/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinto/subscriptions","organizations_url":"https://api.github.com/users/Kinto/orgs","repos_url":"https://api.github.com/users/Kinto/repos","events_url":"https://api.github.com/users/Kinto/events{/privacy}","received_events_url":"https://api.github.com/users/Kinto/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kinto/kinto-signer","description":"Update a signed kinto instance with new records","fork":false,"url":"https://api.github.com/repos/Kinto/kinto-signer","forks_url":"https://api.github.com/repos/Kinto/kinto-signer/forks","keys_url":"https://api.github.com/repos/Kinto/kinto-signer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinto/kinto-signer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinto/kinto-signer/teams","hooks_url":"https://api.github.com/repos/Kinto/kinto-signer/hooks","issue_events_url":"https://api.github.com/repos/Kinto/kinto-signer/issues/events{/number}","events_url":"https://api.github.com/repos/Kinto/kinto-signer/events","assignees_url":"https://api.github.com/repos/Kinto/kinto-signer/assignees{/user}","branches_url":"https://api.github.com/repos/Kinto/kinto-signer/branches{/branch}","tags_url":"https://api.github.com/repos/Kinto/kinto-signer/tags","blobs_url":"https://api.github.com/repos/Kinto/kinto-signer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinto/kinto-signer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinto/kinto-signer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinto/kinto-signer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinto/kinto-signer/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinto/kinto-signer/languages","stargazers_url":"https://api.github.com/repos/Kinto/kinto-signer/stargazers","contributors_url":"https://api.github.com/repos/Kinto/kinto-signer/contributors","subscribers_url":"https://api.github.com/repos/Kinto/kinto-signer/subscribers","subscription_url":"https://api.github.com/repos/Kinto/kinto-signer/subscription","commits_url":"https://api.github.com/repos/Kinto/kinto-signer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinto/kinto-signer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinto/kinto-signer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinto/kinto-signer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinto/kinto-signer/contents/{+path}","compare_url":"https://api.github.com/repos/Kinto/kinto-signer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinto/kinto-signer/merges","archive_url":"https://api.github.com/repos/Kinto/kinto-signer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinto/kinto-signer/downloads","issues_url":"https://api.github.com/repos/Kinto/kinto-signer/issues{/number}","pulls_url":"https://api.github.com/repos/Kinto/kinto-signer/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinto/kinto-signer/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinto/kinto-signer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinto/kinto-signer/labels{/name}","releases_url":"https://api.github.com/repos/Kinto/kinto-signer/releases{/id}","deployments_url":"https://api.github.com/repos/Kinto/kinto-signer/deployments","created_at":"2015-09-22T13:21:26Z","updated_at":"2016-04-15T13:49:53Z","pushed_at":"2016-04-22T07:46:30Z","git_url":"git://github.com/Kinto/kinto-signer.git","ssh_url":"git@github.com:Kinto/kinto-signer.git","clone_url":"https://github.com/Kinto/kinto-signer.git","svn_url":"https://github.com/Kinto/kinto-signer","homepage":"","size":192,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":11,"forks":2,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kinto/kinto-signer/pulls/64"},"html":{"href":"https://github.com/Kinto/kinto-signer/pull/64"},"issue":{"href":"https://api.github.com/repos/Kinto/kinto-signer/issues/64"},"comments":{"href":"https://api.github.com/repos/Kinto/kinto-signer/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/Kinto/kinto-signer/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/Kinto/kinto-signer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kinto/kinto-signer/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/Kinto/kinto-signer/statuses/9580c0e77c8e6f098a8616dcc336d9f5486ba61b"}}}}