{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/scitran/scitran/pulls/40","id":40250387,"html_url":"https://github.com/scitran/scitran/pull/40","diff_url":"https://github.com/scitran/scitran/pull/40.diff","patch_url":"https://github.com/scitran/scitran/pull/40.patch","issue_url":"https://api.github.com/repos/scitran/scitran/issues/40","number":40,"state":"open","locked":false,"title":"Auth changes","user":{"login":"kofalt","id":265071,"avatar_url":"https://avatars.githubusercontent.com/u/265071?v=3","gravatar_id":"","url":"https://api.github.com/users/kofalt","html_url":"https://github.com/kofalt","followers_url":"https://api.github.com/users/kofalt/followers","following_url":"https://api.github.com/users/kofalt/following{/other_user}","gists_url":"https://api.github.com/users/kofalt/gists{/gist_id}","starred_url":"https://api.github.com/users/kofalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kofalt/subscriptions","organizations_url":"https://api.github.com/users/kofalt/orgs","repos_url":"https://api.github.com/users/kofalt/repos","events_url":"https://api.github.com/users/kofalt/events{/privacy}","received_events_url":"https://api.github.com/users/kofalt/received_events","type":"User","site_admin":false},"body":"From our notes regarding placeholder device authentication:\r\n\r\n* Eliminating the drone port, rootCA keys, and drone keys.\r\n* Automated authorization will be via a single shared secret stored in config.toml.\r\n* Automated calls must set their user agent header to 'SciTran Drone NAME', where NAME can be anything (possibly ‘reaper’ or ‘engine’).\r\n* Automated calls must send the shared secret in the X-SciTran-Auth header.\r\n* Drone listing in the database will be completely ignored and have no effect.\r\n* All drones will operate at the same permission level and have the same capabilities.\r\n\r\nI believe this to be everything necessary on the infrastructure side to prepare for this feature.","created_at":"2015-07-17T16:54:02Z","updated_at":"2015-07-17T16:54:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d0a3dff1f23004efd56dd4b4d4021fbe3e6e1d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scitran/scitran/pulls/40/commits","review_comments_url":"https://api.github.com/repos/scitran/scitran/pulls/40/comments","review_comment_url":"https://api.github.com/repos/scitran/scitran/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scitran/scitran/issues/40/comments","statuses_url":"https://api.github.com/repos/scitran/scitran/statuses/e5ae50300c28cc854eee73ecd81be9e1f66125aa","head":{"label":"scitran:auth-changes","ref":"auth-changes","sha":"e5ae50300c28cc854eee73ecd81be9e1f66125aa","user":{"login":"scitran","id":7379762,"avatar_url":"https://avatars.githubusercontent.com/u/7379762?v=3","gravatar_id":"","url":"https://api.github.com/users/scitran","html_url":"https://github.com/scitran","followers_url":"https://api.github.com/users/scitran/followers","following_url":"https://api.github.com/users/scitran/following{/other_user}","gists_url":"https://api.github.com/users/scitran/gists{/gist_id}","starred_url":"https://api.github.com/users/scitran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scitran/subscriptions","organizations_url":"https://api.github.com/users/scitran/orgs","repos_url":"https://api.github.com/users/scitran/repos","events_url":"https://api.github.com/users/scitran/events{/privacy}","received_events_url":"https://api.github.com/users/scitran/received_events","type":"Organization","site_admin":false},"repo":{"id":29560346,"name":"scitran","full_name":"scitran/scitran","owner":{"login":"scitran","id":7379762,"avatar_url":"https://avatars.githubusercontent.com/u/7379762?v=3","gravatar_id":"","url":"https://api.github.com/users/scitran","html_url":"https://github.com/scitran","followers_url":"https://api.github.com/users/scitran/followers","following_url":"https://api.github.com/users/scitran/following{/other_user}","gists_url":"https://api.github.com/users/scitran/gists{/gist_id}","starred_url":"https://api.github.com/users/scitran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scitran/subscriptions","organizations_url":"https://api.github.com/users/scitran/orgs","repos_url":"https://api.github.com/users/scitran/repos","events_url":"https://api.github.com/users/scitran/events{/privacy}","received_events_url":"https://api.github.com/users/scitran/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scitran/scitran","description":"Scientific Transparency","fork":false,"url":"https://api.github.com/repos/scitran/scitran","forks_url":"https://api.github.com/repos/scitran/scitran/forks","keys_url":"https://api.github.com/repos/scitran/scitran/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scitran/scitran/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scitran/scitran/teams","hooks_url":"https://api.github.com/repos/scitran/scitran/hooks","issue_events_url":"https://api.github.com/repos/scitran/scitran/issues/events{/number}","events_url":"https://api.github.com/repos/scitran/scitran/events","assignees_url":"https://api.github.com/repos/scitran/scitran/assignees{/user}","branches_url":"https://api.github.com/repos/scitran/scitran/branches{/branch}","tags_url":"https://api.github.com/repos/scitran/scitran/tags","blobs_url":"https://api.github.com/repos/scitran/scitran/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scitran/scitran/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scitran/scitran/git/refs{/sha}","trees_url":"https://api.github.com/repos/scitran/scitran/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scitran/scitran/statuses/{sha}","languages_url":"https://api.github.com/repos/scitran/scitran/languages","stargazers_url":"https://api.github.com/repos/scitran/scitran/stargazers","contributors_url":"https://api.github.com/repos/scitran/scitran/contributors","subscribers_url":"https://api.github.com/repos/scitran/scitran/subscribers","subscription_url":"https://api.github.com/repos/scitran/scitran/subscription","commits_url":"https://api.github.com/repos/scitran/scitran/commits{/sha}","git_commits_url":"https://api.github.com/repos/scitran/scitran/git/commits{/sha}","comments_url":"https://api.github.com/repos/scitran/scitran/comments{/number}","issue_comment_url":"https://api.github.com/repos/scitran/scitran/issues/comments{/number}","contents_url":"https://api.github.com/repos/scitran/scitran/contents/{+path}","compare_url":"https://api.github.com/repos/scitran/scitran/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scitran/scitran/merges","archive_url":"https://api.github.com/repos/scitran/scitran/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scitran/scitran/downloads","issues_url":"https://api.github.com/repos/scitran/scitran/issues{/number}","pulls_url":"https://api.github.com/repos/scitran/scitran/pulls{/number}","milestones_url":"https://api.github.com/repos/scitran/scitran/milestones{/number}","notifications_url":"https://api.github.com/repos/scitran/scitran/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scitran/scitran/labels{/name}","releases_url":"https://api.github.com/repos/scitran/scitran/releases{/id}","created_at":"2015-01-20T23:16:24Z","updated_at":"2015-07-07T16:52:05Z","pushed_at":"2015-07-17T16:54:02Z","git_url":"git://github.com/scitran/scitran.git","ssh_url":"git@github.com:scitran/scitran.git","clone_url":"https://github.com/scitran/scitran.git","svn_url":"https://github.com/scitran/scitran","homepage":"https://scitran.github.io","size":10145,"stargazers_count":9,"watchers_count":9,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":10,"forks":3,"open_issues":10,"watchers":9,"default_branch":"master"}},"base":{"label":"scitran:master","ref":"master","sha":"572bace13dd40ca226faec0f3b85471ec377bc99","user":{"login":"scitran","id":7379762,"avatar_url":"https://avatars.githubusercontent.com/u/7379762?v=3","gravatar_id":"","url":"https://api.github.com/users/scitran","html_url":"https://github.com/scitran","followers_url":"https://api.github.com/users/scitran/followers","following_url":"https://api.github.com/users/scitran/following{/other_user}","gists_url":"https://api.github.com/users/scitran/gists{/gist_id}","starred_url":"https://api.github.com/users/scitran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scitran/subscriptions","organizations_url":"https://api.github.com/users/scitran/orgs","repos_url":"https://api.github.com/users/scitran/repos","events_url":"https://api.github.com/users/scitran/events{/privacy}","received_events_url":"https://api.github.com/users/scitran/received_events","type":"Organization","site_admin":false},"repo":{"id":29560346,"name":"scitran","full_name":"scitran/scitran","owner":{"login":"scitran","id":7379762,"avatar_url":"https://avatars.githubusercontent.com/u/7379762?v=3","gravatar_id":"","url":"https://api.github.com/users/scitran","html_url":"https://github.com/scitran","followers_url":"https://api.github.com/users/scitran/followers","following_url":"https://api.github.com/users/scitran/following{/other_user}","gists_url":"https://api.github.com/users/scitran/gists{/gist_id}","starred_url":"https://api.github.com/users/scitran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scitran/subscriptions","organizations_url":"https://api.github.com/users/scitran/orgs","repos_url":"https://api.github.com/users/scitran/repos","events_url":"https://api.github.com/users/scitran/events{/privacy}","received_events_url":"https://api.github.com/users/scitran/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scitran/scitran","description":"Scientific Transparency","fork":false,"url":"https://api.github.com/repos/scitran/scitran","forks_url":"https://api.github.com/repos/scitran/scitran/forks","keys_url":"https://api.github.com/repos/scitran/scitran/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scitran/scitran/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scitran/scitran/teams","hooks_url":"https://api.github.com/repos/scitran/scitran/hooks","issue_events_url":"https://api.github.com/repos/scitran/scitran/issues/events{/number}","events_url":"https://api.github.com/repos/scitran/scitran/events","assignees_url":"https://api.github.com/repos/scitran/scitran/assignees{/user}","branches_url":"https://api.github.com/repos/scitran/scitran/branches{/branch}","tags_url":"https://api.github.com/repos/scitran/scitran/tags","blobs_url":"https://api.github.com/repos/scitran/scitran/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scitran/scitran/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scitran/scitran/git/refs{/sha}","trees_url":"https://api.github.com/repos/scitran/scitran/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scitran/scitran/statuses/{sha}","languages_url":"https://api.github.com/repos/scitran/scitran/languages","stargazers_url":"https://api.github.com/repos/scitran/scitran/stargazers","contributors_url":"https://api.github.com/repos/scitran/scitran/contributors","subscribers_url":"https://api.github.com/repos/scitran/scitran/subscribers","subscription_url":"https://api.github.com/repos/scitran/scitran/subscription","commits_url":"https://api.github.com/repos/scitran/scitran/commits{/sha}","git_commits_url":"https://api.github.com/repos/scitran/scitran/git/commits{/sha}","comments_url":"https://api.github.com/repos/scitran/scitran/comments{/number}","issue_comment_url":"https://api.github.com/repos/scitran/scitran/issues/comments{/number}","contents_url":"https://api.github.com/repos/scitran/scitran/contents/{+path}","compare_url":"https://api.github.com/repos/scitran/scitran/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scitran/scitran/merges","archive_url":"https://api.github.com/repos/scitran/scitran/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scitran/scitran/downloads","issues_url":"https://api.github.com/repos/scitran/scitran/issues{/number}","pulls_url":"https://api.github.com/repos/scitran/scitran/pulls{/number}","milestones_url":"https://api.github.com/repos/scitran/scitran/milestones{/number}","notifications_url":"https://api.github.com/repos/scitran/scitran/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scitran/scitran/labels{/name}","releases_url":"https://api.github.com/repos/scitran/scitran/releases{/id}","created_at":"2015-01-20T23:16:24Z","updated_at":"2015-07-07T16:52:05Z","pushed_at":"2015-07-17T16:54:02Z","git_url":"git://github.com/scitran/scitran.git","ssh_url":"git@github.com:scitran/scitran.git","clone_url":"https://github.com/scitran/scitran.git","svn_url":"https://github.com/scitran/scitran","homepage":"https://scitran.github.io","size":10145,"stargazers_count":9,"watchers_count":9,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":10,"forks":3,"open_issues":10,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scitran/scitran/pulls/40"},"html":{"href":"https://github.com/scitran/scitran/pull/40"},"issue":{"href":"https://api.github.com/repos/scitran/scitran/issues/40"},"comments":{"href":"https://api.github.com/repos/scitran/scitran/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/scitran/scitran/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/scitran/scitran/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scitran/scitran/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/scitran/scitran/statuses/e5ae50300c28cc854eee73ecd81be9e1f66125aa"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":51,"deletions":86,"changed_files":6}}