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 issuer from fulcio cert #901

Merged
merged 3 commits into from
Dec 15, 2023
Merged

extract issuer from fulcio cert #901

merged 3 commits into from
Dec 15, 2023

Conversation

bdehamer
Copy link
Collaborator

Updates the Fulcio certificate verification logic to account for the fact that there are two different extensions which may contain the name of the certificate issuer. Older instances of Fulcio would encode the issuer in an extension with OID 1.3.6.1.4.1.57264.1.1 while new versions of Fulcio use 1.3.6.1.4.1.57264.1.8.

To properly verify the certificate issuer, we need to check both extensions to see which one contains the issuer string.

@bdehamer bdehamer requested a review from a team as a code owner December 15, 2023 20:08
Copy link

changeset-bot bot commented Dec 15, 2023

🦋 Changeset detected

Latest commit: f725cfc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@sigstore/verify Patch
sigstore Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Signed-off-by: Brian DeHamer <bdehamer@github.com>
@bdehamer bdehamer force-pushed the bdehamer/fulcio-issuer branch from 78e0f83 to 245e2e1 Compare December 15, 2023 20:10
feelepxyz
feelepxyz previously approved these changes Dec 15, 2023
Signed-off-by: Brian DeHamer <bdehamer@github.com>
Copy link
Contributor

@ejahnGithub ejahnGithub left a comment

Choose a reason for hiding this comment

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

lg

@bdehamer bdehamer merged commit e5f1875 into main Dec 15, 2023
24 checks passed
@bdehamer bdehamer deleted the bdehamer/fulcio-issuer branch December 15, 2023 20:29
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