GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [RFC] Add a feature to use Rustls instead of open-ssl · Issue #3839 · RustPython/RustPython

[RFC] Add a feature to use Rustls instead of open-ssl #3839

New issue
Copy link
New issue
Copy link
Closed
#6244
Closed
[RFC] Add a feature to use Rustls instead of open-ssl#3839
#6244
Copy link
Labels
RFCRequest for commentsRequest for comments

Description

@Keithcat1
Keithcat1
opened on Jul 4, 2022
Issue body actions

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 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.

Drawbacks, Rationale, and Alternatives

A possible alternative is the 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.

Unresolved Questions

Reacted by Jeong, YunWon, fanninpm, Theo Paris, Rick_Cao, stefnotch and Darkspirit

Activity

  1. Keithcat1
    added
    RFCRequest for commentsRequest for comments
    on Jul 4, 2022
  2. youknowone commented on Jul 6, 2022

    @youknowone
    youknowone
    on Jul 6, 2022
    Member
    More actions

    I like to do. I think the only reason we now use openssl is the ssl interface in python is designed as an openssl wrapper

  3. youknowone commented on Jul 16, 2022

    @youknowone
    youknowone
    on Jul 16, 2022
    Member
    More actions

    maybe this crate will be helpful https://github.com/stepancheg/rust-tls-api

  4. rimi0108 commented on Jul 16, 2022

    @rimi0108
    rimi0108
    on Jul 16, 2022
    Contributor
    More actions

    I want to take on this issue.

  5. fanninpm commented on Jul 16, 2022

    @fanninpm
    fanninpm
    on Jul 16, 2022
    Contributor
    More actions

    I want to take on this issue.

    I wish you luck.

    Reacted by Remy Choi and Theo Paris
  6. fanninpm
    assigned
    rimi0108
    on Jul 16, 2022
  7. youknowone
    unassigned
    rimi0108
    on Jul 24, 2022
  8. youknowone
    closed this as completedin #6244on Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRequest for commentsRequest for comments

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.