{"action":"opened","number":788,"pull_request":{"url":"https://api.github.com/repos/lib/pq/pulls/788","id":214087121,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MDg3MTIx","html_url":"https://github.com/lib/pq/pull/788","diff_url":"https://github.com/lib/pq/pull/788.diff","patch_url":"https://github.com/lib/pq/pull/788.patch","issue_url":"https://api.github.com/repos/lib/pq/issues/788","number":788,"state":"open","locked":false,"title":"Support for SCRAM-SHA-256 authentication","user":{"login":"mdevan","id":15809,"node_id":"MDQ6VXNlcjE1ODA5","avatar_url":"https://avatars3.githubusercontent.com/u/15809?v=4","gravatar_id":"","url":"https://api.github.com/users/mdevan","html_url":"https://github.com/mdevan","followers_url":"https://api.github.com/users/mdevan/followers","following_url":"https://api.github.com/users/mdevan/following{/other_user}","gists_url":"https://api.github.com/users/mdevan/gists{/gist_id}","starred_url":"https://api.github.com/users/mdevan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdevan/subscriptions","organizations_url":"https://api.github.com/users/mdevan/orgs","repos_url":"https://api.github.com/users/mdevan/repos","events_url":"https://api.github.com/users/mdevan/events{/privacy}","received_events_url":"https://api.github.com/users/mdevan/received_events","type":"User","site_admin":false},"body":"This pull request add support for SCRAM authentication.\r\n\r\nThe code in scram.go is an implementation of RFC 5802 and similar to the canonical C implementation at https://github.com/postgres/postgres/blob/master/src/interfaces/libpq/fe-auth-scram.c.\r\n\r\nThe test code in scram_test.go tests users with md5 and scram verifiers against md5 and scram matches in pg_hba.conf. To test locally, first update your local pg_hba.conf with the changes in .travis.sh.\r\n","created_at":"2018-09-08T09:39:09Z","updated_at":"2018-09-08T09:39:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lib/pq/pulls/788/commits","review_comments_url":"https://api.github.com/repos/lib/pq/pulls/788/comments","review_comment_url":"https://api.github.com/repos/lib/pq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lib/pq/issues/788/comments","statuses_url":"https://api.github.com/repos/lib/pq/statuses/7ae029370173e7811b2e2ee9a82283a112e79fc3","head":{"label":"rapidloop:scram","ref":"scram","sha":"7ae029370173e7811b2e2ee9a82283a112e79fc3","user":{"login":"rapidloop","id":12296658,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMjk2NjU4","avatar_url":"https://avatars3.githubusercontent.com/u/12296658?v=4","gravatar_id":"","url":"https://api.github.com/users/rapidloop","html_url":"https://github.com/rapidloop","followers_url":"https://api.github.com/users/rapidloop/followers","following_url":"https://api.github.com/users/rapidloop/following{/other_user}","gists_url":"https://api.github.com/users/rapidloop/gists{/gist_id}","starred_url":"https://api.github.com/users/rapidloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapidloop/subscriptions","organizations_url":"https://api.github.com/users/rapidloop/orgs","repos_url":"https://api.github.com/users/rapidloop/repos","events_url":"https://api.github.com/users/rapidloop/events{/privacy}","received_events_url":"https://api.github.com/users/rapidloop/received_events","type":"Organization","site_admin":false},"repo":{"id":147919286,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc5MTkyODY=","name":"pq","full_name":"rapidloop/pq","owner":{"login":"rapidloop","id":12296658,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyMjk2NjU4","avatar_url":"https://avatars3.githubusercontent.com/u/12296658?v=4","gravatar_id":"","url":"https://api.github.com/users/rapidloop","html_url":"https://github.com/rapidloop","followers_url":"https://api.github.com/users/rapidloop/followers","following_url":"https://api.github.com/users/rapidloop/following{/other_user}","gists_url":"https://api.github.com/users/rapidloop/gists{/gist_id}","starred_url":"https://api.github.com/users/rapidloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapidloop/subscriptions","organizations_url":"https://api.github.com/users/rapidloop/orgs","repos_url":"https://api.github.com/users/rapidloop/repos","events_url":"https://api.github.com/users/rapidloop/events{/privacy}","received_events_url":"https://api.github.com/users/rapidloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapidloop/pq","description":"Pure Go Postgres driver for database/sql","fork":true,"url":"https://api.github.com/repos/rapidloop/pq","forks_url":"https://api.github.com/repos/rapidloop/pq/forks","keys_url":"https://api.github.com/repos/rapidloop/pq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapidloop/pq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapidloop/pq/teams","hooks_url":"https://api.github.com/repos/rapidloop/pq/hooks","issue_events_url":"https://api.github.com/repos/rapidloop/pq/issues/events{/number}","events_url":"https://api.github.com/repos/rapidloop/pq/events","assignees_url":"https://api.github.com/repos/rapidloop/pq/assignees{/user}","branches_url":"https://api.github.com/repos/rapidloop/pq/branches{/branch}","tags_url":"https://api.github.com/repos/rapidloop/pq/tags","blobs_url":"https://api.github.com/repos/rapidloop/pq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapidloop/pq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapidloop/pq/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapidloop/pq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapidloop/pq/statuses/{sha}","languages_url":"https://api.github.com/repos/rapidloop/pq/languages","stargazers_url":"https://api.github.com/repos/rapidloop/pq/stargazers","contributors_url":"https://api.github.com/repos/rapidloop/pq/contributors","subscribers_url":"https://api.github.com/repos/rapidloop/pq/subscribers","subscription_url":"https://api.github.com/repos/rapidloop/pq/subscription","commits_url":"https://api.github.com/repos/rapidloop/pq/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapidloop/pq/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapidloop/pq/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapidloop/pq/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapidloop/pq/contents/{+path}","compare_url":"https://api.github.com/repos/rapidloop/pq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapidloop/pq/merges","archive_url":"https://api.github.com/repos/rapidloop/pq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapidloop/pq/downloads","issues_url":"https://api.github.com/repos/rapidloop/pq/issues{/number}","pulls_url":"https://api.github.com/repos/rapidloop/pq/pulls{/number}","milestones_url":"https://api.github.com/repos/rapidloop/pq/milestones{/number}","notifications_url":"https://api.github.com/repos/rapidloop/pq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapidloop/pq/labels{/name}","releases_url":"https://api.github.com/repos/rapidloop/pq/releases{/id}","deployments_url":"https://api.github.com/repos/rapidloop/pq/deployments","created_at":"2018-09-08T09:19:57Z","updated_at":"2018-09-08T09:19:59Z","pushed_at":"2018-09-08T09:27:28Z","git_url":"git://github.com/rapidloop/pq.git","ssh_url":"git@github.com:rapidloop/pq.git","clone_url":"https://github.com/rapidloop/pq.git","svn_url":"https://github.com/rapidloop/pq","homepage":"http://godoc.org/github.com/lib/pq","size":815,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lib:master","ref":"master","sha":"4ded0e9383f75c197b3a2aaa6d590ac52df6fd79","user":{"login":"lib","id":3791026,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTEwMjY=","avatar_url":"https://avatars1.githubusercontent.com/u/3791026?v=4","gravatar_id":"","url":"https://api.github.com/users/lib","html_url":"https://github.com/lib","followers_url":"https://api.github.com/users/lib/followers","following_url":"https://api.github.com/users/lib/following{/other_user}","gists_url":"https://api.github.com/users/lib/gists{/gist_id}","starred_url":"https://api.github.com/users/lib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lib/subscriptions","organizations_url":"https://api.github.com/users/lib/orgs","repos_url":"https://api.github.com/users/lib/repos","events_url":"https://api.github.com/users/lib/events{/privacy}","received_events_url":"https://api.github.com/users/lib/received_events","type":"Organization","site_admin":false},"repo":{"id":3698588,"node_id":"MDEwOlJlcG9zaXRvcnkzNjk4NTg4","name":"pq","full_name":"lib/pq","owner":{"login":"lib","id":3791026,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3OTEwMjY=","avatar_url":"https://avatars1.githubusercontent.com/u/3791026?v=4","gravatar_id":"","url":"https://api.github.com/users/lib","html_url":"https://github.com/lib","followers_url":"https://api.github.com/users/lib/followers","following_url":"https://api.github.com/users/lib/following{/other_user}","gists_url":"https://api.github.com/users/lib/gists{/gist_id}","starred_url":"https://api.github.com/users/lib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lib/subscriptions","organizations_url":"https://api.github.com/users/lib/orgs","repos_url":"https://api.github.com/users/lib/repos","events_url":"https://api.github.com/users/lib/events{/privacy}","received_events_url":"https://api.github.com/users/lib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lib/pq","description":"Pure Go Postgres driver for database/sql","fork":false,"url":"https://api.github.com/repos/lib/pq","forks_url":"https://api.github.com/repos/lib/pq/forks","keys_url":"https://api.github.com/repos/lib/pq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lib/pq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lib/pq/teams","hooks_url":"https://api.github.com/repos/lib/pq/hooks","issue_events_url":"https://api.github.com/repos/lib/pq/issues/events{/number}","events_url":"https://api.github.com/repos/lib/pq/events","assignees_url":"https://api.github.com/repos/lib/pq/assignees{/user}","branches_url":"https://api.github.com/repos/lib/pq/branches{/branch}","tags_url":"https://api.github.com/repos/lib/pq/tags","blobs_url":"https://api.github.com/repos/lib/pq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lib/pq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lib/pq/git/refs{/sha}","trees_url":"https://api.github.com/repos/lib/pq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lib/pq/statuses/{sha}","languages_url":"https://api.github.com/repos/lib/pq/languages","stargazers_url":"https://api.github.com/repos/lib/pq/stargazers","contributors_url":"https://api.github.com/repos/lib/pq/contributors","subscribers_url":"https://api.github.com/repos/lib/pq/subscribers","subscription_url":"https://api.github.com/repos/lib/pq/subscription","commits_url":"https://api.github.com/repos/lib/pq/commits{/sha}","git_commits_url":"https://api.github.com/repos/lib/pq/git/commits{/sha}","comments_url":"https://api.github.com/repos/lib/pq/comments{/number}","issue_comment_url":"https://api.github.com/repos/lib/pq/issues/comments{/number}","contents_url":"https://api.github.com/repos/lib/pq/contents/{+path}","compare_url":"https://api.github.com/repos/lib/pq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lib/pq/merges","archive_url":"https://api.github.com/repos/lib/pq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lib/pq/downloads","issues_url":"https://api.github.com/repos/lib/pq/issues{/number}","pulls_url":"https://api.github.com/repos/lib/pq/pulls{/number}","milestones_url":"https://api.github.com/repos/lib/pq/milestones{/number}","notifications_url":"https://api.github.com/repos/lib/pq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lib/pq/labels{/name}","releases_url":"https://api.github.com/repos/lib/pq/releases{/id}","deployments_url":"https://api.github.com/repos/lib/pq/deployments","created_at":"2012-03-12T18:50:22Z","updated_at":"2018-09-07T05:47:10Z","pushed_at":"2018-09-05T18:47:12Z","git_url":"git://github.com/lib/pq.git","ssh_url":"git@github.com:lib/pq.git","clone_url":"https://github.com/lib/pq.git","svn_url":"https://github.com/lib/pq","homepage":"http://godoc.org/github.com/lib/pq","size":815,"stargazers_count":4161,"watchers_count":4161,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":560,"mirror_url":null,"archived":false,"open_issues_count":187,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":560,"open_issues":187,"watchers":4161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lib/pq/pulls/788"},"html":{"href":"https://github.com/lib/pq/pull/788"},"issue":{"href":"https://api.github.com/repos/lib/pq/issues/788"},"comments":{"href":"https://api.github.com/repos/lib/pq/issues/788/comments"},"review_comments":{"href":"https://api.github.com/repos/lib/pq/pulls/788/comments"},"review_comment":{"href":"https://api.github.com/repos/lib/pq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lib/pq/pulls/788/commits"},"statuses":{"href":"https://api.github.com/repos/lib/pq/statuses/7ae029370173e7811b2e2ee9a82283a112e79fc3"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":317,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"mdevan"}}