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 x509 extension embedding logic #561

Merged
merged 1 commit into from
May 10, 2022

Conversation

nsmith5
Copy link
Contributor

@nsmith5 nsmith5 commented May 9, 2022

Summary

Adds a new extensions structure that documents the global set of
extensions added to our certificates and a method to render that data
into extensions.

Ticket Link

Related to #275

Release Note

* NONE

@codecov-commenter
Copy link

codecov-commenter commented May 9, 2022

Codecov Report

Merging #561 (f3acb10) into main (969e796) will increase coverage by 4.39%.
The diff coverage is 74.64%.

❗ Current head f3acb10 differs from pull request most recent head 10ce525. Consider uploading reports for the commit 10ce525 to get more accurate results

@@            Coverage Diff             @@
##             main     #561      +/-   ##
==========================================
+ Coverage   36.67%   41.07%   +4.39%     
==========================================
  Files          19       20       +1     
  Lines        1445     1473      +28     
==========================================
+ Hits          530      605      +75     
+ Misses        855      800      -55     
- Partials       60       68       +8     
Impacted Files Coverage Δ
pkg/ca/x509ca/common.go 34.34% <37.93%> (+30.80%) ⬆️
pkg/ca/x509ca/extensions.go 100.00% <100.00%> (ø)
pkg/ca/fileca/load.go 68.96% <0.00%> (+10.34%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 969e796...10ce525. Read the comment docs.

haydentherapper
haydentherapper previously approved these changes May 9, 2022
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.

This looks great!

pkg/ca/x509ca/common_test.go Outdated Show resolved Hide resolved
pkg/ca/x509ca/extensions.go Show resolved Hide resolved
Adds a new extensions structure that documents the global set of
extensions added to our certificates and a method to render that data
into extensions.

Signed-off-by: Nathan Smith <[email protected]>
@dlorenc dlorenc merged commit 3eec2b0 into sigstore:main May 10, 2022
@nsmith5 nsmith5 deleted the refactor-extensions branch May 10, 2022 16:11
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.

None yet

4 participants