{"action":"created","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/3646","repository_url":"https://api.github.com/repos/micropython/micropython","labels_url":"https://api.github.com/repos/micropython/micropython/issues/3646/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/3646/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/3646/events","html_url":"https://github.com/micropython/micropython/issues/3646","id":300949941,"number":3646,"title":"ussl.wrapsocket and mbedtls","user":{"login":"tsc87","id":33559838,"avatar_url":"https://avatars1.githubusercontent.com/u/33559838?v=4","gravatar_id":"","url":"https://api.github.com/users/tsc87","html_url":"https://github.com/tsc87","followers_url":"https://api.github.com/users/tsc87/followers","following_url":"https://api.github.com/users/tsc87/following{/other_user}","gists_url":"https://api.github.com/users/tsc87/gists{/gist_id}","starred_url":"https://api.github.com/users/tsc87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsc87/subscriptions","organizations_url":"https://api.github.com/users/tsc87/orgs","repos_url":"https://api.github.com/users/tsc87/repos","events_url":"https://api.github.com/users/tsc87/events{/privacy}","received_events_url":"https://api.github.com/users/tsc87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-28T09:29:35Z","updated_at":"2018-04-11T20:52:54Z","closed_at":null,"author_association":"NONE","body":"The function arguments for ussl.wrapsocket for ESP32 do not match with the documentation. ussl.wrap_socket(sock, server_side=False, keyfile=None, certfile=None, cert_reqs=CERT_NONE, ca_certs=None)\r\nIt seems that the modussl_mbedtls file has a modified function that has parameters listed as \"key\" and \"cert\" and missing argument for ca_cert.\r\nAlso, in socket_new, the call to mbedtls_ctr_drbg_seed takes null_entropy_func instead of mbedtls_entropy_func. \r\nHow to make the ussl.wrapsocket working for ESP32 for use with AWS IoT?"},"comment":{"url":"https://api.github.com/repos/micropython/micropython/issues/comments/380591968","html_url":"https://github.com/micropython/micropython/issues/3646#issuecomment-380591968","issue_url":"https://api.github.com/repos/micropython/micropython/issues/3646","id":380591968,"user":{"login":"Sunrise17","id":26038249,"avatar_url":"https://avatars2.githubusercontent.com/u/26038249?v=4","gravatar_id":"","url":"https://api.github.com/users/Sunrise17","html_url":"https://github.com/Sunrise17","followers_url":"https://api.github.com/users/Sunrise17/followers","following_url":"https://api.github.com/users/Sunrise17/following{/other_user}","gists_url":"https://api.github.com/users/Sunrise17/gists{/gist_id}","starred_url":"https://api.github.com/users/Sunrise17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sunrise17/subscriptions","organizations_url":"https://api.github.com/users/Sunrise17/orgs","repos_url":"https://api.github.com/users/Sunrise17/repos","events_url":"https://api.github.com/users/Sunrise17/events{/privacy}","received_events_url":"https://api.github.com/users/Sunrise17/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T20:52:54Z","updated_at":"2018-04-11T20:52:54Z","author_association":"NONE","body":"Dear @dpgeorge , yes this is the same issue which i have opened in [Link](https://github.com/micropython/micropython/issues/3687)\r\nWhen approx. will it be available for the Esp-WRoom-32 Boards? As far as i see, @danicampora applied for cc3200, allows passing through ca_certs in ssl_params. [~/ports/cc3200/mods/modussl.c](https://github.com/micropython/micropython/blob/d19e4f0ba4df487b4ebd36b5fe6a16e68c0afe77/cc3200/mods/modussl.c)."}}
{"actor":{"display_login":"Sunrise17"}}