cryptography/tests
Paul Kehrer 61e9d6a41e
backport #7833 (#7853)
* Update invalid EC key test for compatibility with upcoming OpenSSL changes (#7833)

One of the tests checking behavior with invalid EC keys hardcoded the
error reason.

This commit replaces the string matching with a regex to match both the
current string and a new reason, introduced by upcoming OpenSSL
changes [0], which would otherwise trigger a false positive failure.

[0]: https://github.com/openssl/openssl/pull/19681

* fix CI

* fixes #7653 -- handle OPENSSL_cleanup existing on LibreSSL 3.6.0 (#7654)

* kill CI cache

* endless CI fixing

Co-authored-by: Nicola Tuveri <nic.tuv@gmail.com>
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2022-11-27 18:14:27 +00:00
..
bench Add a benchmark of loading a certificate (#7551) 2022-08-31 02:04:12 +00:00
hazmat backport #7833 (#7853) 2022-11-27 18:14:27 +00:00
hypothesis Implement a parser for RFC4514 strings (#7055) 2022-04-16 10:21:45 +02:00
wycheproof fix typo in test name (#7426) 2022-07-16 21:31:50 +00:00
x509 Backport tlv fix, 38.0.1 bump (#7576) 2022-09-07 08:19:50 -04:00
__init__.py Remove __future__ import from our code (#5610) 2020-12-09 00:35:11 -06:00
conftest.py Ensure there's nothing on the error stack after tests (#5997) 2021-09-26 12:07:24 +08: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 Remove explicit subclassing of object now that all classes are new-style (#6830) 2022-01-30 16:29:24 +00:00
test_fernet.py Allow Fernet decryption to accept string tokens (#7116) 2022-04-29 22:27:47 +00:00
test_interfaces.py backport #7833 (#7853) 2022-11-27 18:14:27 +00:00
test_meta.py add some more mypy flags (#6751) 2021-12-23 07:55:23 -05:00
test_rust_utils.py Added FixedPool abstraction for use in optimizing various types (#7303) 2022-07-16 13:50:46 -05:00
test_utils.py Resolve new flake8 errors (#7462) 2022-07-30 16:29:00 -10:00
test_warnings.py refactor utils.deprecated to be more mypy friendly (#6923) 2022-03-03 03:46:30 +08:00
utils.py KBKDF: add CounterLocation.MiddleFixed (#7489) 2022-08-15 08:19:12 -04:00