Skip to content
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

rustls panics when initializing DefaultConnection #227

Closed
threema-donat opened this issue Jun 11, 2024 · 3 comments
Closed

rustls panics when initializing DefaultConnection #227

threema-donat opened this issue Jun 11, 2024 · 3 comments

Comments

@threema-donat
Copy link
Contributor

thread '<unnamed>' panicked at /rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.23.9/src/crypto/mod.rs:259:14:
no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point

with features ["service_account"] enabled. I don't know why this happens since the ring feature is enabled both in rustls and hyper-rustls. Probably related to #224

@dermesser
Copy link
Owner

I was able to reproduce it, can you check if #229 works for you as well? I'm a bit unsure if I selected the right features.

@threema-donat
Copy link
Contributor Author

I'll check it right away! Sorry to not have given you more information, I was quite busy the last days.

@threema-donat
Copy link
Contributor Author

threema-donat commented Jun 12, 2024

It works for me, but I've created #231 to avoid unnecessary dependencies. I also have another MR in the pipeline to make it configurable if ring or aws-lc-rs is used.

Thanks a lot for the fast answer and the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants