cryptography/tests
Han Yu 6bd5d49899
Inconsistent IDP extension constraint check (#11467)
* Per RFC5280 Section 5.2.5, the Issuing Distribution Point extension in a CRL can have only one of onlyContainsUserCerts, onlyContainsCACerts, onlyContainsAttributeCerts set to TRUE. However, extensions.py (lines 1991 : 2003), indirectCRL is also included, which leads to invalid CRL even if the RFC requirement is met. The proposed fix is to drop indirectCRL from the check so it conforms to the RFC.

* Made the comment shorter per line to meet the format requirement.
Removed a invalid test case for IDP
2024-10-12 01:43:23 +00:00
..
bench Added a benchmark for fernet (#11088) 2024-06-08 07:52:13 -07:00
hazmat otp-generage-hardening (#11703) 2024-10-07 00:57:57 +00:00
wycheproof Updates for ruff 0.3.1 (#10548) 2024-03-07 10:57:37 -08:00
x509 Inconsistent IDP extension constraint check (#11467) 2024-10-12 01:43:23 +00:00
__init__.py Remove __future__ import from our code (#5610) 2020-12-09 00:35:11 -06:00
conftest.py tests, ci: plumb x509-limbo-root (#9871) 2023-11-13 19:48:28 +00:00
deprecated_module.py refactor utils.deprecated to be more mypy friendly (#6923) 2022-03-03 03:46:30 +08:00
doubles.py type a test double (#6723) 2021-12-21 21:10:54 -05:00
test_cryptography_utils.py Update CI for py3.11 release (#7743) 2022-10-26 14:44:03 +09:00
test_fernet.py Add support for extract_timestamp in MultiFernet (#11427) 2024-08-13 15:42:35 +00:00
test_meta.py add some more mypy flags (#6751) 2021-12-23 07:55:23 -05:00
test_utils.py utils.int_to_bytes: guard against zero-length (#11173) 2024-06-29 15:23:57 +00:00
test_warnings.py refactor utils.deprecated to be more mypy friendly (#6923) 2022-03-03 03:46:30 +08:00
utils.py Ensure curves are supported in determinisic ECDSA tests (#10917) 2024-05-01 21:55:41 -07:00