-
Notifications
You must be signed in to change notification settings - Fork 123
Support ECDSA_P521_SHA512 when using aws_lc_rs feature #241
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
Conversation
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.
Looks good to me!
I think the |
Should I add aws_lc_rs feature to rustls-cert-gen crate? |
If necessary, yes! |
|
one doesn't have to pipe features through, one can also depend on rcgen directly, or do the |
note that in this instance, I think it makes sense to add features to |
I added it in a separate commit to ease the review, I will squash it after the review is done. |
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.
Looks okay to me modulo some nits.
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! Looks good :-)
For what it's worth I was able to use the code in this branch over in rustls/rustls#1852 👍 |
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.
LGTM
I performed the requested changes, rebased to main, and squashed the two commits into a single commit. |
I added additional commit for review to fix the CICD. Mainly the failures are due rustls-cert-gen now requiring either ring or aws_lc_rs features which causes these failures. I am not sure about the remaining failures. (if they are related to this PR and how to fix them) |
IIRC aws-lc-rs with FIPS is only supported on Linux for now. |
Agreed. There are additional FIPS build reqs documented here that include "Linux".
I think this is a true-positive finding for this branch:
|
I got the same warning on the main branch of this repo. That is why I think it is unrelated. Should I fix this warning in this pull request? |
Either a separate commit in this PR or a separate PR would be great! |
Oh! My mistake, sorry about the confusion. |
Is there anything holding back fixing the CI and rebasing so this could merge? I think we just need the non-Linux CI tasks to avoid the FIPS feature. |
76c37c4
to
9e564da
Compare
I removed FIPS step from non-Linux CI tasks. In addition I rebased to main and squashed the two commits. For quicker review, here is the second commit before it was squashed. These changes were made to fix the CICD. |
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!
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.
LGTM!
Thanks for getting this in good shape! |
Hope I didn't miss anything.