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

Added warning about SHA1 being used for response signing in ocsp.rst #10204

Merged
merged 5 commits into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/x509/ocsp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,11 @@ Creating Responses
:class:`~cryptography.hazmat.primitives.asymmetric.ed448.Ed448PrivateKey`
and an instance of a
:class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`
otherwise.
otherwise. Please note that
:class:`~cryptography.hazmat.primitives.hashes.SHA1`
can not be used here, regardless of if it was used for
:meth:`~cryptography.x509.ocsp.OCSPResponseBuilder.add_response`
or not.

:returns: A new :class:`~cryptography.x509.ocsp.OCSPResponse`.

Expand Down
Loading