-
Notifications
You must be signed in to change notification settings - Fork 105
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
choose a crypto_provider for rustls_cert_gen #206
choose a crypto_provider for rustls_cert_gen #206
Conversation
Thanks for the PR!
It sounds like there's CI coverage missing for this tool that would detect this broken state :-( Would you be willing to update your PR to add that coverage as well? |
It's a feature unification problem, when we build at a workspace level, all features get unified so the One solution is to add a CI job with Which solution do you prefer? |
Aha, that makes sense 💡 Thank you
That sounds good to me. We're using |
a92df3e
to
35d8c6f
Compare
We see that's the new job failed the CI as expected https://github.com/rustls/rcgen/actions/runs/7499266190 , I will now push the fix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This feels small and obvious enough to merge without blocking on an additional review. If there's any post-merge feedback I will commit to implementing it. |
From the release 0.12 of rcgen #202 , we must now choose
ring
oraws_lc_rc
as a feature.Because
rustls_cert_gen
hasdefault-features = false
, its build is currently broken.This PR activateEdit: we switched to using ring to match the rcgen default.aws_lc_rc
feature, because soon it will get RSA key generation support aws/aws-lc-rs#296 , so it will provide more options.But we could also change it to default to whatever
rcgen
default or usering
as default depending on your preferences.