Felix Fontein
5420f9baaf
Cleanup with ruff check ( #963 )
...
* Implement improvements suggested by ruff check.
* Add ruff check to CI.
* Add changelog fragment.
2025-10-28 07:21:11 +01:00
Felix Fontein
520e7c6278
Release 3.0.4.
2025-10-01 06:43:56 +02:00
Felix Fontein
1da1fdc3b0
Prepare 3.0.4.
2025-09-30 22:10:18 +02:00
Felix Fontein
c0072d29f5
ansible-core 2.20: avoid deprecated functionality ( #953 )
...
* Avoid deprecated functionality.
* Lint.
* Fix typing.
* Python 3.7/3.8 compat.
2025-08-17 22:30:10 +02:00
Felix Fontein
114c98928d
Release 3.0.3.
2025-08-04 19:18:38 +02:00
Felix Fontein
ba5c551a29
Increase number of retries from 10 to 20. ( #949 )
2025-08-03 10:29:55 +02:00
Felix Fontein
09c45551fe
Prepare 3.0.3.
2025-08-02 21:02:29 +02:00
Felix Fontein
75413d0b08
Also retry on HTTP statuses 502 and 504. ( #947 )
2025-08-02 18:25:28 +02:00
Felix Fontein
bc16487882
Normalize changelog configs.
2025-07-27 16:35:32 +02:00
Felix Fontein
690561ecd9
Release 3.0.2.
2025-07-26 14:40:11 +02:00
Felix Fontein
05c9e09d20
Prepare 3.0.2.
2025-07-25 14:40:38 +02:00
Felix Fontein
f219cac94c
Improve error message when lodaing corrupt private key or private key with wrong passphrase. ( #939 )
2025-07-25 14:36:54 +02:00
Felix Fontein
b3fea5b7df
Release 3.0.1.
2025-07-17 22:05:11 +02:00
Felix Fontein
55ae448036
openssl_csr*: fix crash for key_usage idempotency check ( #935 )
...
* Fix crash for key_usage idempotency check.
* Add test.
2025-07-17 19:37:46 +02:00
Felix Fontein
e294890a5e
Prepare 3.0.1.
2025-07-17 17:19:04 +02:00
Felix Fontein
b908b5986a
Release 3.0.0.
2025-07-02 21:23:37 +02:00
Felix Fontein
6c304a2964
Prepare 3.0.0.
2025-07-02 21:02:43 +02:00
Felix Fontein
c7489b8d3c
acme_certificate: deprecate modify_account's default true, recommend to set to false ( #924 )
...
* Deprecate modify_account's default value.
* Show new default in all examples.
2025-06-25 20:59:28 +02:00
Felix Fontein
58bde04672
Relesae 3.0.0-rc1.
2025-06-14 17:10:13 +02:00
Felix Fontein
e537ea122f
Prepare 3.0.0-rc1.
2025-06-14 16:47:32 +02:00
Felix Fontein
056ae1cf69
acme_account: check for 'externalAccountRequired' error ( #919 )
...
* Check for 'externalAccountRequired' error.
* Add changelog fragment.
2025-06-12 22:41:07 +02:00
Felix Fontein
d83a923325
Ensure that *everything* is typed in community.crypto ( #917 )
...
* Ensure that *everything* is typed in community.crypto.
* Fix comment.
* Ignore type definitions/imports and AssertionErrors for code coverage.
2025-06-09 10:10:19 +02:00
Felix Fontein
e90d4d2b0f
Improve type hinting. ( #914 )
2025-06-08 20:48:58 +02:00
Felix Fontein
f68b0d0c08
Improve type hints. ( #913 )
2025-06-01 21:33:20 +02:00
Felix Fontein
576a06b5b2
Remove no longer needed backend abstractions. ( #912 )
2025-06-01 09:07:06 +02:00
Felix Fontein
d1a8137d91
Add changelog fragments.
2025-05-31 10:28:02 +02:00
Felix Fontein
31933955e3
CSR: avoid access of private attributes ( #910 )
...
* Avoid access of private attributes.
* Add changelog.
2025-05-30 22:46:39 +02:00
Felix Fontein
f3db4eeea5
Release 3.0.0-a2.
2025-05-22 22:06:10 +02:00
Felix Fontein
1b05480354
Prepare 3.0.0-a2.
2025-05-22 21:20:41 +02:00
Felix Fontein
43ea6148df
Remove Entrust modules and certificate providers ( #900 )
...
* Remove Entrust modules and certificate providers.
* Add more information on Entrust removal.
* Remove Entrust content from ignore.txt files.
* Work around bug in ansible-test.
2025-05-22 19:08:48 +00:00
Felix Fontein
94416989a8
Release 3.0.0-a1.
2025-05-18 14:33:13 +02:00
Felix Fontein
b08afe4237
Make all doc_fragments private. ( #898 )
2025-05-18 01:42:18 +02:00
Felix Fontein
9b8e4e81a9
Forgot to mention cryptography.
2025-05-18 01:31:21 +02:00
Felix Fontein
efda8596a5
Prepare 3.0.0-a1 release.
2025-05-18 01:09:30 +02:00
Felix Fontein
5fbf35df86
Deprecate no longer used options. ( #891 )
2025-05-16 22:23:05 +02:00
Felix Fontein
56f004dc63
More refactorings ( #890 )
...
* Improve typing.
* Improve version parameter validation for x509_certificate* modules.
* Use utils for parsing retry-after.
2025-05-16 21:53:18 +02:00
Felix Fontein
a5a4e022ba
Make all module_utils and plugin_utils private ( #887 )
...
* Add leading underscore. Remove deprecated module utils.
* Document module and plugin utils as private. Add changelog fragment.
* Convert relative to absolute imports.
* Remove unnecessary imports.
2025-05-11 19:17:58 +02:00
Felix Fontein
f758d94fba
Add type hints and type checking ( #885 )
...
* Enable basic type checking.
* Fix first errors.
* Add changelog fragment.
* Add types to module_utils and plugin_utils (without module backends).
* Add typing hints for acme_* modules.
* Add typing to X.509 certificate modules, and add more helpers.
* Add typing to remaining module backends.
* Add typing for action, filter, and lookup plugins.
* Bump ansible-core 2.19 beta requirement for typing.
* Add more typing definitions.
* Add typing to some unit tests.
2025-05-11 18:00:11 +02:00
Felix Fontein
83beb7148c
Remove six usages. ( #884 )
2025-05-03 11:12:29 +02:00
Felix Fontein
645b7bf9ed
Get rid of backend parameter whenever possible ( #883 )
...
* Get rid of backend parameter whenever possible.
* Always auto-detect if backend choices are 'cryptography' and 'auto', resp. always check cryptography version.
* Improve error message.
* Update documentation.
2025-05-03 10:46:53 +02:00
Felix Fontein
fbcb89f092
Support cryptography 3.3 ( #882 )
...
* Re-add Debian Bullseye to CI.
* Support cryptography 3.3 as well.
2025-05-02 21:42:06 +02:00
Felix Fontein
86db561193
Get rid of some to_native and to_text calls. ( #880 )
2025-05-02 15:58:39 +02:00
Felix Fontein
0b8f3306c7
Use unittest.mock. ( #881 )
2025-05-02 15:39:03 +02:00
Felix Fontein
5231ac8f3f
Remove support for cryptography < 3.4 ( #878 )
...
* Stop passing backend to cryptography.
* Make public_bytes() fallback the default.
* Remove compatibility code for older cryptography versions.
* Require cryptography 3.4+.
* Restrict to cryptography >= 3.4 in integration tests.
* Remove Debian Bullseye from CI.
It only supports cryptography 3.3.
* Improve imports.
* Remove no longer existing conditional.
2025-05-02 15:27:18 +02:00
Felix Fontein
65872e884f
Remove Python 2 specific code ( #877 )
...
* Get rid of Python 2 special handling.
* Get rid of more Python 2 specific handling.
* Stop using six.
* ipaddress is part of the standard library since Python 3.
* Add changelog.
* Fix import.
* Remove unneeded imports.
2025-05-01 16:21:13 +02:00
Felix Fontein
266082db72
Remove more traces of PyOpenSSL, including from EE dependencies ( #874 )
...
* Remove PyOpenSSL backends.
* Remove EOL ansible-core's from EE builds.
* Update Pythons in EEs.
* Remove pyopenssl tests.
2025-04-29 09:33:21 +02:00
Felix Fontein
d368d1943d
Bump version to 3.0.0-dev0, remove deprecated functionality and implement announced breaking changes ( #873 )
...
* Bump verison to 3.0.0-dev0.
* Change check mode behavior for *_pipe modules.
* Remove PyOpenSSL backend.
* Remove PyOpenSSL setup.
* Change default of asn1_base64.
* Remove deprecated common module utils.
* Remove get_default_argspec().
* Mark two methods as abstract.
* Remove ACME v1 support.
* Remove retrieve_acme_v1_certificate().
* Remove deprecated docs fragment.
* Change meaning of mode parameter.
* Mark no longer used option as 'to deprecate'.
2025-04-29 08:12:44 +02:00
Felix Fontein
f73a1ce590
Drop compatibility with older versions. ( #872 )
2025-04-28 21:45:42 +02:00
Felix Fontein
23de865563
Unvendor distutils.version ( #371 )
...
* Unvendor distutils.version.
* Fix version.
* Assume the collection requires ansible-core 2.12+.
This is valid since this only get merged for 3.0.0, which
will drop support for quite a few more ansible-core versions.
* Mark for re-export.
2025-04-28 14:30:37 +02:00
Felix Fontein
4e8a0e456b
Prepare basic 3.0.0 setup ( #870 )
...
* Drop support for ansible-core < 2.17.
* Galaxy can show included content nowadays. (Not perfect, but a lot better than before.)
* This should have been removed a long time ago.
2025-04-28 12:39:28 +02:00