{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/3462","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/3462/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/3462/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/3462/events","html_url":"https://github.com/libgit2/libgit2/pull/3462","id":110617301,"number":3462,"title":"add support of mbedTLS","user":{"login":"wildart","id":38350,"avatar_url":"https://avatars.githubusercontent.com/u/38350?v=3","gravatar_id":"","url":"https://api.github.com/users/wildart","html_url":"https://github.com/wildart","followers_url":"https://api.github.com/users/wildart/followers","following_url":"https://api.github.com/users/wildart/following{/other_user}","gists_url":"https://api.github.com/users/wildart/gists{/gist_id}","starred_url":"https://api.github.com/users/wildart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildart/subscriptions","organizations_url":"https://api.github.com/users/wildart/orgs","repos_url":"https://api.github.com/users/wildart/repos","events_url":"https://api.github.com/users/wildart/events{/privacy}","received_events_url":"https://api.github.com/users/wildart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-09T09:02:58Z","updated_at":"2015-10-13T09:12:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2/pulls/3462","html_url":"https://github.com/libgit2/libgit2/pull/3462","diff_url":"https://github.com/libgit2/libgit2/pull/3462.diff","patch_url":"https://github.com/libgit2/libgit2/pull/3462.patch"},"body":"Support [mbedTLS](https://tls.mbed.org) as a crypto and TLS backend instead of OpenSSL."},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/147656722","html_url":"https://github.com/libgit2/libgit2/pull/3462#issuecomment-147656722","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/3462","id":147656722,"user":{"login":"carlosmn","id":335443,"avatar_url":"https://avatars.githubusercontent.com/u/335443?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmn","html_url":"https://github.com/carlosmn","followers_url":"https://api.github.com/users/carlosmn/followers","following_url":"https://api.github.com/users/carlosmn/following{/other_user}","gists_url":"https://api.github.com/users/carlosmn/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmn/subscriptions","organizations_url":"https://api.github.com/users/carlosmn/orgs","repos_url":"https://api.github.com/users/carlosmn/repos","events_url":"https://api.github.com/users/carlosmn/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmn/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T09:12:13Z","updated_at":"2015-10-13T09:12:13Z","body":"This doesn't feel like a good fit to be in the library itself. We use the OS-native cryptography for each platform, and we don't want to encourage statically-linking cryptographic code into the object produced by the library.\r\n\r\nBut the stream API is made so you can implement any TLS stream however you prefer and use it. IIRC I never got around to exposing registration after the refactoring, but `git_tls_stream_new()` should use a user-registered TLS stream before looking at the built-in ones."}}