diff options
author | Hacksawfred3232 <frederick.simmonds@gmail.com> | 2024-01-19 01:26:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 01:26:45 +0000 |
commit | bd0a0648a85c8aed266eeada48721fd85c124736 (patch) | |
tree | 113f15583d01df655cb843f7cdfc4b9b214744d8 /docs | |
parent | 82f715cfb0251ab6be63adfb1c7289d24cc1b989 (diff) | |
download | pyca-cryptography-bd0a0648a85c8aed266eeada48721fd85c124736.zip pyca-cryptography-bd0a0648a85c8aed266eeada48721fd85c124736.tar.gz pyca-cryptography-bd0a0648a85c8aed266eeada48721fd85c124736.tar.bz2 |
Added warning about SHA1 being used for response signing in ocsp.rst (#10204)
* Update ocsp.rst
Added warning about SHA1 being used for sign()
* Update ocsp.rst
Fixed spelling issues, at least according to en-GB dictionary.
* Update ocsp.rst
Spell checker didn't catch "algorithim" somehow.
* Update ocsp.rst
Attempting to rephrase the warning.
* Update ocsp.rst
Removing rouge space.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/x509/ocsp.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/x509/ocsp.rst b/docs/x509/ocsp.rst index 76bfc02..94605c2 100644 --- a/docs/x509/ocsp.rst +++ b/docs/x509/ocsp.rst @@ -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`. |