-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Boring SSL #69
Comments
That would be a dealbreaker for us. Ignoring security concerns, the pure Rust RSA implementation is very slow. Way too slow for our requirements, and it doesn't even justify using hostcalls vs compiling to WebAssembly. The RSA crate was originally used in that code, and got eventually replaced with BoringSSL for that reason. Is C++ incompatible with static builds? That looks like a toolchain issue, a configuration issue, or something to fix in the |
Could we have a compromise where a feature flag could select RustCrypto over Boring? I'll take a closer look at Boring to see about the compilation issue. But Boring + Rust + musl results in trying to use CC: @npmccallum |
The |
Out of curiosity, what would you say was the performance boost by switching to |
I’m curious to know as well. We should open a tracking issue on the |
@jedisct1 Did you build |
Of course, yes. |
|
@jedisct1 |
FYI, there is also |
@PiotrSikora We will not use |
@npmccallum the original comment complains about C++ (which last time I checked, was optional in BoringSSL, and perhaps it being required is an issue with |
It shouldn't be too hard to support both. So, yes, it looks like a good path forward. |
@PiotrSikora We have historically tried |
I'm working on rust-lang/cmake-rs#158 to improve cross compiling support in |
The problem as I see it is that We need to decide on one crypto system for the reference implementation. If others want a Given these criteria, there are only two choices for a Rust-language reference implementation: |
Remove Boring SSL, only used in
implementations/hostcalls/rust/src/signatures/rsa.rs
.Motivation:
wasi-crypto
in Enarx, but our Wasm component is compiled asx86_64-unknown-linux-musl
, which conflicts with Boring since it's in C++.In-Progress:
CC: @jedisct1
The text was updated successfully, but these errors were encountered: