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

Fix OCSP verification of requests hashes #4537

Merged

Conversation

fmarco76
Copy link
Member

OCSP requests have the certificate serial number, the hash of CA DN and the hash of the CA public key. According to the specification, in order to recognise a request both hashes have to match but the current implementation was verifying only the public key hash.

This commit add a check on the other hash of the request.

OCSP requests have the certificate serial number, the hash of CA DN and
the hash of the CA public key. According to the specification, in order
to recognise a request both hashes have to match but the current implementation
was verifying only the public key hash.

This commit add a check on the other hash of the request.
Copy link
Contributor

@ckelleyRH ckelleyRH left a comment

Choose a reason for hiding this comment

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

LGTM but will defer to @ladycfu

Copy link
Contributor

@ladycfu ladycfu left a comment

Choose a reason for hiding this comment

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

LGTM

@fmarco76
Copy link
Member Author

@ckelleyRH @ladycfu Thanks!

@fmarco76 fmarco76 merged commit 2e67a1a into dogtagpki:v10.13 Aug 11, 2023
@fmarco76 fmarco76 deleted the OCSPInstanceCAVerifyCombinations branch August 11, 2023 13:44
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