{"action":"created","issue":{"url":"https://api.github.com/repos/python/cpython/issues/10031","repository_url":"https://api.github.com/repos/python/cpython","labels_url":"https://api.github.com/repos/python/cpython/issues/10031/labels{/name}","comments_url":"https://api.github.com/repos/python/cpython/issues/10031/comments","events_url":"https://api.github.com/repos/python/cpython/issues/10031/events","html_url":"https://github.com/python/cpython/pull/10031","id":372327849,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NTQ5OTI1","number":10031,"title":"[WIP] bpo-34271: Add ssl debugging helpers","user":{"login":"tiran","id":444071,"node_id":"MDQ6VXNlcjQ0NDA3MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/444071?v=4","gravatar_id":"","url":"https://api.github.com/users/tiran","html_url":"https://github.com/tiran","followers_url":"https://api.github.com/users/tiran/followers","following_url":"https://api.github.com/users/tiran/following{/other_user}","gists_url":"https://api.github.com/users/tiran/gists{/gist_id}","starred_url":"https://api.github.com/users/tiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiran/subscriptions","organizations_url":"https://api.github.com/users/tiran/orgs","repos_url":"https://api.github.com/users/tiran/repos","events_url":"https://api.github.com/users/tiran/events{/privacy}","received_events_url":"https://api.github.com/users/tiran/received_events","type":"User","site_admin":false},"labels":[{"id":536945472,"node_id":"MDU6TGFiZWw1MzY5NDU0NzI=","url":"https://api.github.com/repos/python/cpython/labels/CLA%20signed","name":"CLA signed","color":"0e8a16","default":false},{"id":790204342,"node_id":"MDU6TGFiZWw3OTAyMDQzNDI=","url":"https://api.github.com/repos/python/cpython/labels/DO-NOT-MERGE","name":"DO-NOT-MERGE","color":"c11f32","default":false},{"id":666980059,"node_id":"MDU6TGFiZWw2NjY5ODAwNTk=","url":"https://api.github.com/repos/python/cpython/labels/awaiting%20merge","name":"awaiting merge","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-21T15:42:34Z","updated_at":"2018-10-24T07:08:13Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/python/cpython/pulls/10031","html_url":"https://github.com/python/cpython/pull/10031","diff_url":"https://github.com/python/cpython/pull/10031.diff","patch_url":"https://github.com/python/cpython/pull/10031.patch"},"body":"The ssl module now can dump key material to a keylog file and trace TLS\r\nprotocol messages with a tracing callback. The default and stdlib\r\ncontexts also support SSLKEYLOGFILE env var.\r\n\r\n- [ ] API review\r\n- [ ] whatsnew entry\r\n- [ ] More tests\n\n<!-- issue-number: [bpo-34271](https://bugs.python.org/issue34271) -->\nhttps://bugs.python.org/issue34271\n<!-- /issue-number -->\n"},"comment":{"url":"https://api.github.com/repos/python/cpython/issues/comments/432538722","html_url":"https://github.com/python/cpython/pull/10031#issuecomment-432538722","issue_url":"https://api.github.com/repos/python/cpython/issues/10031","id":432538722,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjUzODcyMg==","user":{"login":"tiran","id":444071,"node_id":"MDQ6VXNlcjQ0NDA3MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/444071?v=4","gravatar_id":"","url":"https://api.github.com/users/tiran","html_url":"https://github.com/tiran","followers_url":"https://api.github.com/users/tiran/followers","following_url":"https://api.github.com/users/tiran/following{/other_user}","gists_url":"https://api.github.com/users/tiran/gists{/gist_id}","starred_url":"https://api.github.com/users/tiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiran/subscriptions","organizations_url":"https://api.github.com/users/tiran/orgs","repos_url":"https://api.github.com/users/tiran/repos","events_url":"https://api.github.com/users/tiran/events{/privacy}","received_events_url":"https://api.github.com/users/tiran/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T07:08:13Z","updated_at":"2018-10-24T07:08:13Z","author_association":"MEMBER","body":"The ``SSLKEYLOGFILE`` only works, if you\r\n\r\n* have OpenSSL 1.1.1 installed. OpenSSL 1.1.0 or 1.0.2 don't have a keylog callback API. Linux distributions like Debian and Fedora just started to include 1.1.1 in their latest test versions.\r\n* use ``ssl.create_default_context()``. A custom ``ssl.SSLContext`` doesn't use ``SSLKEYLOGFILE``.\r\n\r\nI decided against expanding ``~`` to user's home directory, because neither curl nor NSS expand them."}}
{"actor":{"display_login":"tiran"}}