Title: [RFC] Add a feature to use Rustls instead of open-ssl · Issue #3839 · RustPython/RustPython · GitHub
Open Graph Title: [RFC] Add a feature to use Rustls instead of open-ssl · Issue #3839 · RustPython/RustPython
X Title: [RFC] Add a feature to use Rustls instead of open-ssl · Issue #3839 · RustPython/RustPython
Description: Summary Because Open-SSL is a C library that is hard to build especially on Windows Detailed Explanation Building Rustpython with SSL enabled is a pain at least on windows which requires you to manually set up stuff beforehand, VCPKG is ...
Open Graph Description: Summary Because Open-SSL is a C library that is hard to build especially on Windows Detailed Explanation Building Rustpython with SSL enabled is a pain at least on windows which requires you to man...
X Description: Summary Because Open-SSL is a C library that is hard to build especially on Windows Detailed Explanation Building Rustpython with SSL enabled is a pain at least on windows which requires you to man...
Opengraph URL: https://github.com/RustPython/RustPython/issues/3839
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[RFC] Add a feature to use Rustls instead of open-ssl","articleBody":"## Summary\r\n\r\n\u003c!-- A quick overview of your suggestion --\u003e\r\n\r\nBecause Open-SSL is a C library that is hard to build especially on Windows\r\n## Detailed Explanation\r\n\r\n\u003c!-- Elaborate on your suggestion in all its details --\u003e\r\nBuilding Rustpython with SSL enabled is a pain at least on windows which requires you to manually set up stuff beforehand, VCPKG is apparently the easiest way to get Open-SSL. Rustls, on the other hand, is written entirely in native Rust as far as I know and will compile just fine without you having to do anything. It's also statically linked and apparently might be faster than Open-SSL anyway.\r\n## Drawbacks, Rationale, and Alternatives\r\n\r\n\u003c!-- What drawbacks might this solution have? Why do you feel it is necessary? What other options might there be to solving this problem? --\u003e\r\nA possible alternative is the [native_tls](https://docs.rs/native-tls/latest/native_tls) crate, which abstracts over platform-specific TLS implementations. I believe it works automatically on Windows, but falls back to Open-SSL on some other platforms.\r\n\r\n## Unresolved Questions\r\n\r\n\u003c!-- What would you like feedback on for fleshing out your suggestion? --\u003e\r\n","author":{"url":"https://github.com/Keithcat1","@type":"Person","name":"Keithcat1"},"datePublished":"2022-07-04T20:00:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/3839/RustPython/issues/3839"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aa3dfb92-3ef8-0110-cf7a-5b83c7b87c2d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86F2:10252F:8C47FF:BFD3DF:696A8156 |
| html-safe-nonce | 949737b3e95b97a0ed1b628127d1b85d21ec53b56153d3cb2634c5c806bba8c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkYyOjEwMjUyRjo4QzQ3RkY6QkZEM0RGOjY5NkE4MTU2IiwidmlzaXRvcl9pZCI6IjgxMDA0Njk2ODgyNDA4NjU2MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f61f4f1d36de600bade6ba20e784dc41b72f425999d89524ddf8e5449c97c239 |
| hovercard-subject-tag | issue:1293529115 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/RustPython/RustPython/3839/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3a7f577d7d41c87e4905ca4ca41fa006f5df16e6536728cf0f0000ab1f7651de/RustPython/RustPython/issues/3839 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a7f577d7d41c87e4905ca4ca41fa006f5df16e6536728cf0f0000ab1f7651de/RustPython/RustPython/issues/3839 |
| og:image:alt | Summary Because Open-SSL is a C library that is hard to build especially on Windows Detailed Explanation Building Rustpython with SSL enabled is a pain at least on windows which requires you to man... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Keithcat1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width