-
Notifications
You must be signed in to change notification settings - Fork 141
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
Export Fulcio extension OIDs #761
Conversation
Pulls Fulcio OIDs into a global var so that they can be referenced by other libraries. Signed-off-by: Billy Lynch <billy@chainguard.dev>
Codecov Report
@@ Coverage Diff @@
## main #761 +/- ##
==========================================
+ Coverage 54.05% 54.19% +0.14%
==========================================
Files 36 36
Lines 2257 2275 +18
==========================================
+ Hits 1220 1233 +13
- Misses 944 948 +4
- Partials 93 94 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
What do you think about putting this under its own package, so that clients don’t need to pull in the rest of the CA package? |
Works for me! I'll pull all the extension bits into its own package - we could use this to consolidate https://github.com/sigstore/cosign/blob/890cec1f43a8ec0754e0dd5a5d120847b63b6c4e/pkg/cosign/certextensions.go |
Refactors common certificate behavior into a distinct package. Adds ability to go to/from Extension type <-> []pkix.Extensions. Signed-off-by: Billy Lynch <billy@chainguard.dev>
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 looks great!
Replaced with pkg/certificates/extensions.go. Signed-off-by: Billy Lynch <billy@chainguard.dev>
Summary
Pulls Fulcio OIDs into a global var so that they can be referenced by
other libraries.
Signed-off-by: Billy Lynch billy@chainguard.dev
Release Note
NONE
Documentation
NONE