{"action":"opened","number":24261,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/24261","id":229521943,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NTIxOTQz","html_url":"https://github.com/nodejs/node/pull/24261","diff_url":"https://github.com/nodejs/node/pull/24261.diff","patch_url":"https://github.com/nodejs/node/pull/24261.patch","issue_url":"https://api.github.com/repos/nodejs/node/issues/24261","number":24261,"state":"open","locked":false,"title":"tls: get the local certificate after tls handshake","user":{"login":"sam-github","id":17607,"node_id":"MDQ6VXNlcjE3NjA3","avatar_url":"https://avatars2.githubusercontent.com/u/17607?v=4","gravatar_id":"","url":"https://api.github.com/users/sam-github","html_url":"https://github.com/sam-github","followers_url":"https://api.github.com/users/sam-github/followers","following_url":"https://api.github.com/users/sam-github/following{/other_user}","gists_url":"https://api.github.com/users/sam-github/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-github/subscriptions","organizations_url":"https://api.github.com/users/sam-github/orgs","repos_url":"https://api.github.com/users/sam-github/repos","events_url":"https://api.github.com/users/sam-github/events{/privacy}","received_events_url":"https://api.github.com/users/sam-github/received_events","type":"User","site_admin":false},"body":"Add an API to get the local certificate chosen during TLS handshake from\r\nthe SSL context.\r\n\r\nFix: https://github.com/nodejs/node/issues/24095\r\n\r\n<!--\r\nThank you for your pull request. Please provide a description above and review\r\nthe requirements below.\r\n\r\nBug fixes and new features should include tests and possibly benchmarks.\r\n\r\nContributors guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\n##### Checklist\r\n<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->\r\n\r\n- [x] `make -j4 test` (UNIX), or `vcbuild test` (Windows) passes\r\n- [x] tests and/or benchmarks are included\r\n- [x] documentation is changed or added\r\n- [x] commit message follows [commit guidelines](https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines)\r\n","created_at":"2018-11-08T21:57:37Z","updated_at":"2018-11-08T21:57:37Z","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/nodejs/node/pulls/24261/commits","review_comments_url":"https://api.github.com/repos/nodejs/node/pulls/24261/comments","review_comment_url":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/node/issues/24261/comments","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/dad46a340d1aae7f6559559957433e36a6a8d857","head":{"label":"sam-github:tls-get-cert","ref":"tls-get-cert","sha":"dad46a340d1aae7f6559559957433e36a6a8d857","user":{"login":"sam-github","id":17607,"node_id":"MDQ6VXNlcjE3NjA3","avatar_url":"https://avatars2.githubusercontent.com/u/17607?v=4","gravatar_id":"","url":"https://api.github.com/users/sam-github","html_url":"https://github.com/sam-github","followers_url":"https://api.github.com/users/sam-github/followers","following_url":"https://api.github.com/users/sam-github/following{/other_user}","gists_url":"https://api.github.com/users/sam-github/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-github/subscriptions","organizations_url":"https://api.github.com/users/sam-github/orgs","repos_url":"https://api.github.com/users/sam-github/repos","events_url":"https://api.github.com/users/sam-github/events{/privacy}","received_events_url":"https://api.github.com/users/sam-github/received_events","type":"User","site_admin":false},"repo":{"id":28619971,"node_id":"MDEwOlJlcG9zaXRvcnkyODYxOTk3MQ==","name":"node","full_name":"sam-github/node","private":false,"owner":{"login":"sam-github","id":17607,"node_id":"MDQ6VXNlcjE3NjA3","avatar_url":"https://avatars2.githubusercontent.com/u/17607?v=4","gravatar_id":"","url":"https://api.github.com/users/sam-github","html_url":"https://github.com/sam-github","followers_url":"https://api.github.com/users/sam-github/followers","following_url":"https://api.github.com/users/sam-github/following{/other_user}","gists_url":"https://api.github.com/users/sam-github/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-github/subscriptions","organizations_url":"https://api.github.com/users/sam-github/orgs","repos_url":"https://api.github.com/users/sam-github/repos","events_url":"https://api.github.com/users/sam-github/events{/privacy}","received_events_url":"https://api.github.com/users/sam-github/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sam-github/node","description":"Evented IO for V8 JavaScript","fork":true,"url":"https://api.github.com/repos/sam-github/node","forks_url":"https://api.github.com/repos/sam-github/node/forks","keys_url":"https://api.github.com/repos/sam-github/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sam-github/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sam-github/node/teams","hooks_url":"https://api.github.com/repos/sam-github/node/hooks","issue_events_url":"https://api.github.com/repos/sam-github/node/issues/events{/number}","events_url":"https://api.github.com/repos/sam-github/node/events","assignees_url":"https://api.github.com/repos/sam-github/node/assignees{/user}","branches_url":"https://api.github.com/repos/sam-github/node/branches{/branch}","tags_url":"https://api.github.com/repos/sam-github/node/tags","blobs_url":"https://api.github.com/repos/sam-github/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sam-github/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sam-github/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/sam-github/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sam-github/node/statuses/{sha}","languages_url":"https://api.github.com/repos/sam-github/node/languages","stargazers_url":"https://api.github.com/repos/sam-github/node/stargazers","contributors_url":"https://api.github.com/repos/sam-github/node/contributors","subscribers_url":"https://api.github.com/repos/sam-github/node/subscribers","subscription_url":"https://api.github.com/repos/sam-github/node/subscription","commits_url":"https://api.github.com/repos/sam-github/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/sam-github/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/sam-github/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/sam-github/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/sam-github/node/contents/{+path}","compare_url":"https://api.github.com/repos/sam-github/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sam-github/node/merges","archive_url":"https://api.github.com/repos/sam-github/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sam-github/node/downloads","issues_url":"https://api.github.com/repos/sam-github/node/issues{/number}","pulls_url":"https://api.github.com/repos/sam-github/node/pulls{/number}","milestones_url":"https://api.github.com/repos/sam-github/node/milestones{/number}","notifications_url":"https://api.github.com/repos/sam-github/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sam-github/node/labels{/name}","releases_url":"https://api.github.com/repos/sam-github/node/releases{/id}","deployments_url":"https://api.github.com/repos/sam-github/node/deployments","created_at":"2014-12-30T06:15:39Z","updated_at":"2018-10-29T20:01:44Z","pushed_at":"2018-11-08T21:56:17Z","git_url":"git://github.com/sam-github/node.git","ssh_url":"git@github.com:sam-github/node.git","clone_url":"https://github.com/sam-github/node.git","svn_url":"https://github.com/sam-github/node","homepage":null,"size":377205,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nodejs:master","ref":"master","sha":"1f6c4ba61d70318d1422a0dac2297f519ee35045","user":{"login":"nodejs","id":9950313,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5NTAzMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/9950313?v=4","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"node_id":"MDEwOlJlcG9zaXRvcnkyNzE5Mzc3OQ==","name":"node","full_name":"nodejs/node","private":false,"owner":{"login":"nodejs","id":9950313,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5NTAzMTM=","avatar_url":"https://avatars3.githubusercontent.com/u/9950313?v=4","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nodejs/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":false,"url":"https://api.github.com/repos/nodejs/node","forks_url":"https://api.github.com/repos/nodejs/node/forks","keys_url":"https://api.github.com/repos/nodejs/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/node/teams","hooks_url":"https://api.github.com/repos/nodejs/node/hooks","issue_events_url":"https://api.github.com/repos/nodejs/node/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/node/events","assignees_url":"https://api.github.com/repos/nodejs/node/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/node/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/node/tags","blobs_url":"https://api.github.com/repos/nodejs/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/node/languages","stargazers_url":"https://api.github.com/repos/nodejs/node/stargazers","contributors_url":"https://api.github.com/repos/nodejs/node/contributors","subscribers_url":"https://api.github.com/repos/nodejs/node/subscribers","subscription_url":"https://api.github.com/repos/nodejs/node/subscription","commits_url":"https://api.github.com/repos/nodejs/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/node/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/node/merges","archive_url":"https://api.github.com/repos/nodejs/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/node/downloads","issues_url":"https://api.github.com/repos/nodejs/node/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/node/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/node/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/node/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/node/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/node/deployments","created_at":"2014-11-26T19:57:11Z","updated_at":"2018-11-08T21:29:56Z","pushed_at":"2018-11-08T21:15:42Z","git_url":"git://github.com/nodejs/node.git","ssh_url":"git@github.com:nodejs/node.git","clone_url":"https://github.com/nodejs/node.git","svn_url":"https://github.com/nodejs/node","homepage":"https://nodejs.org","size":430557,"stargazers_count":55209,"watchers_count":55209,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12079,"mirror_url":null,"archived":false,"open_issues_count":948,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":12079,"open_issues":948,"watchers":55209,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/24261"},"html":{"href":"https://github.com/nodejs/node/pull/24261"},"issue":{"href":"https://api.github.com/repos/nodejs/node/issues/24261"},"comments":{"href":"https://api.github.com/repos/nodejs/node/issues/24261/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/node/pulls/24261/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/node/pulls/24261/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/node/statuses/dad46a340d1aae7f6559559957433e36a6a8d857"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":71,"deletions":5,"changed_files":8}}
{"actor":{"display_login":"sam-github"}}