community.crypto/plugins/module_utils/crypto
Felix Fontein 0ef6494ad2
crypto.math module utils: add some tests, fix quick_is_not_prime() for small primes (#733) (#734)
* Fix quick_is_not_prime() for small primes. Add some tests.

* Fix return value of convert_int_to_bytes(0, 0) on Python 2.

* Add some more test cases.

* Simplify the changelog and point out that these errors only happen for cases not happening in regular use.

(cherry picked from commit 0c62837296)
2024-04-29 12:03:41 +02:00
..
module_backends [stable-1] x509_certificate: handle unexpected error, fix test (#704) 2024-01-26 21:58:12 +01:00
__init__.py openssl_pkcs12: allow to specify certificate bundles in other_certificates (#166) 2021-01-26 10:21:49 +01:00
_asn1.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters. (#253) 2021-06-26 13:45:28 +02:00
_obj2txt.py Add Apache 2.0 license for Apache 2.0 licensed parts. (#479) 2022-06-17 08:21:08 +02:00
_objects.py Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
_objects_data.py Add Apache 2.0 license for Apache 2.0 licensed parts. (#479) 2022-06-17 08:21:08 +02:00
basic.py Fix stable-1 for new cryptography 37.0.0 release (#446) 2022-04-26 22:33:13 +02:00
cryptography_crl.py Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
cryptography_support.py [stable-1] x509_certificate: regenerate certificate on CA's subject change (#406) 2022-02-19 17:51:28 +00:00
math.py crypto.math module utils: add some tests, fix quick_is_not_prime() for small primes (#733) (#734) 2024-04-29 12:03:41 +02:00
openssh.py openssh_keypair - Adding backend option and refactoring backend code (#236) 2021-05-23 22:36:55 +02:00
pem.py acme_certificate: fix crash when using fullchain_dest (#324) (#325) 2021-11-05 09:35:10 +01:00
pyopenssl_support.py Fix stable-1 for new cryptography 37.0.0 release (#446) 2022-04-26 22:33:13 +02:00
support.py Fix stable-1 for new cryptography 37.0.0 release (#446) 2022-04-26 22:33:13 +02:00