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

Add module to reject spurious certificate fingerprints #19

Merged
merged 1 commit into from
May 24, 2024

Conversation

aaronmdjones
Copy link
Member

It's quite common that people add fingerprints with the wrong digest algorithm, and rarer but not unheard of for people to add complete garbage (services doesn't care about the format).

This module checks for 128 hexadecimal characters; rejecting everything else with an explanatory error message to that effect.

@aaronmdjones aaronmdjones requested a review from spb April 21, 2024 23:20
@aaronmdjones aaronmdjones added the enhancement New feature or request label Apr 21, 2024
It's quite common that people add fingerprints with the wrong
digest algorithm, and rarer but not unheard of for people to
add complete garbage (services doesn't care about the format).

This module checks for 128 hexadecimal characters; rejecting
everything else with an explanatory error message to that
effect.
@aaronmdjones aaronmdjones merged commit 6b68ca2 into main May 24, 2024
@aaronmdjones aaronmdjones deleted the amdj/rejectnonsha512certfp branch May 24, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants