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

Refactor kmsca constructor to accept x509.Certificates #917

Merged
merged 2 commits into from
Dec 12, 2022

Conversation

hectorj2f
Copy link
Contributor

Signed-off-by: Hector Fernandez hector@chainguard.dev

Summary

This PR aims to refactor the KMSCA constructor to accept an array of x509 certificates instead of a file path. This makes this function more reusable, as well as it moves the processing of the viper flags to the cmd pkg.

Release Note

Documentation

Signed-off-by: Hector Fernandez <hector@chainguard.dev>
Signed-off-by: Hector Fernandez <hector@chainguard.dev>
Copy link
Contributor

@priyawadhwa priyawadhwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@haydentherapper haydentherapper merged commit 6d7cfbf into sigstore:main Dec 12, 2022
@hectorj2f hectorj2f deleted the refactor-kmsca branch December 12, 2022 18:22
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

Successfully merging this pull request may close these issues.

3 participants