-
Notifications
You must be signed in to change notification settings - Fork 61
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
no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point #286
Comments
Hey, thanks for letting me know there are some issues. |
I think it might be when tonic v0.12.1 enables the ring feature, but I'm a bit over my head on this. I also have multiple versions of rustls installed because aws-smithy-runtime is still on rustls v0.21.12, but that shouldn't matter. |
add this code to fixed this:
|
I also run into this issue. After introducing I think the reason is that -- by default, I guess most applications don't explicitly depend on I'd say this would really be a big surprise for users. I wonder if you'd consider using other crates to implement signature_verifier.rs and drop the dependency of |
I see, now it least it understandable why it affects only some of us. Thanks for digging!
I need to verify those links first, let me do some due diligence of those dependencies and will check the PR. I have no objections against simplifying people's life in general, just need to understand the consequences of new deps. |
Thanks for the contributions and digging again @abcdabcd987 👍🏻 |
Related to snapview/tokio-tungstenite#336
I solved it by adding
rustls = ">=0.23.x"
to my Cargo.toml andlet _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
before calling slack morphism stuff, but that doesn't seem ideal.The text was updated successfully, but these errors were encountered: