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

Extract all subjects from SANs for x509 verifier #1632

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

haydentherapper
Copy link
Contributor

@haydentherapper haydentherapper commented Aug 11, 2023

This was previously in Identities(), but was dropped during the refactor.

Validation is also handled during certificate creation, so the contents of the x509 cert should follow rfc5280.

Summary

Release Note

Documentation

Validation is also handled during certificate creation, so the contents
of the x509 cert should follow rfc5280.

Signed-off-by: Hayden Blauzvern <[email protected]>
Signed-off-by: Hayden Blauzvern <[email protected]>
@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Merging #1632 (e0f6694) into main (6357794) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1632      +/-   ##
==========================================
- Coverage   66.90%   66.89%   -0.01%     
==========================================
  Files          83       83              
  Lines        8452     8441      -11     
==========================================
- Hits         5655     5647       -8     
+ Misses       2118     2116       -2     
+ Partials      679      678       -1     
Flag Coverage Δ
e2etests 48.02% <100.00%> (+0.01%) ⬆️
unittests 47.77% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
pkg/pki/x509/x509.go 69.69% <100.00%> (-0.19%) ⬇️

@cpanato cpanato merged commit 08ea39a into sigstore:main Aug 14, 2023
14 checks passed
@github-actions github-actions bot added this to the v1.2.2 milestone Aug 14, 2023
@haydentherapper haydentherapper deleted the subjects-x509 branch August 14, 2023 17:55
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.

4 participants