Commit Graph

418 Commits (2f77ca1187607f7dccc0f184b02e98e6d437058f)

Author SHA1 Message Date
Felix Fontein 2f77ca1187 Release 1.9.26. 2024-08-28 17:38:23 +02:00
Felix Fontein bda99f1d77 Prepare 1.9.26 EOL release. 2024-08-28 17:33:43 +02:00
Felix Fontein bb76ea6412 Improve communication link description.
(cherry picked from commit f0b8073ea5)
2024-08-15 21:41:36 +02:00
patchback[bot] a8151e9c17
README: Add Communication section with Forum information (#790) (#791)
* README: Add Communication section with Forum information

* Insert tag, remove category.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit dc49cc6e26)

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2024-08-12 13:00:57 +02:00
patchback[bot] 6cd06848b5
Fix PKCS#12 tests. (#787) (#788)
(cherry picked from commit e1e60892a8)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-07-21 15:06:44 +02:00
patchback[bot] 0e3d5f7036
Fix CI for CentOS 7. (#774) (#775)
(cherry picked from commit aa30b4c803)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-07-01 14:28:09 +02:00
Felix Fontein 5cb53c0573 Removing Fedora 31 and 32 from CI. These images seem to no longer work. 2024-06-15 14:02:25 +02:00
patchback[bot] 7f2ebabc46
Use 2.9/2.10/2.11 from ansible-community/eol-ansible repo. (#769) (#770)
(cherry picked from commit e365ae3226)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-06-15 13:54:25 +02:00
Felix Fontein f640774589
[stable-1] Remove AZP, move all non-remote tests to GHA (#766)
* Remove AZP, move all non-remote tests to GHA.

* Try to improve CI.

* Another fix.
2024-06-10 22:13:55 +02:00
patchback[bot] b832d3aecc
Remove usage of old ACME test container. (#760) (#761)
(cherry picked from commit 7810e2c3bf)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-05-20 16:40:18 +02:00
Felix Fontein 2809bdc201 The next expected release is 1.9.26. 2024-05-20 11:59:35 +02:00
Felix Fontein 31579ed237 Release 1.9.25. 2024-05-20 11:30:53 +02:00
Felix Fontein b7159e0979 Disable CentOS 7 tests on 2.9 and 2.11. 2024-05-11 22:27:08 +02:00
patchback[bot] a92d900552
Pass codecov token to ansible-test-gh-action. (#755) (#756)
(cherry picked from commit 65ea02a73d)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-05-11 21:47:33 +02:00
patchback[bot] 29ed12e7fd
ecs_certificate: allow to request renewal without csr (#740) (#752)
* renew request CSR validation

* Create 740-ecs_certificate-renewal-without-csr

* Rename 740-ecs_certificate-renewal-without-csr to 740-ecs_certificate-renewal-without-csr.yml

---------

Co-authored-by: flovecchio <flovecchio@sorint.com>
(cherry picked from commit 29ac3cbe81)

Co-authored-by: francescolovecchio <francescolovecchio97@gmail.com>
2024-05-09 21:31:06 +02:00
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
Felix Fontein ec7b6b4285 macOS 12.0 no longer seems to run in CI. 2024-02-11 13:43:54 +01:00
Felix Fontein 4f6f7410f2
Add MarkDown changelog and use it by default. (#709) 2024-02-09 13:08:17 +01:00
Felix Fontein ea34992f03 Next expected release is 1.9.25. 2024-01-27 12:30:29 +01:00
Felix Fontein 9d59389fc0 Release 1.9.24. 2024-01-27 10:43:40 +01:00
Felix Fontein 1d26ee66ea
[stable-1] x509_certificate: handle unexpected error, fix test (#704)
* Handle unexpected error.

* Increase certificate key size on Darwin.

* Add changelog fragment.
2024-01-26 21:58:12 +01:00
Felix Fontein 642d6872d1
[stable-1] Disable consistency checking of RSA keys for cryptography 42.0.0 which no longer gives access to the required function (#703)
* Disable consistency checking of RSA keys for cryptography 42.0.0 which no longer gives access to the required function. (#702)

(cherry picked from commit 87af1f2761)

* Adjust tests to ignore key_is_consistent.
2024-01-26 19:27:40 +01:00
Felix Fontein 940a1aabd9 Disable certificate version 2 test for pyOpenSSL 24.0.0+. 2024-01-26 14:20:40 +01:00
Felix Fontein 8a8faa83e4 Prepare 1.9.24 release. 2024-01-25 23:49:23 +01:00
patchback[bot] 14d7e75faf
Fix openssl_dhparam. (#698) (#699)
(cherry picked from commit b57aa4a2ca)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-25 23:47:44 +01:00
Felix Fontein 4f27ae4011 Simplifiy workflows. (#696)
(cherry picked from commit 0bc15598d7)
2024-01-21 15:23:43 +01:00
patchback[bot] c9f2958fe4
Use import galaxy workflow from https://github.com/ansible-collections/community.docker/pull/754. (#694) (#695)
(cherry picked from commit fb3f68ca96)

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-01-13 23:13:36 +01:00
Felix Fontein f9f8456ee9
Remove FreeBSD 12.4 from CI. (#691) 2023-12-31 15:36:48 +01:00
patchback[bot] 7246b7e752
Add new error message. (#688) (#689)
(cherry picked from commit 033b456b7a)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-12-20 13:50:17 +01:00
Felix Fontein 329e908e84 Deactivate FreeBSD 13.1 in CI. 2023-12-10 14:29:10 +01:00
patchback[bot] d795facb29
Fix bad expressions in tests. (#677) (#678)
ci_complete

(cherry picked from commit 29cd0b3bde)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-11-29 06:53:36 +01:00
Felix Fontein c5f29f85ce Stick to pre-semantic-markup version. 2023-11-12 14:20:01 +01:00
Felix Fontein af119267cc Next expected release is 1.9.24. 2023-10-29 16:00:51 +01:00
Felix Fontein 9e367e1d42 Release 1.9.23. 2023-10-29 15:32:31 +01:00
Felix Fontein cb747236d9
[stable-1] openssl_pkcs12: handle pyOpenSSL 23.3.0, which removed PKCS#12 support (#668)
* Handle pyOpenSSL 23.3.0, which removed PKCS#12 support (at least partially). (#666)

(cherry picked from commit d1299c11d6)

* Try to fix FreeBSD 13.1 failures in CI.
2023-10-28 22:13:20 +02:00
patchback[bot] b73bd91783
Fix Galaxy URLs. (#658) (#659)
(cherry picked from commit 5f4fc95c50)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-09-30 22:48:50 +02:00
Felix Fontein 21632bf044
Bump FreeBSD versions on stable-2.13. (#650) 2023-08-15 07:14:35 +02:00
patchback[bot] a836169da4
Bump AZP container. (#629) (#630)
(cherry picked from commit b40a1c54f7)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-06-24 16:29:51 +02:00
Felix Fontein ce93a9a2db Next expected release is 1.9.23. 2023-06-15 13:25:53 +02:00
Felix Fontein 52407bd8d8 Release 1.9.22. 2023-06-15 13:01:33 +02:00
patchback[bot] 9ef079efab
Fix example. (#620) (#621)
(cherry picked from commit a7e9bb7618)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-06-09 12:58:39 +02:00
Felix Fontein afd2bd3bad
Move ansible-core 2.12 to EOL CI (#609) (#610)
* https://github.com/ansible/ansible/pull/79734 has been merged and backported for all branches but stable-2.10 and stable-2.11.

* Move ansible-core 2.12 to EOL CI.

(cherry picked from commit 0d30a3793a)
2023-05-29 18:33:26 +02:00
Felix Fontein 022b011a90
Switch to Ansible Galaxy compatible requirements files for tests. (#607) (#608)
(cherry picked from commit e3bc22f7d5)
2023-05-21 14:38:13 +02:00
patchback[bot] 7a1494cbe4
Always generate a new key pair if the private key doesn't exist (#598) (#599)
* Always generate a new key pair if the private key doesn't exist (#597)

This commit updates `KeypairBackend._should_generate()` to first check
if the original private key named by the `path` argument exists, and
return True if it does not. This brings the code in line with
the documentation, which says that a new key will always be generated if
the key file doesn't already exist.

As an alternative to the approach implemented here, I also considered
only modifying the condition in the `fail` branch of the if statement,
but I thought that would not map as cleanly to the behavior specified in
the documentation, so doing it the way I did should make it easier to
check that the code is doing the right thing just by looking at it.
I also considered doing something to make the logic more similar to
`PrivateKeyBackend.needs_regeneration()` (the openssl version of this
functionality), because the two are supposed to be acting the same way,
but I thought that'd be going beyond the scope of just fixing this bug.
If it'd be useful to make both methods work the same way, someone can
refactor the code in a future commit.

* Test different regenerate values with nonexistent keys

This commit changes the test task that generates new keys to use each of
the different values for the `regenerate` argument, which will ensure
that the module is capable of generating a key when no previous key
exists regardless of the value of `regenerate`. Previously, the task
would always run with the `partial_idempotence` value, and that obscured
a bug (#597) that would occur when it was set to `fail`. The bug was
fixed in the previous commit.

(cherry picked from commit ce3299f106)

Co-authored-by: David Zaslavsky <diazona@ellipsix.net>
2023-05-01 21:34:10 +02:00
Felix Fontein 2b98c0b250 The next release will be 1.9.22. 2023-04-16 20:07:23 +02:00
Felix Fontein f10504e95f Release 1.9.21. 2023-04-16 19:47:19 +02:00
patchback[bot] 7fbe649dc6
Do extra docs validation; explicitly disallow semantic markup in docs (#593) (#594)
* Do extra docs validation. Explicitly disallow semantic markup in docs.

* Forgot to add new requirement.

* Improve test.

* TEMP - make CI fail.

* Revert "TEMP - make CI fail."

This reverts commit a71b8901c1.

* Remove unnecessary import.

* Make sure ANSIBLE_COLLECTIONS_PATH is set.

* Make sure sanity tests from older Ansible versions don't complain.

(cherry picked from commit ceabef7e58)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-04-16 18:55:26 +02:00
Felix Fontein 11e7232bd6 For some reason some 2.9 tests were still running in AZP. 2023-04-09 14:27:39 +02:00
patchback[bot] 9fc27e74f8
Use curl instead of get_url on Python 2.6. (#585) (#586)
(cherry picked from commit 0829bc641e)

Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-22 21:30:53 +01:00
patchback[bot] 1572c10384
fix(doc): privatekey_content docs were the same as privatekey_path (#583) (#584)
(cherry picked from commit b997773139)

Co-authored-by: Thomas Anderson <tnyeanderson@users.noreply.github.com>
2023-03-21 18:02:40 +01:00