-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 OCSP Response Builder APIs to add certificates by hash #11955
Comments
We previously added https://cryptography.io/en/latest/x509/ocsp/#cryptography.x509.ocsp.OCSPRequestBuilder.add_certificate_by_hash on OCSP requests. We'd be ok adding an analogous API on responses. Are you interested in submitting a PR? |
Ah, yes ! Exactly this for responses. |
I wanted to follow up on this. I would also be interested in this change. Has any progress been made on this request? |
Not to my knowledge. We're still happy to take a PR for it. |
I let an LLM spin on this for a while, it just its mind repeatedly and so the implementation isn't very useful. But the tests and docs might be useful for whoever takes this on.
|
Creating an OCSP Response seems to require unnecessary verbose objects "issuer" and "cert" in add_response.
I guess the Serial Number, IssuerNameHash and IssuerKeyHash would be enough.
This change would simplify the implementation of OCSP responders and align better with scenarios where responders operate based on limited certificate information.
The text was updated successfully, but these errors were encountered: