{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift-nio-ssl/issues/25","repository_url":"https://api.github.com/repos/apple/swift-nio-ssl","labels_url":"https://api.github.com/repos/apple/swift-nio-ssl/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift-nio-ssl/issues/25/comments","events_url":"https://api.github.com/repos/apple/swift-nio-ssl/issues/25/events","html_url":"https://github.com/apple/swift-nio-ssl/issues/25","id":342380373,"node_id":"MDU6SXNzdWUzNDIzODAzNzM=","number":25,"title":"Client certificate verification callback","user":{"login":"michal-tomlein","id":42162,"node_id":"MDQ6VXNlcjQyMTYy","avatar_url":"https://avatars2.githubusercontent.com/u/42162?v=4","gravatar_id":"","url":"https://api.github.com/users/michal-tomlein","html_url":"https://github.com/michal-tomlein","followers_url":"https://api.github.com/users/michal-tomlein/followers","following_url":"https://api.github.com/users/michal-tomlein/following{/other_user}","gists_url":"https://api.github.com/users/michal-tomlein/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-tomlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-tomlein/subscriptions","organizations_url":"https://api.github.com/users/michal-tomlein/orgs","repos_url":"https://api.github.com/users/michal-tomlein/repos","events_url":"https://api.github.com/users/michal-tomlein/events{/privacy}","received_events_url":"https://api.github.com/users/michal-tomlein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-07-18T15:30:22Z","updated_at":"2018-11-05T07:49:26Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nAre there any plans to support authentication using client certificates?\r\n\r\nIdeally, I’d like to be able to provide a callback for this that will be called with the client’s certificate and public key (I’m specifically interested in the public key). This could be a new `CertificateVerification` enum case that I could pass to `TLSConfiguration.forServer(…)` instead of `.none` (the current default).\r\n\r\nIf the callback succeeds, I’d also need a way to pass the certificate and public key to other handlers in the pipeline. I’m new to SwiftNIO, so I’m not sure what the right way to do this would be. Perhaps this association of the channel with the certificate/public key could be established directly in the callback.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/apple/swift-nio-ssl/issues/comments/435782403","html_url":"https://github.com/apple/swift-nio-ssl/issues/25#issuecomment-435782403","issue_url":"https://api.github.com/repos/apple/swift-nio-ssl/issues/25","id":435782403,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTc4MjQwMw==","user":{"login":"michal-tomlein","id":42162,"node_id":"MDQ6VXNlcjQyMTYy","avatar_url":"https://avatars2.githubusercontent.com/u/42162?v=4","gravatar_id":"","url":"https://api.github.com/users/michal-tomlein","html_url":"https://github.com/michal-tomlein","followers_url":"https://api.github.com/users/michal-tomlein/followers","following_url":"https://api.github.com/users/michal-tomlein/following{/other_user}","gists_url":"https://api.github.com/users/michal-tomlein/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-tomlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-tomlein/subscriptions","organizations_url":"https://api.github.com/users/michal-tomlein/orgs","repos_url":"https://api.github.com/users/michal-tomlein/repos","events_url":"https://api.github.com/users/michal-tomlein/events{/privacy}","received_events_url":"https://api.github.com/users/michal-tomlein/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T07:49:26Z","updated_at":"2018-11-05T07:49:26Z","author_association":"NONE","body":"I see, thanks. The callback seems to be invoked twice, but I’m assuming this is part of normal operation. When do you expect this to be merged into master?"}}
{"actor":{"display_login":"michal-tomlein"}}