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

OCSP Response Builder #11955

Open
jackenbaer opened this issue Nov 15, 2024 · 2 comments
Open

OCSP Response Builder #11955

jackenbaer opened this issue Nov 15, 2024 · 2 comments

Comments

@jackenbaer
Copy link

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.

@alex
Copy link
Member

alex commented Nov 15, 2024

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?

@jackenbaer
Copy link
Author

Ah, yes ! Exactly this for responses.
Yes, I will look into this !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants