-
Notifications
You must be signed in to change notification settings - Fork 65
Adds EC Curves for VaaS's certificatePolicies utils certificate's method "toPolicy" and connector's "buildPolicySpecification" function, as well as adds support for ED25519 curve #261
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
How can I reproduce the bug? Is there a way to reproduce it with a few curl commands? |
Do we need to account for VaaS's support for the ED25519 curve and RSA 3072 in https://github.com/Venafi/vcert/blob/master/pkg/certificate/certificate.go? TPP shouldn't have any problems with RSA 3072 even though the UI doesn't support it but TPP doesn't support ED25519 for certificates as far as I'm aware. |
My code is using vcert/pkg/certificate/certificate.go Lines 58 to 71 in a3d4338
Maybe a bit out-of-scope for this PR? |
I already added the missing test cases and fixed another bug regarding getting EC curve when using GetPolicy method on the side of VaaS (Cloud) connector. I needed to add the ED25519 curve in order to work correctly with our issuing template. I believe now we can merge this PR. @marcos-albornoz , @rvelaVenafi , @EduardoVV, could you give your review and approval (if it applies)? |
cc810c7
to
39e612d
Compare
@luispresuelVenafi I rebased the PR, should be ready to merge. |
Hi @inteon , could you sign your commit? Currently, the missing sign of the commit is blocking the merging of this PR (now signed commits is a requirement to contribute into our projects). |
@luispresuelVenafi done |
@inteon it still marks it as unverified commit |
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
…en getting policy specificiation. Adds test accordingly and test for getting EC Curves values when calling ReadZoneConfiguration function that calls toPolicy Co-authored-by: Luis Presuel <luis.presuel@venafi.com> Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
@luispresuelVenafi sorry for the confusion, I thought you were talking about GH |
This caused the ReadZoneConfiguration function to return an empty keyCurves array for VaaS.