{"action":"closed","number":273,"pull_request":{"url":"https://api.github.com/repos/nahi/httpclient/pulls/273","id":49558741,"html_url":"https://github.com/nahi/httpclient/pull/273","diff_url":"https://github.com/nahi/httpclient/pull/273.diff","patch_url":"https://github.com/nahi/httpclient/pull/273.patch","issue_url":"https://api.github.com/repos/nahi/httpclient/issues/273","number":273,"state":"closed","locked":false,"title":"Update trusted CA certificates","user":{"login":"nahi","id":44209,"avatar_url":"https://avatars.githubusercontent.com/u/44209?v=3","gravatar_id":"","url":"https://api.github.com/users/nahi","html_url":"https://github.com/nahi","followers_url":"https://api.github.com/users/nahi/followers","following_url":"https://api.github.com/users/nahi/following{/other_user}","gists_url":"https://api.github.com/users/nahi/gists{/gist_id}","starred_url":"https://api.github.com/users/nahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahi/subscriptions","organizations_url":"https://api.github.com/users/nahi/orgs","repos_url":"https://api.github.com/users/nahi/repos","events_url":"https://api.github.com/users/nahi/events{/privacy}","received_events_url":"https://api.github.com/users/nahi/received_events","type":"User","site_admin":false},"body":"Issue #230 blocked updating trusted CA certificates to 2048 bit version\r\nlong time. But from OpenSSL 1.0.1m and 1.0.2a it changes their custom\r\nchain building algorithm to find shortcut path when it fails to validate\r\nthe path SSL server returns so that we can migrate trusted CA\r\ncertificates to 2048bit version atop OpenSSL.\r\n\r\nUnfortunately the new algorithm has CVE-2015-1793 problem so we can use\r\nthis new algorithm actually from OpenSSL >= 1.0.1p or >= 1.0.2d. (Jul\r\n2015)\r\n\r\nAfter this commit HTTPClient leverages 2048 bit version of trusted CA\r\ncertificates if ruby is compiled with proper version of OpenSSL.\r\n\r\n```\r\nver = OpenSSL::OPENSSL_VERSION\r\nif (ver.start_with?('OpenSSL 1.0.1') && ver >= 'OpenSSL 1.0.1p') ||\r\n    (ver.start_with?('OpenSSL ') && ver >= 'OpenSSL 1.0.2d')\r\n  filename = 'cacert.pem'\r\nelse\r\n  filename = 'cacert1024.pem'\r\nend\r\n```","created_at":"2015-11-03T14:06:43Z","updated_at":"2015-11-03T14:14:59Z","closed_at":"2015-11-03T14:14:59Z","merged_at":"2015-11-03T14:14:59Z","merge_commit_sha":"18d937ee7d9bdf63036b934c4ae48211b81127ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nahi/httpclient/pulls/273/commits","review_comments_url":"https://api.github.com/repos/nahi/httpclient/pulls/273/comments","review_comment_url":"https://api.github.com/repos/nahi/httpclient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nahi/httpclient/issues/273/comments","statuses_url":"https://api.github.com/repos/nahi/httpclient/statuses/e70ec73cbb45ade4551d0578a0a0643662069426","head":{"label":"nahi:update_cacerts_2048","ref":"update_cacerts_2048","sha":"e70ec73cbb45ade4551d0578a0a0643662069426","user":{"login":"nahi","id":44209,"avatar_url":"https://avatars.githubusercontent.com/u/44209?v=3","gravatar_id":"","url":"https://api.github.com/users/nahi","html_url":"https://github.com/nahi","followers_url":"https://api.github.com/users/nahi/followers","following_url":"https://api.github.com/users/nahi/following{/other_user}","gists_url":"https://api.github.com/users/nahi/gists{/gist_id}","starred_url":"https://api.github.com/users/nahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahi/subscriptions","organizations_url":"https://api.github.com/users/nahi/orgs","repos_url":"https://api.github.com/users/nahi/repos","events_url":"https://api.github.com/users/nahi/events{/privacy}","received_events_url":"https://api.github.com/users/nahi/received_events","type":"User","site_admin":false},"repo":{"id":354875,"name":"httpclient","full_name":"nahi/httpclient","owner":{"login":"nahi","id":44209,"avatar_url":"https://avatars.githubusercontent.com/u/44209?v=3","gravatar_id":"","url":"https://api.github.com/users/nahi","html_url":"https://github.com/nahi","followers_url":"https://api.github.com/users/nahi/followers","following_url":"https://api.github.com/users/nahi/following{/other_user}","gists_url":"https://api.github.com/users/nahi/gists{/gist_id}","starred_url":"https://api.github.com/users/nahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahi/subscriptions","organizations_url":"https://api.github.com/users/nahi/orgs","repos_url":"https://api.github.com/users/nahi/repos","events_url":"https://api.github.com/users/nahi/events{/privacy}","received_events_url":"https://api.github.com/users/nahi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nahi/httpclient","description":"'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.","fork":false,"url":"https://api.github.com/repos/nahi/httpclient","forks_url":"https://api.github.com/repos/nahi/httpclient/forks","keys_url":"https://api.github.com/repos/nahi/httpclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nahi/httpclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nahi/httpclient/teams","hooks_url":"https://api.github.com/repos/nahi/httpclient/hooks","issue_events_url":"https://api.github.com/repos/nahi/httpclient/issues/events{/number}","events_url":"https://api.github.com/repos/nahi/httpclient/events","assignees_url":"https://api.github.com/repos/nahi/httpclient/assignees{/user}","branches_url":"https://api.github.com/repos/nahi/httpclient/branches{/branch}","tags_url":"https://api.github.com/repos/nahi/httpclient/tags","blobs_url":"https://api.github.com/repos/nahi/httpclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nahi/httpclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nahi/httpclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/nahi/httpclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nahi/httpclient/statuses/{sha}","languages_url":"https://api.github.com/repos/nahi/httpclient/languages","stargazers_url":"https://api.github.com/repos/nahi/httpclient/stargazers","contributors_url":"https://api.github.com/repos/nahi/httpclient/contributors","subscribers_url":"https://api.github.com/repos/nahi/httpclient/subscribers","subscription_url":"https://api.github.com/repos/nahi/httpclient/subscription","commits_url":"https://api.github.com/repos/nahi/httpclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/nahi/httpclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/nahi/httpclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/nahi/httpclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/nahi/httpclient/contents/{+path}","compare_url":"https://api.github.com/repos/nahi/httpclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nahi/httpclient/merges","archive_url":"https://api.github.com/repos/nahi/httpclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nahi/httpclient/downloads","issues_url":"https://api.github.com/repos/nahi/httpclient/issues{/number}","pulls_url":"https://api.github.com/repos/nahi/httpclient/pulls{/number}","milestones_url":"https://api.github.com/repos/nahi/httpclient/milestones{/number}","notifications_url":"https://api.github.com/repos/nahi/httpclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nahi/httpclient/labels{/name}","releases_url":"https://api.github.com/repos/nahi/httpclient/releases{/id}","created_at":"2009-10-30T02:23:41Z","updated_at":"2015-10-28T10:50:14Z","pushed_at":"2015-11-03T14:14:59Z","git_url":"git://github.com/nahi/httpclient.git","ssh_url":"git@github.com:nahi/httpclient.git","clone_url":"https://github.com/nahi/httpclient.git","svn_url":"https://github.com/nahi/httpclient","homepage":"https://github.com/nahi/httpclient","size":3592,"stargazers_count":479,"watchers_count":479,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":150,"mirror_url":null,"open_issues_count":34,"forks":150,"open_issues":34,"watchers":479,"default_branch":"master"}},"base":{"label":"nahi:master","ref":"master","sha":"70f6565b483469e40ab2c0b5313b54dd33304f92","user":{"login":"nahi","id":44209,"avatar_url":"https://avatars.githubusercontent.com/u/44209?v=3","gravatar_id":"","url":"https://api.github.com/users/nahi","html_url":"https://github.com/nahi","followers_url":"https://api.github.com/users/nahi/followers","following_url":"https://api.github.com/users/nahi/following{/other_user}","gists_url":"https://api.github.com/users/nahi/gists{/gist_id}","starred_url":"https://api.github.com/users/nahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahi/subscriptions","organizations_url":"https://api.github.com/users/nahi/orgs","repos_url":"https://api.github.com/users/nahi/repos","events_url":"https://api.github.com/users/nahi/events{/privacy}","received_events_url":"https://api.github.com/users/nahi/received_events","type":"User","site_admin":false},"repo":{"id":354875,"name":"httpclient","full_name":"nahi/httpclient","owner":{"login":"nahi","id":44209,"avatar_url":"https://avatars.githubusercontent.com/u/44209?v=3","gravatar_id":"","url":"https://api.github.com/users/nahi","html_url":"https://github.com/nahi","followers_url":"https://api.github.com/users/nahi/followers","following_url":"https://api.github.com/users/nahi/following{/other_user}","gists_url":"https://api.github.com/users/nahi/gists{/gist_id}","starred_url":"https://api.github.com/users/nahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahi/subscriptions","organizations_url":"https://api.github.com/users/nahi/orgs","repos_url":"https://api.github.com/users/nahi/repos","events_url":"https://api.github.com/users/nahi/events{/privacy}","received_events_url":"https://api.github.com/users/nahi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nahi/httpclient","description":"'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.","fork":false,"url":"https://api.github.com/repos/nahi/httpclient","forks_url":"https://api.github.com/repos/nahi/httpclient/forks","keys_url":"https://api.github.com/repos/nahi/httpclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nahi/httpclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nahi/httpclient/teams","hooks_url":"https://api.github.com/repos/nahi/httpclient/hooks","issue_events_url":"https://api.github.com/repos/nahi/httpclient/issues/events{/number}","events_url":"https://api.github.com/repos/nahi/httpclient/events","assignees_url":"https://api.github.com/repos/nahi/httpclient/assignees{/user}","branches_url":"https://api.github.com/repos/nahi/httpclient/branches{/branch}","tags_url":"https://api.github.com/repos/nahi/httpclient/tags","blobs_url":"https://api.github.com/repos/nahi/httpclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nahi/httpclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nahi/httpclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/nahi/httpclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nahi/httpclient/statuses/{sha}","languages_url":"https://api.github.com/repos/nahi/httpclient/languages","stargazers_url":"https://api.github.com/repos/nahi/httpclient/stargazers","contributors_url":"https://api.github.com/repos/nahi/httpclient/contributors","subscribers_url":"https://api.github.com/repos/nahi/httpclient/subscribers","subscription_url":"https://api.github.com/repos/nahi/httpclient/subscription","commits_url":"https://api.github.com/repos/nahi/httpclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/nahi/httpclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/nahi/httpclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/nahi/httpclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/nahi/httpclient/contents/{+path}","compare_url":"https://api.github.com/repos/nahi/httpclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nahi/httpclient/merges","archive_url":"https://api.github.com/repos/nahi/httpclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nahi/httpclient/downloads","issues_url":"https://api.github.com/repos/nahi/httpclient/issues{/number}","pulls_url":"https://api.github.com/repos/nahi/httpclient/pulls{/number}","milestones_url":"https://api.github.com/repos/nahi/httpclient/milestones{/number}","notifications_url":"https://api.github.com/repos/nahi/httpclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nahi/httpclient/labels{/name}","releases_url":"https://api.github.com/repos/nahi/httpclient/releases{/id}","created_at":"2009-10-30T02:23:41Z","updated_at":"2015-10-28T10:50:14Z","pushed_at":"2015-11-03T14:14:59Z","git_url":"git://github.com/nahi/httpclient.git","ssh_url":"git@github.com:nahi/httpclient.git","clone_url":"https://github.com/nahi/httpclient.git","svn_url":"https://github.com/nahi/httpclient","homepage":"https://github.com/nahi/httpclient","size":3592,"stargazers_count":479,"watchers_count":479,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":150,"mirror_url":null,"open_issues_count":34,"forks":150,"open_issues":34,"watchers":479,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nahi/httpclient/pulls/273"},"html":{"href":"https://github.com/nahi/httpclient/pull/273"},"issue":{"href":"https://api.github.com/repos/nahi/httpclient/issues/273"},"comments":{"href":"https://api.github.com/repos/nahi/httpclient/issues/273/comments"},"review_comments":{"href":"https://api.github.com/repos/nahi/httpclient/pulls/273/comments"},"review_comment":{"href":"https://api.github.com/repos/nahi/httpclient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nahi/httpclient/pulls/273/commits"},"statuses":{"href":"https://api.github.com/repos/nahi/httpclient/statuses/e70ec73cbb45ade4551d0578a0a0643662069426"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nahi","id":44209,"avatar_url":"https://avatars.githubusercontent.com/u/44209?v=3","gravatar_id":"","url":"https://api.github.com/users/nahi","html_url":"https://github.com/nahi","followers_url":"https://api.github.com/users/nahi/followers","following_url":"https://api.github.com/users/nahi/following{/other_user}","gists_url":"https://api.github.com/users/nahi/gists{/gist_id}","starred_url":"https://api.github.com/users/nahi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahi/subscriptions","organizations_url":"https://api.github.com/users/nahi/orgs","repos_url":"https://api.github.com/users/nahi/repos","events_url":"https://api.github.com/users/nahi/events{/privacy}","received_events_url":"https://api.github.com/users/nahi/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":3966,"deletions":7,"changed_files":3}}