community.crypto/plugins/module_utils
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
..
acme Prepare for distutils.version being removed in Python 3.12 (#353) (#354) 2021-12-24 12:15:45 +01:00
compat Remove dependency on ansible.netcommon collection (#2) 2020-03-29 18:44:40 +02:00
crypto 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
ecs Add simplified_bsd.txt license file (#467) (#468) 2022-06-02 08:14:26 +02:00
openssh Always generate a new key pair if the private key doesn't exist (#598) (#599) 2023-05-01 21:34:10 +02:00
_version.py [stable-1] Add PSF-license.txt file (#455) 2022-05-16 09:02:58 +02:00
io.py Avoid crash in check mode (#243) 2021-06-02 16:44:26 +02:00
version.py Fix comment. (#372) (#373) 2022-01-06 15:10:40 +01:00