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

Ensure only certificates are included when parsing for sha1 check. #971

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Jan 6, 2025

No description provided.

@ehelms
Copy link
Member Author

ehelms commented Jan 6, 2025

@phess This failed to reproduce the issue noted in #969 -- are you able to provide an example of a bundle certificate that fails?

@ehelms ehelms force-pushed the empty-line-ca-sha1 branch 2 times, most recently from a125a5e to 5b3a4ab Compare January 6, 2025 20:03
@ehelms ehelms changed the title Test empty line in SHA1 CA cert Ensure only certificates are included when parsing for sha1 check. Jan 6, 2025
@ehelms ehelms force-pushed the empty-line-ca-sha1 branch from 5b3a4ab to 3733b11 Compare January 6, 2025 20:05
@ehelms
Copy link
Member Author

ehelms commented Jan 6, 2025

Updated to include a fix, some test updates and more output.

return unless server_ca
return true if server_ca.nil?
Copy link
Member

Choose a reason for hiding this comment

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

What is this changing?

@ehelms ehelms force-pushed the empty-line-ca-sha1 branch from baa906f to 0a220c7 Compare January 8, 2025 14:37
@evgeni evgeni merged commit e4ae209 into theforeman:master Jan 8, 2025
7 of 8 checks passed
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