rustls / rustls-openssl-compat Goto Github PK
View Code? Open in Web Editor NEWOpenSSL compatibility layers
OpenSSL compatibility layers
It would help with the eventual move towards shared FFI helpers if this repo also adopted the Castable
helper macros recently added in rustls-ffi.
Filing this as an issue instead of a PR making the switch to avoid unnecessary conflicts with in-progress work. We can do this at some future point.
Checklist
Is your feature request related to a problem? Please describe.
Use rustls as a drop in replacement for OpenSSL with the public API from OpenSSL 3.2.0 (or latest stable 3.x version) as per the roadmap (https://github.com/rustls/rustls/blob/main/ROADMAP.md) so that I can use rustls as my main TLS implementation with applications that are not written in rust and depend on openssl.
Describe the solution you'd like
libssl.so implemented by rustls with the same header file names and functions as openssl. Allow a main.c
to be linked with original openssl libs or rustls libs and functionally work the same way. Initially starting by implementing enough to run openssl-bench and then enough to use in curl, and then the whole public API.
Describe alternatives you've considered
Convert everyone to using rust ๐ฆ or could create a separate C library that is NOT a drop in replacement. I think both of these would harm adoption rates though.
Additional context
This is part of the roadmap. I'm just creating this for initial discussion on plans to implement before there is a PR opened. Apologies if work has already started on this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.