Debian Codegraph @

ansible_collections/community/crypto/changelogs/changelog.yaml

raw
1 ---
2 ancestor: null
3 releases:
4 1.0.0:
5 changes:
6 bugfixes:
7 - 'ACME modules: fix bug in ACME v1 account update code'
8 - 'ACME modules: make sure some connection errors are handled properly'
9 - 'ACME modules: support Buypass'' ACME v1 endpoint'
10 - acme_certificate - fix crash when module is used with Python 2.x.
11 - acme_certificate - fix misbehavior when ACME v1 is used with ``modify_account``
12 set to ``false``.
13 - 'ecs_certificate - Always specify header ``connection: keep-alive`` for
14 ECS API connections.'
15 - ecs_certificate - Fix formatting of contents of ``full_chain_path``.
16 - get_certificate - Fix cryptography backend when pyopenssl is unavailable
17 (https://github.com/ansible/ansible/issues/67900)
18 - openssh_keypair - add logic to avoid breaking password protected keys.
19 - openssh_keypair - fixes idempotence issue with public key (https://github.com/ansible/ansible/issues/64969).
20 - openssh_keypair - public key's file attributes (permissions, owner, group,
21 etc.) are now set to the same values as the private key.
22 - openssl_* modules - prevent crash on fingerprint determination in FIPS mode
23 (https://github.com/ansible/ansible/issues/67213).
24 - 'openssl_certificate - When provider is ``entrust``, use a ``connection:
25 keep-alive`` header for ECS API connections.'
26 - openssl_certificate - ``provider`` option was documented as required, but
27 it was not checked whether it was provided. It is now only required when
28 ``state`` is ``present``.
29 - openssl_certificate - fix ``assertonly`` provider certificate verification,
30 causing 'private key mismatch' and 'subject mismatch' errors.
31 - openssl_certificate and openssl_csr - fix Ed25519 and Ed448 private key
32 support for ``cryptography`` backend. This probably needs at least cryptography
33 2.8, since older versions have problems with signing certificates or CSRs
34 with such keys. (https://github.com/ansible/ansible/issues/59039, PR https://github.com/ansible/ansible/pull/63984)
35 - openssl_csr - a warning is issued if an unsupported value for ``version``
36 is used for the ``cryptography`` backend.
37 - openssl_csr - the module will now enforce that ``privatekey_path`` is specified
38 when ``state=present``.
39 - openssl_publickey - fix a module crash caused when pyOpenSSL is not installed
40 (https://github.com/ansible/ansible/issues/67035).
41 deprecated_features:
42 - openssl_csr - all values for the ``version`` option except ``1`` are deprecated.
43 The value 1 denotes the current only standardized CSR version.
44 minor_changes:
45 - luks_device - accept ``passphrase``, ``new_passphrase`` and ``remove_passphrase``.
46 - luks_device - add ``keysize`` parameter to set key size at LUKS container
47 creation
48 - luks_device - added support to use UUIDs, and labels with LUKS2 containers
49 - luks_device - added the ``type`` option that allows user explicit define
50 the LUKS container format version
51 - openssh_keypair - instead of regenerating some broken or password protected
52 keys, fail the module. Keys can still be regenerated by calling the module
53 with ``force=yes``.
54 - openssh_keypair - the ``regenerate`` option allows to configure the module's
55 behavior when it should or needs to regenerate private keys.
56 - openssl_* modules - the cryptography backend now properly supports ``dirName``,
57 ``otherName`` and ``RID`` (Registered ID) names.
58 - openssl_certificate - Add option for changing which ACME directory to use
59 with acme-tiny. Set the default ACME directory to Let's Encrypt instead
60 of using acme-tiny's default. (acme-tiny also uses Let's Encrypt at the
61 time being, so no action should be necessary.)
62 - openssl_certificate - Change the required version of acme-tiny to >= 4.0.0
63 - openssl_certificate - allow to provide content of some input files via the
64 ``csr_content``, ``privatekey_content``, ``ownca_privatekey_content`` and
65 ``ownca_content`` options.
66 - openssl_certificate - allow to return the existing/generated certificate
67 directly as ``certificate`` by setting ``return_content`` to ``yes``.
68 - openssl_certificate_info - allow to provide certificate content via ``content``
69 option (https://github.com/ansible/ansible/issues/64776).
70 - openssl_csr - Add support for specifying the SAN ``otherName`` value in
71 the OpenSSL ASN.1 UTF8 string format, ``otherName:<OID>;UTF8:string value``.
72 - openssl_csr - allow to provide private key content via ``private_key_content``
73 option.
74 - openssl_csr - allow to return the existing/generated CSR directly as ``csr``
75 by setting ``return_content`` to ``yes``.
76 - openssl_csr_info - allow to provide CSR content via ``content`` option.
77 - openssl_dhparam - allow to return the existing/generated DH params directly
78 as ``dhparams`` by setting ``return_content`` to ``yes``.
79 - openssl_dhparam - now supports a ``cryptography``-based backend. Auto-detection
80 can be overwritten with the ``select_crypto_backend`` option.
81 - openssl_pkcs12 - allow to return the existing/generated PKCS#12 directly
82 as ``pkcs12`` by setting ``return_content`` to ``yes``.
83 - openssl_privatekey - add ``format`` and ``format_mismatch`` options.
84 - openssl_privatekey - allow to return the existing/generated private key
85 directly as ``privatekey`` by setting ``return_content`` to ``yes``.
86 - openssl_privatekey - the ``regenerate`` option allows to configure the module's
87 behavior when it should or needs to regenerate private keys.
88 - openssl_privatekey_info - allow to provide private key content via ``content``
89 option.
90 - openssl_publickey - allow to provide private key content via ``private_key_content``
91 option.
92 - openssl_publickey - allow to return the existing/generated public key directly
93 as ``publickey`` by setting ``return_content`` to ``yes``.
94 release_summary: 'This is the first proper release of the ``community.crypto``
95 collection. This changelog contains all changes to the modules in this collection
96 that were added after the release of Ansible 2.9.0.
97
98 '
99 removed_features:
100 - The ``letsencrypt`` module has been removed. Use ``acme_certificate`` instead.
101 fragments:
102 - 1.0.0.yml
103 - 52408-luks-device.yaml
104 - 58973-luks_device_add-type-option.yml
105 - 58973_luks_device-add-label-and-uuid-support.yml
106 - 60388-openssl_privatekey-format.yml
107 - 61522-luks-device-add-option-to-define-keysize.yml
108 - 61658-openssh_keypair-public-key-permissions.yml
109 - 61693-acme-buypass-acme-v1.yml
110 - 61738-ecs-certificate-invalid-chain.yaml
111 - 62218-fix-to-entrust-api.yml
112 - 62790-openssl_certificate_fix_assert.yml
113 - 62991-openssl_dhparam-cryptography-backend.yml
114 - 63140-acme-fix-fetch-url-status-codes.yaml
115 - 63432-openssl_csr-version.yml
116 - 63984-openssl-ed25519-ed448.yml
117 - 64436-openssh_keypair-add-password-protected-key-check.yml
118 - 64501-fix-python2.x-backward-compatibility.yaml
119 - 64648-acme_certificate-acmev1.yml
120 - 65017-openssh_keypair-idempotence.yml
121 - 65400-openssl-output.yml
122 - 65435-openssl_csr-privatekey_path-required.yml
123 - 65633-crypto-argspec-fixup.yml
124 - 66384-openssl-content.yml
125 - 67036-openssl_publickey-backend.yml
126 - 67038-openssl-openssh-key-regenerate.yml
127 - 67109-openssl_certificate-acme-directory.yaml
128 - 67515-openssl-fingerprint-fips.yml
129 - 67669-cryptography-names.yml
130 - 67901-get_certificate-fix-cryptography.yml
131 - letsencrypt.yml
132 - openssl_csr-otherName.yml
133 modules:
134 - description: Request validation of a domain with the Entrust Certificate Services
135 (ECS) API
136 name: ecs_domain
137 namespace: ''
138 - description: Generate Certificate Revocation Lists (CRLs)
139 name: x509_crl
140 namespace: ''
141 - description: Retrieve information on Certificate Revocation Lists (CRLs)
142 name: x509_crl_info
143 namespace: ''
144 release_date: '2020-07-03'
145 1.1.0:
146 changes:
147 bugfixes:
148 - acme_inspect - fix problem with Python 3.5 that JSON was not decoded (https://github.com/ansible-collections/community.crypto/issues/86).
149 - get_certificate - fix ``ca_cert`` option handling when ``proxy_host`` is
150 used (https://github.com/ansible-collections/community.crypto/pull/84).
151 - openssl_*, x509_* modules - fix handling of general names which refer to
152 IP networks and not IP addresses (https://github.com/ansible-collections/community.crypto/pull/92).
153 minor_changes:
154 - acme_account - add ``external_account_binding`` option to allow creation
155 of ACME accounts with External Account Binding (https://github.com/ansible-collections/community.crypto/issues/89).
156 - 'acme_certificate - allow new selector ``test_certificates: first`` for
157 ``select_chain`` parameter (https://github.com/ansible-collections/community.crypto/pull/102).'
158 - cryptography backends - support arbitrary dotted OIDs (https://github.com/ansible-collections/community.crypto/issues/39).
159 - get_certificate - add support for SNI (https://github.com/ansible-collections/community.crypto/issues/69).
160 - luks_device - add support for encryption options on container creation (https://github.com/ansible-collections/community.crypto/pull/97).
161 - openssh_cert - add support for PKCS#11 tokens (https://github.com/ansible-collections/community.crypto/pull/95).
162 - openssl_certificate - the PyOpenSSL backend now uses 160 bits of randomness
163 for serial numbers, instead of a random number between 1000 and 99999. Please
164 note that this is not a high quality random number (https://github.com/ansible-collections/community.crypto/issues/76).
165 - openssl_csr - add support for name constraints extension (https://github.com/ansible-collections/community.crypto/issues/46).
166 - openssl_csr_info - add support for name constraints extension (https://github.com/ansible-collections/community.crypto/issues/46).
167 release_summary: 'Release for Ansible 2.10.0.
168
169 '
170 fragments:
171 - 1.1.0.yml
172 - 100-acme-account-external-account-binding.yml
173 - 102-acme-certificate-select-chain-first.yml
174 - 87-acme_inspect-python-3.5.yml
175 - 90-cryptography-oids.yml
176 - 90-openssl_certificate-pyopenssl-serial.yml
177 - 92-ip-networks.yml
178 - 92-openssl_csr-name-constraints.yml
179 - get_certificate-add_support_for_SNI.yml
180 - luks_device-add_encryption_option_on_create.yml
181 - openssh_cert-pkcs11.yml
182 modules:
183 - description: Sign data with openssl
184 name: openssl_signature
185 namespace: ''
186 - description: Verify signatures with openssl
187 name: openssl_signature_info
188 namespace: ''
189 release_date: '2020-08-18'
190 1.1.1:
191 changes:
192 bugfixes:
193 - meta/runtime.yml - convert Ansible version numbers for old names of modules
194 to collection version numbers (https://github.com/ansible-collections/community.crypto/pull/108).
195 - openssl_csr - improve handling of IDNA errors (https://github.com/ansible-collections/community.crypto/issues/105).
196 release_summary: Bugfixes for Ansible 2.10.0.
197 fragments:
198 - 1.1.1.yml
199 - 106-openssl_csr-idna-errors.yml
200 - 108-meta-runtime-versions.yml
201 release_date: '2020-09-14'
202 1.2.0:
203 changes:
204 bugfixes:
205 - openssl_pkcs12 - do not crash when reading PKCS#12 file which has no private
206 key and/or no main certificate (https://github.com/ansible-collections/community.crypto/issues/103).
207 minor_changes:
208 - acme_certificate - allow to pass CSR file as content with new option ``csr_content``
209 (https://github.com/ansible-collections/community.crypto/pull/115).
210 - x509_certificate_info - add ``fingerprints`` return value which returns
211 certificate fingerprints (https://github.com/ansible-collections/community.crypto/pull/121).
212 release_summary: Please note that this release fixes a security issue (CVE-2020-25646).
213 security_fixes:
214 - openssl_csr - the option ``privatekey_content`` was not marked as ``no_log``,
215 resulting in it being dumped into the system log by default, and returned
216 in the registered results in the ``invocation`` field (CVE-2020-25646, https://github.com/ansible-collections/community.crypto/pull/125).
217 - openssl_privatekey_info - the option ``content`` was not marked as ``no_log``,
218 resulting in it being dumped into the system log by default, and returned
219 in the registered results in the ``invocation`` field (CVE-2020-25646, https://github.com/ansible-collections/community.crypto/pull/125).
220 - openssl_publickey - the option ``privatekey_content`` was not marked as
221 ``no_log``, resulting in it being dumped into the system log by default,
222 and returned in the registered results in the ``invocation`` field (CVE-2020-25646,
223 https://github.com/ansible-collections/community.crypto/pull/125).
224 - openssl_signature - the option ``privatekey_content`` was not marked as
225 ``no_log``, resulting in it being dumped into the system log by default,
226 and returned in the registered results in the ``invocation`` field (CVE-2020-25646,
227 https://github.com/ansible-collections/community.crypto/pull/125).
228 - x509_certificate - the options ``privatekey_content`` and ``ownca_privatekey_content``
229 were not marked as ``no_log``, resulting in it being dumped into the system
230 log by default, and returned in the registered results in the ``invocation``
231 field (CVE-2020-25646, https://github.com/ansible-collections/community.crypto/pull/125).
232 - x509_crl - the option ``privatekey_content`` was not marked as ``no_log``,
233 resulting in it being dumped into the system log by default, and returned
234 in the registered results in the ``invocation`` field (CVE-2020-25646, https://github.com/ansible-collections/community.crypto/pull/125).
235 fragments:
236 - 1.2.0.yml
237 - 109-openssl_pkcs12-crash-no-cert-key.yml
238 - 115-acme_certificate-csr_content.yml
239 - 121-x509_certificate_info-fingerprints.yml
240 - cve-2020-25646.yml
241 release_date: '2020-10-13'
242 1.3.0:
243 changes:
244 bugfixes:
245 - openssl_pkcs12 - report the correct state when ``action`` is ``parse`` (https://github.com/ansible-collections/community.crypto/issues/143).
246 - support code - improve handling of certificate and certificate signing request
247 (CSR) loading with the ``cryptography`` backend when errors occur (https://github.com/ansible-collections/community.crypto/issues/138,
248 https://github.com/ansible-collections/community.crypto/pull/139).
249 - x509_certificate - fix ``entrust`` provider, which was broken since community.crypto
250 0.1.0 due to a feature added before the collection move (https://github.com/ansible-collections/community.crypto/pull/135).
251 minor_changes:
252 - openssh_cert - add module parameter ``use_agent`` to enable using signing
253 keys stored in ssh-agent (https://github.com/ansible-collections/community.crypto/issues/116).
254 - openssl_csr - refactor module to allow code reuse by openssl_csr_pipe (https://github.com/ansible-collections/community.crypto/pull/123).
255 - openssl_privatekey - refactor module to allow code reuse by openssl_privatekey_pipe
256 (https://github.com/ansible-collections/community.crypto/pull/119).
257 - openssl_privatekey - the elliptic curve ``secp192r1`` now triggers a security
258 warning. Elliptic curves of at least 224 bits should be used for new keys;
259 see `here <https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ec.html#elliptic-curves>`_
260 (https://github.com/ansible-collections/community.crypto/pull/132).
261 - x509_certificate - for the ``selfsigned`` provider, a CSR is not required
262 anymore. If no CSR is provided, the module behaves as if a minimal CSR which
263 only contains the public key has been provided (https://github.com/ansible-collections/community.crypto/issues/32,
264 https://github.com/ansible-collections/community.crypto/pull/129).
265 - x509_certificate - refactor module to allow code reuse by x509_certificate_pipe
266 (https://github.com/ansible-collections/community.crypto/pull/135).
267 release_summary: 'Contains new modules ``openssl_privatekey_pipe``, ``openssl_csr_pipe``
268 and ``x509_certificate_pipe`` which allow to create or update private keys,
269 CSRs and X.509 certificates without having to write them to disk.
270
271 '
272 fragments:
273 - 1.3.0.yml
274 - 117-openssh_cert-use-ssh-agent.yml
275 - 129-x509_certificate-no-csr-selfsigned.yml
276 - 132-openssl_privatekey-ecc-order.yml
277 - 135-x509_certificate-entrust.yml
278 - 139-improve-error-handling.yml
279 - 145-add-check-for-parsed-pkcs12-files.yml
280 - privatekey-csr-certificate-refactoring.yml
281 modules:
282 - description: Generate OpenSSL Certificate Signing Request (CSR)
283 name: openssl_csr_pipe
284 namespace: ''
285 - description: Generate OpenSSL private keys without disk access
286 name: openssl_privatekey_pipe
287 namespace: ''
288 - description: Generate and/or check OpenSSL certificates
289 name: x509_certificate_pipe
290 namespace: ''
291 release_date: '2020-11-24'
292 1.4.0:
293 changes:
294 bugfixes:
295 - acme_certificate - error when requested challenge type is not found for
296 non-valid challenges, instead of hanging on step 2 (https://github.com/ansible-collections/community.crypto/issues/171,
297 https://github.com/ansible-collections/community.crypto/pull/173).
298 minor_changes:
299 - The ACME module_utils has been relicensed back from the Simplified BSD License
300 (https://opensource.org/licenses/BSD-2-Clause) to the GPLv3+ (same license
301 used by most other code in this collection). This undoes a licensing change
302 when the original GPLv3+ licensed code was moved to module_utils in https://github.com/ansible/ansible/pull/40697
303 (https://github.com/ansible-collections/community.crypto/pull/165).
304 - The ``crypto/identify.py`` module_utils has been renamed to ``crypto/pem.py``
305 (https://github.com/ansible-collections/community.crypto/pull/166).
306 - luks_device - ``new_keyfile``, ``new_passphrase``, ``remove_keyfile`` and
307 ``remove_passphrase`` are now idempotent (https://github.com/ansible-collections/community.crypto/issues/19,
308 https://github.com/ansible-collections/community.crypto/pull/168).
309 - luks_device - allow to configure PBKDF (https://github.com/ansible-collections/community.crypto/pull/163).
310 - openssl_csr, openssl_csr_pipe - allow to specify CRL distribution endpoints
311 with ``crl_distribution_points`` (https://github.com/ansible-collections/community.crypto/issues/147,
312 https://github.com/ansible-collections/community.crypto/pull/167).
313 - openssl_pkcs12 - allow to specify certificate bundles in ``other_certificates``
314 by using new option ``other_certificates_parse_all`` (https://github.com/ansible-collections/community.crypto/issues/149,
315 https://github.com/ansible-collections/community.crypto/pull/166).
316 release_summary: Release with several new features and bugfixes.
317 fragments:
318 - 1.4.0.yml
319 - 163-luks-pbkdf.yml
320 - 166-openssl_pkcs12-certificate-bundles.yml
321 - 167-openssl_csr-crl-distribution-points.yml
322 - 168-luks_device-add-remove-idempotence.yml
323 - 173-acme_certificate-wrong-challenge.yml
324 - acme-module-utils-relicense.yml
325 release_date: '2021-01-26'
326 1.5.0:
327 changes:
328 bugfixes:
329 - openssl_csr - no longer fails when comparing CSR without basic constraint
330 when ``basic_constraints`` is specified (https://github.com/ansible-collections/community.crypto/issues/179,
331 https://github.com/ansible-collections/community.crypto/pull/180).
332 deprecated_features:
333 - acme_account_info - when ``retrieve_orders=url_list``, ``orders`` will no
334 longer be returned in community.crypto 2.0.0. Use ``order_uris`` instead
335 (https://github.com/ansible-collections/community.crypto/pull/178).
336 minor_changes:
337 - acme_account_info - when ``retrieve_orders`` is not ``ignore`` and the ACME
338 server allows to query orders, the new return value ``order_uris`` is always
339 populated with a list of URIs (https://github.com/ansible-collections/community.crypto/pull/178).
340 - luks_device - allow to specify sector size for LUKS2 containers with new
341 ``sector_size`` parameter (https://github.com/ansible-collections/community.crypto/pull/193).
342 release_summary: Regular feature and bugfix release. Deprecates a return value.
343 fragments:
344 - 1.5.0.yml
345 - 178-acme_account_info-orders-urls.yml
346 - 179-openssl-csr-basic-constraint.yml
347 - 193-luks_device-sector_size.yml
348 release_date: '2021-03-08'
349 1.6.0:
350 changes:
351 bugfixes:
352 - action_module plugin helper - make compatible with latest changes in ansible-core
353 2.11.0b3 (https://github.com/ansible-collections/community.crypto/pull/202).
354 - openssl_privatekey_pipe - make compatible with latest changes in ansible-core
355 2.11.0b3 (https://github.com/ansible-collections/community.crypto/pull/202).
356 deprecated_features:
357 - acme module_utils - the ``acme`` module_utils (``ansible_collections.community.crypto.plugins.module_utils.acme``)
358 is deprecated and will be removed in community.crypto 2.0.0. Use the new
359 Python modules in the ``acme`` package instead (``ansible_collections.community.crypto.plugins.module_utils.acme.xxx``)
360 (https://github.com/ansible-collections/community.crypto/pull/184).
361 minor_changes:
362 - acme module_utils - the ``acme`` module_utils has been split up into several
363 Python modules (https://github.com/ansible-collections/community.crypto/pull/184).
364 - acme_* modules - codebase refactor which should not be visible to end-users
365 (https://github.com/ansible-collections/community.crypto/pull/184).
366 - acme_* modules - support account key passphrases for ``cryptography`` backend
367 (https://github.com/ansible-collections/community.crypto/issues/197, https://github.com/ansible-collections/community.crypto/pull/207).
368 - acme_certificate_revoke - support revoking by private keys that are passphrase
369 protected for ``cryptography`` backend (https://github.com/ansible-collections/community.crypto/pull/207).
370 - acme_challenge_cert_helper - add ``private_key_passphrase`` parameter (https://github.com/ansible-collections/community.crypto/pull/207).
371 release_summary: Fixes compatibility issues with the latest ansible-core 2.11
372 beta, and contains a lot of internal refactoring for the ACME modules and
373 support for private key passphrases for them.
374 fragments:
375 - 1.6.0.yml
376 - 184-acme-refactor.yml
377 - 202-actionmodule-plugin-utils-ansible-core-2.11.yml
378 - 207-acme-account-key-passphrase.yml
379 release_date: '2021-03-22'
380 1.6.1:
381 changes:
382 bugfixes:
383 - acme_* modules - fix wrong usages of ``ACMEProtocolException`` (https://github.com/ansible-collections/community.crypto/pull/216,
384 https://github.com/ansible-collections/community.crypto/pull/217).
385 release_summary: Bugfix release.
386 fragments:
387 - 1.6.1.yml
388 - 217-acme-exceptions.yml
389 release_date: '2021-04-11'
390 1.6.2:
391 changes:
392 bugfixes:
393 - acme_* modules - avoid crashing for ACME servers where the ``meta`` directory
394 key is not present (https://github.com/ansible-collections/community.crypto/issues/220,
395 https://github.com/ansible-collections/community.crypto/pull/221).
396 release_summary: Bugfix release. Fixes compatibility issue of ACME modules with
397 step-ca.
398 fragments:
399 - 1.6.2.yml
400 - 221-acme-meta.yml
401 release_date: '2021-04-28'
402 1.7.0:
403 changes:
404 bugfixes:
405 - openssh_keypair - fix ``check_mode`` to populate return values for existing
406 keypairs (https://github.com/ansible-collections/community.crypto/issues/113,
407 https://github.com/ansible-collections/community.crypto/pull/230).
408 - various modules - prevent crashes when modules try to set attributes on
409 not yet existing files in check mode. This will be fixed in ansible-core
410 2.12, but it is not backported to every Ansible version we support (https://github.com/ansible-collections/community.crypto/issue/242,
411 https://github.com/ansible-collections/community.crypto/pull/243).
412 - x509_certificate - fix crash when ``assertonly`` provider is used and some
413 error conditions should be reported (https://github.com/ansible-collections/community.crypto/issues/240,
414 https://github.com/ansible-collections/community.crypto/pull/241).
415 minor_changes:
416 - cryptography_openssh module utils - new module_utils for managing asymmetric
417 keypairs and OpenSSH formatted/encoded asymmetric keypairs (https://github.com/ansible-collections/community.crypto/pull/213).
418 - openssh_keypair - added ``backend`` parameter for selecting between the
419 cryptography library or the OpenSSH binary for the execution of actions
420 performed by ``openssh_keypair`` (https://github.com/ansible-collections/community.crypto/pull/236).
421 - openssh_keypair - added ``passphrase`` parameter for encrypting/decrypting
422 OpenSSH private keys (https://github.com/ansible-collections/community.crypto/pull/225).
423 - openssl_csr - add diff mode (https://github.com/ansible-collections/community.crypto/issues/38,
424 https://github.com/ansible-collections/community.crypto/pull/150).
425 - openssl_csr_info - now returns ``public_key_type`` and ``public_key_data``
426 (https://github.com/ansible-collections/community.crypto/pull/233).
427 - openssl_csr_info - refactor module to allow code reuse for diff mode (https://github.com/ansible-collections/community.crypto/pull/204).
428 - openssl_csr_pipe - add diff mode (https://github.com/ansible-collections/community.crypto/issues/38,
429 https://github.com/ansible-collections/community.crypto/pull/150).
430 - openssl_pkcs12 - added option ``select_crypto_backend`` and a ``cryptography``
431 backend. This requires cryptography 3.0 or newer, and does not support the
432 ``iter_size`` and ``maciter_size`` options (https://github.com/ansible-collections/community.crypto/pull/234).
433 - openssl_privatekey - add diff mode (https://github.com/ansible-collections/community.crypto/issues/38,
434 https://github.com/ansible-collections/community.crypto/pull/150).
435 - openssl_privatekey_info - refactor module to allow code reuse for diff mode
436 (https://github.com/ansible-collections/community.crypto/pull/205).
437 - openssl_privatekey_pipe - add diff mode (https://github.com/ansible-collections/community.crypto/issues/38,
438 https://github.com/ansible-collections/community.crypto/pull/150).
439 - openssl_publickey - add diff mode (https://github.com/ansible-collections/community.crypto/issues/38,
440 https://github.com/ansible-collections/community.crypto/pull/150).
441 - x509_certificate - add diff mode (https://github.com/ansible-collections/community.crypto/issues/38,
442 https://github.com/ansible-collections/community.crypto/pull/150).
443 - x509_certificate_info - now returns ``public_key_type`` and ``public_key_data``
444 (https://github.com/ansible-collections/community.crypto/pull/233).
445 - x509_certificate_info - refactor module to allow code reuse for diff mode
446 (https://github.com/ansible-collections/community.crypto/pull/206).
447 - x509_certificate_pipe - add diff mode (https://github.com/ansible-collections/community.crypto/issues/38,
448 https://github.com/ansible-collections/community.crypto/pull/150).
449 - x509_crl - add diff mode (https://github.com/ansible-collections/community.crypto/issues/38,
450 https://github.com/ansible-collections/community.crypto/pull/150).
451 - x509_crl_info - add ``list_revoked_certificates`` option to avoid enumerating
452 all revoked certificates (https://github.com/ansible-collections/community.crypto/pull/232).
453 - x509_crl_info - refactor module to allow code reuse for diff mode (https://github.com/ansible-collections/community.crypto/pull/203).
454 release_summary: Regular feature and bugfix release.
455 fragments:
456 - 1.7.0.yml
457 - 150-diff.yml
458 - 203-x509_crl_info.yml
459 - 204-openssl_csr_info.yml
460 - 205-openssl_privatekey_info.yml
461 - 206-x509_certificate_info.yml
462 - 213-cryptography-openssh-module-utils.yml
463 - 225-openssh-keypair-passphrase.yml
464 - 230-openssh_keypair-check_mode-return-values.yml
465 - 232-x509_crl_info-list_revoked_certificates.yml
466 - 233-public-key-info.yml
467 - 234-openssl_pkcs12-cryptography.yml
468 - 236-openssh_keypair-backends.yml
469 - 241-x509_certificate-assertonly.yml
470 - 243-permission-check-crash.yml
471 modules:
472 - description: Provide information for OpenSSL public keys
473 name: openssl_publickey_info
474 namespace: ''
475 release_date: '2021-06-02'
476 1.7.1:
477 changes:
478 bugfixes:
479 - openssl_pkcs12 - fix crash when loading passphrase-protected PKCS#12 files
480 with ``cryptography`` backend (https://github.com/ansible-collections/community.crypto/issues/247,
481 https://github.com/ansible-collections/community.crypto/pull/248).
482 release_summary: Bugfix release.
483 fragments:
484 - 1.7.1.yml
485 - 248-openssl_pkcs12-passphrase-fix.yml
486 release_date: '2021-06-11'
487 1.8.0:
488 changes:
489 bugfixes:
490 - openssh_cert - fixed certificate generation to restore original certificate
491 if an error is encountered (https://github.com/ansible-collections/community.crypto/pull/255).
492 - openssh_keypair - fixed a bug that prevented custom file attributes being
493 applied to public keys (https://github.com/ansible-collections/community.crypto/pull/257).
494 minor_changes:
495 - Avoid internal ansible-core module_utils in favor of equivalent public API
496 available since at least Ansible 2.9 (https://github.com/ansible-collections/community.crypto/pull/253).
497 - openssh certificate module utils - new module_utils for parsing OpenSSH
498 certificates (https://github.com/ansible-collections/community.crypto/pull/246).
499 - openssh_cert - added ``regenerate`` option to validate additional certificate
500 parameters which trigger regeneration of an existing certificate (https://github.com/ansible-collections/community.crypto/pull/256).
501 - openssh_cert - adding ``diff`` support (https://github.com/ansible-collections/community.crypto/pull/255).
502 release_summary: Regular bugfix and feature release.
503 fragments:
504 - 1.8.0.yml
505 - 246-openssh-certificate-module-utils.yml
506 - 255-openssh_cert-adding-diff-support.yml
507 - 256-openssh_cert-adding-idempotency-option.yml
508 - 257-openssh-keypair-fix-pubkey-permissions.yml
509 - ansible-core-_text.yml
510 release_date: '2021-08-10'
511 1.9.0:
512 changes:
513 bugfixes:
514 - keypair_backend module utils - simplify code to pass sanity tests (https://github.com/ansible-collections/community.crypto/pull/263).
515 - openssh_keypair - fixed ``cryptography`` backend to preserve original file
516 permissions when regenerating a keypair requires existing files to be overwritten
517 (https://github.com/ansible-collections/community.crypto/pull/260).
518 - openssh_keypair - fixed error handling to restore original keypair if regeneration
519 fails (https://github.com/ansible-collections/community.crypto/pull/260).
520 - x509_crl - restore inherited function signature to pass sanity tests (https://github.com/ansible-collections/community.crypto/pull/263).
521 minor_changes:
522 - get_certificate - added ``starttls`` option to retrieve certificates from
523 servers which require clients to request an encrypted connection (https://github.com/ansible-collections/community.crypto/pull/264).
524 - openssh_keypair - added ``diff`` support (https://github.com/ansible-collections/community.crypto/pull/260).
525 release_summary: Regular feature release.
526 fragments:
527 - 1.9.0.yml
528 - 260-openssh_keypair-diff-support.yml
529 - 263-sanity.yml
530 - 264-get_certificate-add-starttls-option.yml
531 release_date: '2021-08-30'
532 1.9.1:
533 changes:
534 release_summary: Accidental 1.9.1 release. Identical to 1.9.0.
535 release_date: '2021-08-30'
536 1.9.2:
537 changes:
538 release_summary: Bugfix release to fix the changelog. No other change compared
539 to 1.9.0.
540 fragments:
541 - 1.9.2.yml
542 release_date: '2021-08-30'
543 1.9.3:
544 changes:
545 bugfixes:
546 - openssl_csr and openssl_csr_pipe - make sure that Unicode strings are used
547 to compare strings with the cryptography backend. This fixes idempotency
548 problems with non-ASCII letters on Python 2 (https://github.com/ansible-collections/community.crypto/issues/270,
549 https://github.com/ansible-collections/community.crypto/pull/271).
550 release_summary: Regular bugfix release.
551 fragments:
552 - 1.9.3.yml
553 - 271-openssl_csr-utf8.yml
554 release_date: '2021-09-14'
555 1.9.4:
556 changes:
557 bugfixes:
558 - acme_* modules - fix commands composed for OpenSSL backend to retrieve information
559 on CSRs and certificates from stdin to use ``/dev/stdin`` instead of ``-``.
560 This is needed for OpenSSL 1.0.1 and 1.0.2, apparently (https://github.com/ansible-collections/community.crypto/pull/279).
561 - acme_challenge_cert_helper - only return exception when cryptography is
562 not installed, not when a too old version of it is installed. This prevents
563 Ansible's callback to crash (https://github.com/ansible-collections/community.crypto/pull/281).
564 release_summary: Regular bugfix release.
565 fragments:
566 - 1.9.4.yml
567 - 279-acme-openssl.yml
568 - 282-acme_challenge_cert_helper-error.yml
569 release_date: '2021-09-28'
570 2.0.0:
571 changes:
572 breaking_changes:
573 - Adjust ``dirName`` text parsing and to text converting code to conform to
574 `Sections 2 and 3 of RFC 4514 <https://datatracker.ietf.org/doc/html/rfc4514.html>`_.
575 This is similar to how `cryptography handles this <https://cryptography.io/en/latest/x509/reference/#cryptography.x509.Name.rfc4514_string>`_
576 (https://github.com/ansible-collections/community.crypto/pull/274).
577 - acme module utils - removing compatibility code (https://github.com/ansible-collections/community.crypto/pull/290).
578 - acme_* modules - removed vendored copy of the Python library ``ipaddress``.
579 If you are using Python 2.x, please make sure to install the library (https://github.com/ansible-collections/community.crypto/pull/287).
580 - compatibility module_utils - removed vendored copy of the Python library
581 ``ipaddress`` (https://github.com/ansible-collections/community.crypto/pull/287).
582 - crypto module utils - removing compatibility code (https://github.com/ansible-collections/community.crypto/pull/290).
583 - get_certificate, openssl_csr_info, x509_certificate_info - depending on
584 the ``cryptography`` version used, the modules might not return the ASN.1
585 value for an extension as contained in the certificate respectively CSR,
586 but a re-encoded version of it. This should usually be identical to the
587 value contained in the source file, unless the value was malformed. For
588 extensions not handled by C(cryptography) the value contained in the source
589 file is always returned unaltered (https://github.com/ansible-collections/community.crypto/pull/318).
590 - module_utils - removed various PyOpenSSL support functions and default backend
591 values that are not needed for the openssl_pkcs12 module (https://github.com/ansible-collections/community.crypto/pull/273).
592 - openssl_csr, openssl_csr_pipe, x509_crl - the ``subject`` respectively ``issuer``
593 fields no longer ignore empty values, but instead fail when encountering
594 them (https://github.com/ansible-collections/community.crypto/pull/316).
595 - openssl_privatekey_info - by default consistency checks are not run; they
596 need to be explicitly requested by passing ``check_consistency=true`` (https://github.com/ansible-collections/community.crypto/pull/309).
597 - x509_crl - for idempotency checks, the ``issuer`` order is ignored. If order
598 is important, use the new ``issuer_ordered`` option (https://github.com/ansible-collections/community.crypto/pull/316).
599 bugfixes:
600 - cryptography backend - improve Unicode handling for Python 2 (https://github.com/ansible-collections/community.crypto/pull/313).
601 - get_certificate - fix compatibility with the cryptography 35.0.0 release
602 (https://github.com/ansible-collections/community.crypto/pull/294).
603 - openssl_csr_info - fix compatibility with the cryptography 35.0.0 release
604 (https://github.com/ansible-collections/community.crypto/pull/294).
605 - openssl_pkcs12 - fix compatibility with the cryptography 35.0.0 release
606 (https://github.com/ansible-collections/community.crypto/pull/296).
607 - x509_certificate_info - fix compatibility with the cryptography 35.0.0 release
608 (https://github.com/ansible-collections/community.crypto/pull/294).
609 deprecated_features:
610 - acme_* modules - ACME version 1 is now deprecated and support for it will
611 be removed in community.crypto 2.0.0 (https://github.com/ansible-collections/community.crypto/pull/288).
612 minor_changes:
613 - acme_certificate - the ``subject`` and ``issuer`` fields in in the ``select_chain``
614 entries are now more strictly validated (https://github.com/ansible-collections/community.crypto/pull/316).
615 - openssl_csr, openssl_csr_pipe - provide a new ``subject_ordered`` option
616 if the order of the components in the subject is of importance (https://github.com/ansible-collections/community.crypto/issues/291,
617 https://github.com/ansible-collections/community.crypto/pull/316).
618 - openssl_csr, openssl_csr_pipe - there is now stricter validation of the
619 values of the ``subject`` option (https://github.com/ansible-collections/community.crypto/pull/316).
620 - openssl_privatekey_info - add ``check_consistency`` option to request private
621 key consistency checks to be done (https://github.com/ansible-collections/community.crypto/pull/309).
622 - x509_certificate, x509_certificate_pipe - add ``ignore_timestamps`` option
623 which allows to enable idempotency for 'not before' and 'not after' options
624 (https://github.com/ansible-collections/community.crypto/issues/295, https://github.com/ansible-collections/community.crypto/pull/317).
625 - x509_crl - provide a new ``issuer_ordered`` option if the order of the components
626 in the issuer is of importance (https://github.com/ansible-collections/community.crypto/issues/291,
627 https://github.com/ansible-collections/community.crypto/pull/316).
628 - x509_crl - there is now stricter validation of the values of the ``issuer``
629 option (https://github.com/ansible-collections/community.crypto/pull/316).
630 release_summary: 'A new major release of the ``community.crypto`` collection.
631 The main changes are removal of the PyOpenSSL backends for almost all modules
632 (``openssl_pkcs12`` being the only exception), and removal of the ``assertonly``
633 provider in the ``x509_certificate`` provider. There are also some other breaking
634 changes which should improve the user interface/experience of this collection
635 long-term.
636
637 '
638 removed_features:
639 - acme_* modules - the ``acme_directory`` option is now required (https://github.com/ansible-collections/community.crypto/pull/290).
640 - acme_* modules - the ``acme_version`` option is now required (https://github.com/ansible-collections/community.crypto/pull/290).
641 - acme_account_facts - the deprecated redirect has been removed. Use community.crypto.acme_account_info
642 instead (https://github.com/ansible-collections/community.crypto/pull/290).
643 - acme_account_info - ``retrieve_orders=url_list`` no longer returns the return
644 value ``orders``. Use the ``order_uris`` return value instead (https://github.com/ansible-collections/community.crypto/pull/290).
645 - crypto.info module utils - the deprecated redirect has been removed. Use
646 ``crypto.pem`` instead (https://github.com/ansible-collections/community.crypto/pull/290).
647 - get_certificate - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
648 - openssl_certificate - the deprecated redirect has been removed. Use community.crypto.x509_certificate
649 instead (https://github.com/ansible-collections/community.crypto/pull/290).
650 - openssl_certificate_info - the deprecated redirect has been removed. Use
651 community.crypto.x509_certificate_info instead (https://github.com/ansible-collections/community.crypto/pull/290).
652 - openssl_csr - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
653 - openssl_csr and openssl_csr_pipe - ``version`` now only accepts the (default)
654 value 1 (https://github.com/ansible-collections/community.crypto/pull/290).
655 - openssl_csr_info - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
656 - openssl_csr_pipe - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
657 - openssl_privatekey - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
658 - openssl_privatekey_info - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
659 - openssl_privatekey_pipe - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
660 - openssl_publickey - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
661 - openssl_publickey_info - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
662 - openssl_signature - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
663 - openssl_signature_info - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
664 - x509_certificate - remove ``assertonly`` provider (https://github.com/ansible-collections/community.crypto/pull/289).
665 - x509_certificate - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
666 - x509_certificate_info - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
667 - x509_certificate_pipe - removed the ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/273).
668 fragments:
669 - 2.0.0.yml
670 - 273-pyopenssl-removal.yml
671 - 274-dirname-rfc4514.yml
672 - 287-remove-ipaddress.yml
673 - 288-depecate-acme-v1.yml
674 - 289-assertonly-removed.yml
675 - 290-remove-deprecations.yml
676 - 294-cryptography-35.0.0.yml
677 - 296-openssl_pkcs12-cryptography-35.yml
678 - 309-openssl_privatekey_info-consistency.yml
679 - 313-unicode-names.yml
680 - 315-ordered-names.yml
681 - 317-ignore-timestamps.yml
682 - 318-extension-value-note.yml
683 release_date: '2021-11-01'
684 2.0.1:
685 changes:
686 bugfixes:
687 - acme_certificate - avoid passing multiple certificates to ``cryptography``'s
688 X.509 certificate loader when ``fullchain_dest`` is used (https://github.com/ansible-collections/community.crypto/pull/324).
689 - get_certificate, openssl_csr_info, x509_certificate_info - add fallback
690 code for extension parsing that works with cryptography 36.0.0 and newer.
691 This code re-serializes de-serialized extensions and thus can return slightly
692 different values if the extension in the original CSR resp. certificate
693 was not canonicalized correctly. This code is currently used as a fallback
694 if the existing code stops working, but we will switch it to be the main
695 code in a future release (https://github.com/ansible-collections/community.crypto/pull/331).
696 - luks_device - now also runs a built-in LUKS signature cleaner on ``state=absent``
697 to make sure that also the secondary LUKS2 header is wiped when older versions
698 of wipefs are used (https://github.com/ansible-collections/community.crypto/issues/326,
699 https://github.com/ansible-collections/community.crypto/pull/327).
700 - openssl_pkcs12 - use new PKCS#12 deserialization infrastructure from cryptography
701 36.0.0 if available (https://github.com/ansible-collections/community.crypto/pull/302).
702 minor_changes:
703 - acme_* modules - fix usage of ``fetch_url`` with changes in latest ansible-core
704 ``devel`` branch (https://github.com/ansible-collections/community.crypto/pull/339).
705 release_summary: Bugfix release with extra forward compatibility for newer versions
706 of cryptography.
707 fragments:
708 - 2.0.1.yml
709 - 302-openssl_pkcs12-cryptography-36.0.0.yml
710 - 324-acme_certificate-fullchain.yml
711 - 327-luks_device-wipe.yml
712 - 331-cryptography-extensions.yml
713 - fetch_url-devel.yml
714 release_date: '2021-11-22'
715 2.0.2:
716 changes:
717 release_summary: Documentation fix release. No actual code changes.
718 fragments:
719 - 2.0.2.yml
720 release_date: '2021-12-20'
721 2.1.0:
722 changes:
723 bugfixes:
724 - Various modules and plugins - use vendored version of ``distutils.version``
725 instead of the deprecated Python standard library ``distutils`` (https://github.com/ansible-collections/community.crypto/pull/353).
726 - certificate_complete_chain - do not append root twice if the chain already
727 ends with a root certificate (https://github.com/ansible-collections/community.crypto/pull/360).
728 - certificate_complete_chain - do not hang when infinite loop is found (https://github.com/ansible-collections/community.crypto/issues/355,
729 https://github.com/ansible-collections/community.crypto/pull/360).
730 minor_changes:
731 - Adjust error messages that indicate ``cryptography`` is not installed from
732 ``Can't`` to ``Cannot`` (https://github.com/ansible-collections/community.crypto/pull/374).
733 release_summary: Feature and bugfix release.
734 fragments:
735 - 2.1.0.yml
736 - 353-distutils.version.yml
737 - 360-certificate_complete_chain-loop.yml
738 - 374-docs.yml
739 modules:
740 - description: Retrieve cryptographic capabilities
741 name: crypto_info
742 namespace: ''
743 - description: Convert OpenSSL private keys
744 name: openssl_privatekey_convert
745 namespace: ''
746 release_date: '2022-01-10'
747 2.2.0:
748 changes:
749 bugfixes:
750 - luks_devices - set ``LANG`` and similar environment variables to avoid translated
751 output, which can break some of the module's functionality like key management
752 (https://github.com/ansible-collections/community.crypto/pull/388, https://github.com/ansible-collections/community.crypto/issues/385).
753 minor_changes:
754 - openssh_cert - added ``ignore_timestamps`` parameter so it can be used semi-idempotent
755 with relative timestamps in ``valid_to``/``valid_from`` (https://github.com/ansible-collections/community.crypto/issues/379).
756 release_summary: Regular bugfix and feature release.
757 fragments:
758 - 2.2.0.yml
759 - 381_openssh_cert_add_ignore_timestamps.yml
760 - 388-luks_device-i18n.yml
761 release_date: '2022-02-01'
762 2.2.1:
763 changes:
764 bugfixes:
765 - openssh_cert - fixed false ``changed`` status for ``host`` certificates
766 when using ``full_idempotence`` (https://github.com/ansible-collections/community.crypto/issues/395,
767 https://github.com/ansible-collections/community.crypto/pull/396).
768 release_summary: Bugfix release.
769 fragments:
770 - 2.2.1.yml
771 - 396-openssh_cert-host-cert-idempotence-fix.yml
772 release_date: '2022-02-05'
773 2.2.2:
774 changes:
775 bugfixes:
776 - certificate_complete_chain - allow multiple potential intermediate certificates
777 to have the same subject (https://github.com/ansible-collections/community.crypto/issues/399,
778 https://github.com/ansible-collections/community.crypto/pull/403).
779 - x509_certificate - for the ``ownca`` provider, check whether the CA private
780 key actually belongs to the CA certificate (https://github.com/ansible-collections/community.crypto/pull/407).
781 - x509_certificate - regenerate certificate when the CA's public key changes
782 for ``provider=ownca`` (https://github.com/ansible-collections/community.crypto/pull/407).
783 - x509_certificate - regenerate certificate when the CA's subject changes
784 for ``provider=ownca`` (https://github.com/ansible-collections/community.crypto/issues/400,
785 https://github.com/ansible-collections/community.crypto/pull/402).
786 - x509_certificate - regenerate certificate when the private key changes for
787 ``provider=selfsigned`` (https://github.com/ansible-collections/community.crypto/pull/407).
788 release_summary: 'Regular bugfix release.
789
790
791 In this release, we extended the test matrix to include Alpine 3, ArchLinux,
792 Debian Bullseye, and CentOS Stream 8. CentOS 8 was removed from the test matrix.
793
794 '
795 fragments:
796 - 2.2.2.yml
797 - 402-x509_certificate-ownca-subject.yml
798 - 403-certificate_complete_chain-same-subject.yml
799 - 407-x509_certificate-signature.yml
800 release_date: '2022-02-21'
801 2.2.3:
802 changes:
803 bugfixes:
804 - luks_device - fix parsing of ``lsblk`` output when device name ends with
805 ``crypt`` (https://github.com/ansible-collections/community.crypto/issues/409,
806 https://github.com/ansible-collections/community.crypto/pull/410).
807 release_summary: Regular bugfix release.
808 fragments:
809 - 2.2.3.yml
810 - 410-luks_device-lsblk-parsing.yml
811 release_date: '2022-03-04'
812 2.2.4:
813 changes:
814 bugfixes:
815 - openssh_* modules - fix exception handling to report traceback to users
816 for enhanced traceability (https://github.com/ansible-collections/community.crypto/pull/417).
817 release_summary: Regular maintenance release.
818 fragments:
819 - 2.2.4.yml
820 - 417-openssh_modules-fix-exception-reporting.yml
821 release_date: '2022-03-22'
822 2.3.0:
823 changes:
824 bugfixes:
825 - Make collection more robust when PyOpenSSL is used with an incompatible
826 cryptography version (https://github.com/ansible-collections/community.crypto/pull/445).
827 - x509_crl - fix crash when ``issuer`` for a revoked certificate is specified
828 (https://github.com/ansible-collections/community.crypto/pull/441).
829 minor_changes:
830 - Prepare collection for inclusion in an Execution Environment by declaring
831 its dependencies. Please note that system packages are used for cryptography
832 and PyOpenSSL, which can be rather limited. If you need features from newer
833 cryptography versions, you will have to manually force a newer version to
834 be installed by pip by specifying something like ``cryptography >= 37.0.0``
835 in your Execution Environment's Python dependencies file (https://github.com/ansible-collections/community.crypto/pull/440).
836 - Support automatic conversion for Internalionalized Domain Names (IDNs).
837 When passing general names, for example Subject Alternative Names to ``community.crypto.openssl_csr``,
838 these will automatically be converted to IDNA. Conversion will be done per
839 label to IDNA2008 if possible, and IDNA2003 if IDNA2008 conversion fails
840 for that label. Note that IDNA conversion requires `the Python idna library
841 <https://pypi.org/project/idna/>`_ to be installed. Please note that depending
842 on which versions of the cryptography library are used, it could try to
843 process the converted IDNA another time with the Python ``idna`` library
844 and reject IDNA2003 encoded values. Using a new enough ``cryptography``
845 version avoids this (https://github.com/ansible-collections/community.crypto/issues/426,
846 https://github.com/ansible-collections/community.crypto/pull/436).
847 - acme_* modules - add parameter ``request_timeout`` to manage HTTP(S) request
848 timeout (https://github.com/ansible-collections/community.crypto/issues/447,
849 https://github.com/ansible-collections/community.crypto/pull/448).
850 - luks_devices - added ``perf_same_cpu_crypt``, ``perf_submit_from_crypt_cpus``,
851 ``perf_no_read_workqueue``, ``perf_no_write_workqueue`` for performance
852 tuning when opening LUKS2 containers (https://github.com/ansible-collections/community.crypto/issues/427).
853 - luks_devices - added ``persistent`` option when opening LUKS2 containers
854 (https://github.com/ansible-collections/community.crypto/pull/434).
855 - openssl_csr_info - add ``name_encoding`` option to control the encoding
856 (IDNA, Unicode) used to return domain names in general names (https://github.com/ansible-collections/community.crypto/pull/436).
857 - openssl_pkcs12 - allow to provide the private key as text instead of having
858 to read it from a file. This allows to store the private key in an encrypted
859 form, for example in Ansible Vault (https://github.com/ansible-collections/community.crypto/pull/452).
860 - x509_certificate_info - add ``name_encoding`` option to control the encoding
861 (IDNA, Unicode) used to return domain names in general names (https://github.com/ansible-collections/community.crypto/pull/436).
862 - x509_crl - add ``name_encoding`` option to control the encoding (IDNA, Unicode)
863 used to return domain names in general names (https://github.com/ansible-collections/community.crypto/pull/436).
864 - x509_crl_info - add ``name_encoding`` option to control the encoding (IDNA,
865 Unicode) used to return domain names in general names (https://github.com/ansible-collections/community.crypto/pull/436).
866 release_summary: Feature and bugfix release.
867 fragments:
868 - 2.3.0.yml
869 - 434-add-persistent-and-perf-options.yml
870 - 436-idns.yml
871 - 440-ee.yml
872 - 441-x509-crl-cert-issuer.yml
873 - 445-fix.yml
874 - 448-acme-request-timeouts.yml
875 - 452-openssl_pkcs12-private-key-content.yml
876 release_date: '2022-05-09'
877 2.3.1:
878 changes:
879 bugfixes:
880 - Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``.
881 release_summary: Maintenance release.
882 fragments:
883 - 2.3.1.yml
884 - psf-license.yml
885 release_date: '2022-05-16'
886 2.3.2:
887 changes:
888 bugfixes:
889 - Include ``simplified_bsd.txt`` license file for the ECS module utils.
890 - certificate_complete_chain - do not stop execution if an unsupported signature
891 algorithm is encountered; warn instead (https://github.com/ansible-collections/community.crypto/pull/457).
892 release_summary: Maintenance and bugfix release.
893 fragments:
894 - 2.3.2.yml
895 - 457-certificate_complete_chain-unsupported-algorithm.yml
896 - simplified-bsd-license.yml
897 release_date: '2022-06-02'
898 2.3.3:
899 changes:
900 bugfixes:
901 - Include ``Apache-2.0.txt`` file for ``plugins/module_utils/crypto/_obj2txt.py``
902 and ``plugins/module_utils/crypto/_objects_data.py``.
903 - openssl_csr - the module no longer crashes with 'permitted_subtrees/excluded_subtrees
904 must be a non-empty list or None' if only one of ``name_constraints_permitted``
905 and ``name_constraints_excluded`` is provided (https://github.com/ansible-collections/community.crypto/issues/481).
906 - x509_crl - do not crash when signing CRL with Ed25519 or Ed448 keys (https://github.com/ansible-collections/community.crypto/issues/473,
907 https://github.com/ansible-collections/community.crypto/pull/474).
908 release_summary: Bugfix release.
909 fragments:
910 - 2.3.3.yml
911 - 474-x509_crl-ed25519-ed448.yml
912 - 481-fix-excluded_subtrees-must-be-a-non-empty-list-or-None.yml
913 - apache-license.yml
914 release_date: '2022-06-17'
915 2.3.4:
916 changes:
917 release_summary: 'Re-release of what was intended to be 2.3.3.
918
919
920 A mistake during the release process caused the 2.3.3 tag to end up on the
921
922 commit for 1.9.17, which caused the release pipeline to re-publish 1.9.17
923
924 as 2.3.3.
925
926
927 This release is identical to what should have been 2.3.3, except that the
928
929 version number has been bumped to 2.3.4 and this changelog entry for 2.3.4
930
931 has been added.
932
933 '
934 fragments:
935 - 2.3.4.yml
936 release_date: '2022-06-21'
937 2.4.0:
938 changes:
939 bugfixes:
940 - openssl_pkcs12 - when using the pyOpenSSL backend, do not crash when trying
941 to read non-existing other certificates (https://github.com/ansible-collections/community.crypto/issues/486,
942 https://github.com/ansible-collections/community.crypto/pull/487).
943 deprecated_features:
944 - Support for Ansible 2.9 and ansible-base 2.10 is deprecated, and will be
945 removed in the next major release (community.crypto 3.0.0). Some modules
946 might still work with these versions afterwards, but we will no longer keep
947 compatibility code that was needed to support them (https://github.com/ansible-collections/community.crypto/pull/460).
948 release_summary: Deprecation and bugfix release. No new features this time.
949 fragments:
950 - 2.4.0.yml
951 - 487-openssl_pkcs12-other-certs-crash.yml
952 - deprecate-ansible-2.9-2.10.yml
953 release_date: '2022-07-09'
954 2.5.0:
955 changes:
956 minor_changes:
957 - All software licenses are now in the ``LICENSES/`` directory of the collection
958 root. Moreover, ``SPDX-License-Identifier:`` is used to declare the applicable
959 license for every file that is not automatically generated (https://github.com/ansible-collections/community.crypto/pull/491).
960 release_summary: Maintenance release with improved licensing declaration and
961 documentation fixes.
962 fragments:
963 - 2.5.0.yml
964 - 491-licenses.yml
965 release_date: '2022-08-04'
966 2.6.0:
967 changes:
968 minor_changes:
969 - acme* modules - support the HTTP 429 Too Many Requests response status (https://github.com/ansible-collections/community.crypto/pull/508).
970 - openssh_keypair - added ``pkcs1``, ``pkcs8``, and ``ssh`` to the available
971 choices for the ``private_key_format`` option (https://github.com/ansible-collections/community.crypto/pull/511).
972 release_summary: Feature release.
973 fragments:
974 - 2.6.0.yml
975 - 508-acme-429.yml
976 - 511-openssh_keypair-private_key_format_options.yml
977 release_date: '2022-09-19'
978 2.7.0:
979 changes:
980 bugfixes:
981 - openssl_privatekey_pipe - ensure compatibility with newer versions of ansible-core
982 (https://github.com/ansible-collections/community.crypto/pull/515).
983 minor_changes:
984 - acme* modules - also support the HTTP 503 Service Unavailable and 408 Request
985 Timeout response status for automatic retries (https://github.com/ansible-collections/community.crypto/pull/513).
986 release_summary: Feature release.
987 fragments:
988 - 2.7.0.yml
989 - 513-acme-503.yml
990 - 515-action-module-compat.yml
991 release_date: '2022-09-23'
992 2.7.1:
993 changes:
994 bugfixes:
995 - acme_* modules - improve feedback when importing ``cryptography`` does not
996 work (https://github.com/ansible-collections/community.crypto/issues/518,
997 https://github.com/ansible-collections/community.crypto/pull/519).
998 release_summary: Maintenance release.
999 fragments:
1000 - 2.7.1.yml
1001 - 519-acme-cryptography.yml
1002 release_date: '2022-10-17'
1003 2.8.0:
1004 changes:
1005 minor_changes:
1006 - acme_* modules - handle more gracefully if CA's new nonce call does not
1007 return a nonce (https://github.com/ansible-collections/community.crypto/pull/525).
1008 - acme_* modules - include symbolic HTTP status codes in error and log messages
1009 when available (https://github.com/ansible-collections/community.crypto/pull/524).
1010 - openssl_pkcs12 - add option ``encryption_level`` which allows to chose ``compatibility2022``
1011 when cryptography >= 38.0.0 is used to enable a more backwards compatible
1012 encryption algorithm. If cryptography uses OpenSSL 3.0.0 or newer, the default
1013 algorithm is not compatible with older software (https://github.com/ansible-collections/community.crypto/pull/523).
1014 release_summary: Feature release.
1015 fragments:
1016 - 2.8.0.yml
1017 - 523-pkcs12-compat.yml
1018 - 524-acme-http-errors.yml
1019 - 525-acme-no-nonce.yml
1020 release_date: '2022-11-02'
1021 2.8.1:
1022 changes:
1023 release_summary: Maintenance release with improved documentation.
1024 fragments:
1025 - 2.8.1.yml
1026 release_date: '2022-11-06'
1027 2.9.0:
1028 changes:
1029 minor_changes:
1030 - x509_certificate_info - adds ``issuer_uri`` field in return value based
1031 on Authority Information Access data (https://github.com/ansible-collections/community.crypto/pull/530).
1032 release_summary: Regular feature release.
1033 fragments:
1034 - 2.9.0.yml
1035 - aia_issuer.yaml
1036 release_date: '2022-11-27'
1037 2.10.0:
1038 changes:
1039 bugfixes:
1040 - openssl_csr, openssl_csr_pipe - prevent invalid values for ``crl_distribution_points``
1041 that do not have one of ``full_name``, ``relative_name``, and ``crl_issuer``
1042 (https://github.com/ansible-collections/community.crypto/pull/560).
1043 - openssl_publickey_info - do not crash with internal error when public key
1044 cannot be parsed (https://github.com/ansible-collections/community.crypto/pull/551).
1045 release_summary: Bugfix and feature release.
1046 fragments:
1047 - 2.10.0.yml
1048 - 551-publickey-info.yml
1049 - 560-openssl_csr-crl_distribution_points.yml
1050 plugins:
1051 filter:
1052 - description: Retrieve information from OpenSSL Certificate Signing Requests
1053 (CSR)
1054 name: openssl_csr_info
1055 namespace: null
1056 - description: Retrieve information from OpenSSL private keys
1057 name: openssl_privatekey_info
1058 namespace: null
1059 - description: Retrieve information from OpenSSL public keys in PEM format
1060 name: openssl_publickey_info
1061 namespace: null
1062 - description: Split PEM file contents into multiple objects
1063 name: split_pem
1064 namespace: null
1065 - description: Retrieve information from X.509 certificates in PEM format
1066 name: x509_certificate_info
1067 namespace: null
1068 - description: Retrieve information from X.509 CRLs in PEM format
1069 name: x509_crl_info
1070 namespace: null
1071 release_date: '2023-01-02'
1072 2.11.0:
1073 changes:
1074 bugfixes:
1075 - action plugin helper - fix handling of deprecations for ansible-core 2.14.2
1076 (https://github.com/ansible-collections/community.crypto/pull/572).
1077 - execution environment binary dependencies (bindep.txt) - fix ``python3-pyOpenSSL``
1078 dependency resolution on RHEL 9+ / CentOS Stream 9+ platforms (https://github.com/ansible-collections/community.crypto/pull/575).
1079 - various plugins - remove unnecessary imports (https://github.com/ansible-collections/community.crypto/pull/569).
1080 minor_changes:
1081 - get_certificate - adds ``ciphers`` option for custom cipher selection (https://github.com/ansible-collections/community.crypto/pull/571).
1082 release_summary: Feature and bugfix release.
1083 fragments:
1084 - 2.11.0.yml
1085 - 571_get_certificate_ciphers.yaml
1086 - 572-action-module.yml
1087 - 575-bindep-python3-pyOpenSSL.yml
1088 - remove-unneeded-imports.yml
1089 release_date: '2023-02-23'
1090 2.11.1:
1091 changes:
1092 release_summary: Maintenance release with improved documentation.
1093 fragments:
1094 - 2.11.1.yml
1095 release_date: '2023-03-24'
1096 2.12.0:
1097 changes:
1098 minor_changes:
1099 - get_certificate - add ``asn1_base64`` option to control whether the ASN.1
1100 included in the ``extensions`` return value is binary data or Base64 encoded
1101 (https://github.com/ansible-collections/community.crypto/pull/592).
1102 release_summary: Feature release.
1103 fragments:
1104 - 2.12.0.yml
1105 - 592-get_certificate-base64.yml
1106 release_date: '2023-04-16'
1107 2.13.0:
1108 changes:
1109 bugfixes:
1110 - openssh_keypair - always generate a new key pair if the private key does
1111 not exist. Previously, the module would fail when ``regenerate=fail`` without
1112 an existing key, contradicting the documentation (https://github.com/ansible-collections/community.crypto/pull/598).
1113 - x509_crl - remove problem with ansible-core 2.16 due to ``AnsibleModule``
1114 is now validating the ``mode`` parameter's values (https://github.com/ansible-collections/community.crypto/issues/596).
1115 deprecated_features:
1116 - x509_crl - the ``mode`` option is deprecated; use ``crl_mode`` instead.
1117 The ``mode`` option will change its meaning in community.crypto 3.0.0, and
1118 will refer to the CRL file's mode instead (https://github.com/ansible-collections/community.crypto/issues/596).
1119 minor_changes:
1120 - x509_crl - the ``crl_mode`` option has been added to replace the existing
1121 ``mode`` option (https://github.com/ansible-collections/community.crypto/issues/596).
1122 release_summary: Bugfix and maintenance release.
1123 fragments:
1124 - 2.13.0.yml
1125 - 596-x509_crl-mode.yml
1126 - 598-openssh_keypair-generate-new-key.yml
1127 release_date: '2023-05-01'
1128 2.13.1:
1129 changes:
1130 bugfixes:
1131 - execution environment definition - fix installation of ``python3-pyOpenSSL``
1132 package on CentOS and RHEL (https://github.com/ansible-collections/community.crypto/pull/606).
1133 - execution environment definition - fix source of ``python3-pyOpenSSL`` package
1134 for Rocky Linux 9+ (https://github.com/ansible-collections/community.crypto/pull/606).
1135 release_summary: Bugfix release.
1136 fragments:
1137 - 2.13.1.yml
1138 - 606-ee-rocky.yml
1139 release_date: '2023-05-21'
1140 2.14.0:
1141 changes:
1142 minor_changes:
1143 - acme_certificate - allow to use no challenge by providing ``no challenge``
1144 for the ``challenge`` option. This is needed for ACME servers where validation
1145 is done without challenges (https://github.com/ansible-collections/community.crypto/issues/613,
1146 https://github.com/ansible-collections/community.crypto/pull/615).
1147 - acme_certificate - validate and wait for challenges in parallel instead
1148 handling them one after another (https://github.com/ansible-collections/community.crypto/pull/617).
1149 - x509_certificate_info - added support for certificates in DER format when
1150 using ``path`` parameter (https://github.com/ansible-collections/community.crypto/issues/603).
1151 release_summary: Feature release.
1152 fragments:
1153 - 2.14.0.yml
1154 - 615-no-challenge.yml
1155 - 617-acme_certificate-parallel.yml
1156 - 622-der-format-support.yml
1157 release_date: '2023-06-15'
1158 2.14.1:
1159 changes:
1160 bugfixes:
1161 - Fix PEM detection/identification to also accept random other lines before
1162 the line starting with ``-----BEGIN`` (https://github.com/ansible-collections/community.crypto/issues/627,
1163 https://github.com/ansible-collections/community.crypto/pull/628).
1164 known_issues:
1165 - Ansible markup will show up in raw form on ansible-doc text output for ansible-core
1166 before 2.15. If you have trouble deciphering the documentation markup, please
1167 upgrade to ansible-core 2.15 (or newer), or read the HTML documentation
1168 on https://docs.ansible.com/ansible/devel/collections/community/crypto/.
1169 release_summary: 'Bugfix and maintenance release with updated documentation.
1170
1171
1172 From this version on, community.crypto is using the new `Ansible semantic
1173 markup
1174
1175 <https://docs.ansible.com/ansible/devel/dev_guide/developing_modules_documenting.html#semantic-markup-within-module-documentation>`__
1176
1177 in its documentation. If you look at documentation with the ansible-doc CLI
1178 tool
1179
1180 from ansible-core before 2.15, please note that it does not render the markup
1181
1182 correctly. You should be still able to read it in most cases, but you need
1183
1184 ansible-core 2.15 or later to see it as it is intended. Alternatively you
1185 can
1186
1187 look at `the devel docsite <https://docs.ansible.com/ansible/devel/collections/community/crypto/>`__
1188
1189 for the rendered HTML version of the documentation of the latest release.
1190
1191 '
1192 fragments:
1193 - 2.14.1.yml
1194 - 628-pem-detection.yml
1195 - semantic-markup.yml
1196 release_date: '2023-06-27'
1197 2.15.0:
1198 changes:
1199 bugfixes:
1200 - openssh_cert, openssh_keypair - the modules ignored return codes of ``ssh``
1201 and ``ssh-keygen`` in some cases (https://github.com/ansible-collections/community.crypto/issues/645,
1202 https://github.com/ansible-collections/community.crypto/pull/646).
1203 - openssh_keypair - fix comment updating for OpenSSH before 6.5 (https://github.com/ansible-collections/community.crypto/pull/646).
1204 deprecated_features:
1205 - get_certificate - the default ``false`` of the ``asn1_base64`` option is
1206 deprecated and will change to ``true`` in community.crypto 3.0.0 (https://github.com/ansible-collections/community.crypto/pull/600).
1207 minor_changes:
1208 - openssh_keypair - fail when comment cannot be updated (https://github.com/ansible-collections/community.crypto/pull/646).
1209 release_summary: Bugfix and feature release.
1210 fragments:
1211 - 2.15.0.yml
1212 - 600-get_certificate-asn1_base64.yml
1213 - 646-openssh-rc.yml
1214 plugins:
1215 filter:
1216 - description: Retrieve a GPG fingerprint from a GPG public or private key
1217 name: gpg_fingerprint
1218 namespace: null
1219 lookup:
1220 - description: Retrieve a GPG fingerprint from a GPG public or private key
1221 file
1222 name: gpg_fingerprint
1223 namespace: null
1224 release_date: '2023-08-12'
1225 2.15.1:
1226 changes:
1227 bugfixes:
1228 - acme_* modules - correctly handle error documents without ``type`` (https://github.com/ansible-collections/community.crypto/issues/651,
1229 https://github.com/ansible-collections/community.crypto/pull/652).
1230 release_summary: Bugfix release.
1231 fragments:
1232 - 2.15.1.yml
1233 - 652-problem-type.yml
1234 release_date: '2023-08-22'
1235 2.16.0:
1236 changes:
1237 bugfixes:
1238 - openssl_pkcs12 - modify autodetect to not detect pyOpenSSL >= 23.3.0, which
1239 removed PKCS#12 support (https://github.com/ansible-collections/community.crypto/pull/666).
1240 minor_changes:
1241 - luks_devices - add new options ``keyslot``, ``new_keyslot``, and ``remove_keyslot``
1242 to allow adding/removing keys to/from specific keyslots (https://github.com/ansible-collections/community.crypto/pull/664).
1243 release_summary: Bugfix release.
1244 fragments:
1245 - 2.16.0.yml
1246 - 664-luks_device-keyslot.yml
1247 - pkcs12.yml
1248 release_date: '2023-10-29'
1249 2.16.1:
1250 changes:
1251 bugfixes:
1252 - acme_* modules - also retry requests in case of socket errors, bad status
1253 lines, and unknown connection errors; improve error messages in these cases
1254 (https://github.com/ansible-collections/community.crypto/issues/680).
1255 release_summary: Bugfix release.
1256 fragments:
1257 - 2.16.1.yml
1258 - 680-acme-retry.yml
1259 release_date: '2023-12-04'
1260 2.16.2:
1261 changes:
1262 bugfixes:
1263 - acme_* modules - directly react on bad return data for account creation/retrieval/updating
1264 requests (https://github.com/ansible-collections/community.crypto/pull/682).
1265 - acme_* modules - fix improved error reporting in case of socket errors,
1266 bad status lines, and unknown connection errors (https://github.com/ansible-collections/community.crypto/pull/684).
1267 - acme_* modules - increase number of retries from 5 to 10 to increase stability
1268 with unstable ACME endpoints (https://github.com/ansible-collections/community.crypto/pull/685).
1269 - acme_* modules - make account registration handling more flexible to accept
1270 404 instead of 400 send by DigiCert's ACME endpoint when an account does
1271 not exist (https://github.com/ansible-collections/community.crypto/pull/681).
1272 release_summary: Bugfix release.
1273 fragments:
1274 - 2.16.2.yml
1275 - 681-acme-account.yml
1276 - 682-acme-errors.yml
1277 - 684-info-code.yml
1278 - 685-acme-retry.yml
1279 release_date: '2023-12-08'
1280 2.17.0:
1281 changes:
1282 minor_changes:
1283 - luks_device - add allow discards option (https://github.com/ansible-collections/community.crypto/pull/693).
1284 release_summary: Feature release.
1285 fragments:
1286 - 2.17.0.yml
1287 - 693-allow-discards.yaml
1288 release_date: '2024-01-21'
1289 2.17.1:
1290 changes:
1291 bugfixes:
1292 - openssl_dhparam - was using an internal function instead of the public API
1293 to load DH param files when using the ``cryptography`` backend. The internal
1294 function was removed in cryptography 42.0.0. The module now uses the public
1295 API, which has been available since support for DH params was added to cryptography
1296 (https://github.com/ansible-collections/community.crypto/pull/698).
1297 - openssl_privatekey_info - ``check_consistency=true`` no longer works for
1298 RSA keys with cryptography 42.0.0+ (https://github.com/ansible-collections/community.crypto/pull/701).
1299 - openssl_privatekey_info - ``check_consistency=true`` now reports a warning
1300 if it cannot determine consistency (https://github.com/ansible-collections/community.crypto/pull/705).
1301 release_summary: Bugfix release for compatibility with cryptography 42.0.0.
1302 fragments:
1303 - 2.17.1.yml
1304 - 698-openssl_dhparam-cryptography.yml
1305 - 701-private_key_info-consistency.yml
1306 - 705-openssl_privatekey_info-consistency.yml
1307 release_date: '2024-01-27'
1308 2.18.0:
1309 changes:
1310 bugfixes:
1311 - luks_device - fixed module a bug that prevented using ``remove_keyslot``
1312 with the value ``0`` (https://github.com/ansible-collections/community.crypto/pull/710).
1313 - luks_device - fixed module falsely outputting ``changed=false`` when trying
1314 to add a new slot with a key that is already present in another slot. The
1315 module now rejects adding keys that are already present in another slot
1316 (https://github.com/ansible-collections/community.crypto/pull/710).
1317 - luks_device - fixed testing of LUKS passphrases in when specifying a keyslot
1318 for cryptsetup version 2.0.3. The output of this cryptsetup version slightly
1319 differs from later versions (https://github.com/ansible-collections/community.crypto/pull/710).
1320 deprecated_features:
1321 - 'openssl_csr_pipe, openssl_privatekey_pipe, x509_certificate_pipe - the
1322 current behavior of check mode is deprecated and will change in community.crypto
1323 3.0.0. The current behavior is similar to the modules without ``_pipe``:
1324 if the object needs to be (re-)generated, only the ``changed`` status is
1325 set, but the object is not updated. From community.crypto 3.0.0 on, the
1326 modules will ignore check mode and always act as if check mode is not active.
1327 This behavior can already achieved now by adding ``check_mode: false`` to
1328 the task. If you think this breaks your use-case of this module, please
1329 `create an issue in the community.crypto repository <https://github.com/ansible-collections/community.crypto/issues/new/choose>`__
1330 (https://github.com/ansible-collections/community.crypto/issues/712, https://github.com/ansible-collections/community.crypto/pull/714).'
1331 minor_changes:
1332 - x509_crl - the new option ``serial_numbers`` allow to configure in which
1333 format serial numbers can be provided to ``revoked_certificates[].serial_number``.
1334 The default is as integers (``serial_numbers=integer``) for backwards compatibility;
1335 setting ``serial_numbers=hex-octets`` allows to specify colon-separated
1336 hex octet strings like ``00:11:22:FF`` (https://github.com/ansible-collections/community.crypto/issues/687,
1337 https://github.com/ansible-collections/community.crypto/pull/715).
1338 release_summary: Bugfix and feature release.
1339 fragments:
1340 - 2.18.0.yml
1341 - 710-luks_device-keyslot-fixes.yml
1342 - 714-pipe-check-mode-deprecation.yml
1343 - 715-x509_crl-serial.yml
1344 plugins:
1345 filter:
1346 - description: Convert a serial number as a colon-separated list of hex numbers
1347 to an integer
1348 name: parse_serial
1349 namespace: null
1350 - description: Convert an integer to a colon-separated list of hex numbers
1351 name: to_serial
1352 namespace: null
1353 release_date: '2024-02-25'
1354 2.19.0:
1355 changes:
1356 bugfixes:
1357 - acme_certificate - respect the order of the CNAME and SAN identifiers that
1358 are passed on when creating an ACME order (https://github.com/ansible-collections/community.crypto/issues/723,
1359 https://github.com/ansible-collections/community.crypto/pull/725).
1360 deprecated_features:
1361 - acme.backends module utils - from community.crypto on, all implementations
1362 of ``CryptoBackend`` must override ``get_ordered_csr_identifiers()``. The
1363 current default implementation, which simply sorts the result of ``get_csr_identifiers()``,
1364 will then be removed (https://github.com/ansible-collections/community.crypto/pull/725).
1365 minor_changes:
1366 - When using cryptography >= 42.0.0, use offset-aware ``datetime.datetime``
1367 objects (with timezone UTC) instead of offset-naive UTC timestamps (https://github.com/ansible-collections/community.crypto/issues/726,
1368 https://github.com/ansible-collections/community.crypto/pull/727).
1369 - openssh_cert - avoid UTC functions deprecated in Python 3.12 when using
1370 Python 3 (https://github.com/ansible-collections/community.crypto/pull/727).
1371 release_summary: Bugfix and feature release.
1372 fragments:
1373 - 2.19.0.yml
1374 - 725-acme_certificate-order.yml
1375 - 727-cryptography-utc.yml
1376 modules:
1377 - description: Convert X.509 certificates
1378 name: x509_certificate_convert
1379 namespace: ''
1380 release_date: '2024-04-20'
1381 2.19.1:
1382 changes:
1383 bugfixes:
1384 - crypto.math module utils - change return values for ``quick_is_not_prime()``
1385 and ``convert_int_to_bytes(0, 0)`` for special cases that do not appear
1386 when using the collection (https://github.com/ansible-collections/community.crypto/pull/733).
1387 - ecs_certificate - fixed ``csr`` option to be empty and allow renewal of
1388 a specific certificate according to the Renewal Information specification
1389 (https://github.com/ansible-collections/community.crypto/pull/740).
1390 - x509_certificate - since community.crypto 2.19.0 the module was no longer
1391 idempotent with respect to ``not_before`` and ``not_after`` times. This
1392 is now fixed (https://github.com/ansible-collections/community.crypto/issues/753,
1393 https://github.com/ansible-collections/community.crypto/pull/754).
1394 release_summary: Bugfix release.
1395 fragments:
1396 - 2.19.1.yml
1397 - 733-math-prime.yml
1398 - 740-ecs_certificate-renewal-without-csr.yml
1399 - 754-x509_certificate-time.yml
1400 release_date: '2024-05-11'
1401 2.20.0:
1402 changes:
1403 bugfixes:
1404 - x509_crl, x509_certificate, x509_certificate_info - when parsing absolute
1405 timestamps which omitted the second count, the first digit of the minutes
1406 was used as a one-digit minutes count, and the second digit of the minutes
1407 as a one-digit second count (https://github.com/ansible-collections/community.crypto/pull/745).
1408 deprecated_features:
1409 - acme documentation fragment - the default ``community.crypto.acme[.documentation]``
1410 docs fragment is deprecated and will be removed from community.crypto 3.0.0.
1411 Replace it with both the new ``community.crypto.acme.basic`` and ``community.crypto.acme.account``
1412 fragments (https://github.com/ansible-collections/community.crypto/pull/735).
1413 - acme.backends module utils - the ``get_cert_information()`` method for a
1414 ACME crypto backend must be implemented from community.crypto 3.0.0 on (https://github.com/ansible-collections/community.crypto/pull/736).
1415 - crypto.module_backends.common module utils - the ``crypto.module_backends.common``
1416 module utils is deprecated and will be removed from community.crypto 3.0.0.
1417 Use the improved ``argspec`` module util instead (https://github.com/ansible-collections/community.crypto/pull/749).
1418 minor_changes:
1419 - acme_certificate - add ``include_renewal_cert_id`` option to allow requesting
1420 renewal of a specific certificate according to the current ACME Renewal
1421 Information specification draft (https://github.com/ansible-collections/community.crypto/pull/739).
1422 release_summary: 'Feature and bugfix release.
1423
1424
1425 The deprecations in this release are only relevant for collections that use
1426 shared
1427
1428 code or docs fragments from this collection.
1429
1430 '
1431 fragments:
1432 - 2.20.0.yml
1433 - 735-acme-docs-fragment.yml
1434 - 736-cert-info.yml
1435 - 739-acme_certificate-include_renewal_cert_id.yml
1436 - 745-absolute-time.yml
1437 - 749-argspec.yml
1438 modules:
1439 - description: Retrieves ACME Renewal Information (ARI) for a certificate.
1440 name: acme_ari_info
1441 namespace: ''
1442 - description: Deactivate all authz for an ACME v2 order.
1443 name: acme_certificate_deactivate_authz
1444 namespace: ''
1445 - description: Determine whether a certificate should be renewed or not.
1446 name: acme_certificate_renewal_info
1447 namespace: ''
1448 release_date: '2024-05-20'
1449 2.21.0:
1450 changes:
1451 minor_changes:
1452 - certificate_complete_chain - add ability to identify Ed25519 and Ed448 complete
1453 chains (https://github.com/ansible-collections/community.crypto/pull/777).
1454 - get_certificate - adds ``tls_ctx_options`` option for specifying SSL CTX
1455 options (https://github.com/ansible-collections/community.crypto/pull/779).
1456 - get_certificate - allow to obtain the certificate chain sent by the server,
1457 and the one used for validation, with the new ``get_certificate_chain``
1458 option. Note that this option only works if the module is run with Python
1459 3.10 or newer (https://github.com/ansible-collections/community.crypto/issues/568,
1460 https://github.com/ansible-collections/community.crypto/pull/784).
1461 release_summary: Feature release.
1462 fragments:
1463 - 2.21.0.yml
1464 - 777-add_ability_to_identify_ed25519_complete_chains.yml
1465 - 779-add-tls_ctx_options-option.yml
1466 - 784-get_certificate-get_certificate_chain.yml
1467 release_date: '2024-07-12'
1468 2.21.1:
1469 changes:
1470 bugfixes:
1471 - When using cryptography >= 43.0.0, use offset-aware ``datetime.datetime``
1472 objects (with timezone UTC) instead of offset-naive UTC timestamps for the
1473 ``InvalidityDate`` X.509 CRL extension (https://github.com/ansible-collections/community.crypto/issues/726,
1474 https://github.com/ansible-collections/community.crypto/pull/730).
1475 release_summary: Maintenance release.
1476 fragments:
1477 - 2.21.1.yml
1478 - 730-cryptography-invalidity_date.yml
1479 release_date: '2024-07-21'
1480 2.22.0:
1481 changes:
1482 minor_changes:
1483 - openssl_privatekey, openssl_privatekey_pipe - add default value ``auto``
1484 for ``cipher`` option, which happens to be the only supported value for
1485 this option anyway. Therefore it is no longer necessary to specify ``cipher=auto``
1486 when providing ``passphrase`` (https://github.com/ansible-collections/community.crypto/issues/793,
1487 https://github.com/ansible-collections/community.crypto/pull/794).
1488 release_summary: Feature release.
1489 fragments:
1490 - 0-readme.yml
1491 - 2.22.0.yml
1492 - 794-openssl_privatekey-cipher.yml
1493 release_date: '2024-09-08'
1494 2.22.1:
1495 changes:
1496 bugfixes:
1497 - acme_* modules - when querying renewal information, make sure to insert
1498 a slash between the base URL and the certificate identifier (https://github.com/ansible-collections/community.crypto/issues/801,
1499 https://github.com/ansible-collections/community.crypto/pull/802).
1500 - various modules - pass absolute paths to ``module.atomic_move()`` (https://github.com/ansible/ansible/issues/83950,
1501 https://github.com/ansible-collections/community.crypto/pull/799).
1502 release_summary: Bugfix release.
1503 fragments:
1504 - 2.22.1.yml
1505 - 799-atomic.yml
1506 - 802-renewal-info.yml
1507 release_date: '2024-10-01'
1508 2.22.2:
1509 changes:
1510 bugfixes:
1511 - acme_certificate - fix authorization failure when CSR contains SANs with
1512 mixed case (https://github.com/ansible-collections/community.crypto/pull/803).
1513 release_summary: Bugfix release.
1514 fragments:
1515 - 2.22.2.yml
1516 - 803-fix-authorization-failure-with-mixed-case-sans.yml
1517 release_date: '2024-10-15'
1518 2.22.3:
1519 changes:
1520 bugfixes:
1521 - acme_* modules - when using the OpenSSL backend, explicitly use the UTC
1522 timezone in Python code (https://github.com/ansible-collections/community.crypto/pull/811).
1523 - time module utils - fix conversion of naive ``datetime`` objects to UNIX
1524 timestamps for Python 3 (https://github.com/ansible-collections/community.crypto/issues/808,
1525 https://github.com/ansible-collections/community.crypto/pull/810).
1526 release_summary: Bugfix release.
1527 fragments:
1528 - 2.22.3.yml
1529 - 810-time.yml
1530 - 811-openssl-timezone.yml
1531 release_date: '2024-10-27'
1532 2.23.0:
1533 changes:
1534 deprecated_features:
1535 - openssl_pkcs12 - the PyOpenSSL based backend is deprecated and will be removed
1536 from community.crypto 3.0.0. From that point on you need cryptography 3.0
1537 or newer to use this module (https://github.com/ansible-collections/community.crypto/issues/667,
1538 https://github.com/ansible-collections/community.crypto/pull/831).
1539 minor_changes:
1540 - acme_certificate - add compatibility for ACME CAs that are not fully RFC8555
1541 compliant and do not provide ``challenges`` in authz objects (https://github.com/ansible-collections/community.crypto/issues/824,
1542 https://github.com/ansible-collections/community.crypto/pull/832).
1543 - luks_device - allow to provide passphrases base64-encoded (https://github.com/ansible-collections/community.crypto/issues/827,
1544 https://github.com/ansible-collections/community.crypto/pull/829).
1545 - x509_certificate_convert - add new option ``verify_cert_parsable`` which
1546 allows to check whether the certificate can actually be parsed (https://github.com/ansible-collections/community.crypto/issues/809,
1547 https://github.com/ansible-collections/community.crypto/pull/830).
1548 release_summary: Feature release.
1549 fragments:
1550 - 2.23.0.yml
1551 - 829-luks_device-passphrase-base64.yml
1552 - 830-x509-convert-verify.yml
1553 - 831-openssl_pkcs12-deprecate-pyopenssl.yml
1554 - 832-acme-challenges.yml
1555 release_date: '2024-12-30'
1556 2.24.0:
1557 changes:
1558 bugfixes:
1559 - crypto_info - when running the module on Fedora 41 with ``cryptography``
1560 installed from the package repository, the module crashed apparently due
1561 to some elliptic curves being removed from libssl against which cryptography
1562 is running, which cryptography did not expect (https://github.com/ansible-collections/community.crypto/pull/834).
1563 deprecated_features:
1564 - Support for ansible-core 2.11, 2.12, 2.13, 2.14, 2.15, and 2.16 is deprecated,
1565 and will be removed in the next major release (community.crypto 3.0.0).
1566 Some modules might still work with some of these versions afterwards, but
1567 we will no longer keep compatibility code that was needed to support them.
1568 Note that this means that support for all Python versions before 3.7 will
1569 be dropped, also on the target side (https://github.com/ansible-collections/community.crypto/issues/559,
1570 https://github.com/ansible-collections/community.crypto/pull/839).
1571 - Support for cryptography < 3.4 is deprecated, and will be removed in the
1572 next major release (community.crypto 3.0.0). Some modules might still work
1573 with older versions of cryptography, but we will no longer keep compatibility
1574 code that was needed to support them (https://github.com/ansible-collections/community.crypto/issues/559,
1575 https://github.com/ansible-collections/community.crypto/pull/839).
1576 minor_changes:
1577 - acme_certificate - add options ``order_creation_error_strategy`` and ``order_creation_max_retries``
1578 which allow to configure the error handling behavior if creating a new ACME
1579 order fails. This is particularly important when using the ``include_renewal_cert_id``
1580 option, and the default value ``auto`` for ``order_creation_error_strategy``
1581 tries to gracefully handle related errors (https://github.com/ansible-collections/community.crypto/pull/842).
1582 - acme_certificate - allow to chose a profile for certificate generation,
1583 in case the CA supports this using Internet-Draft `draft-aaron-acme-profiles
1584 <https://datatracker.ietf.org/doc/draft-aaron-acme-profiles/>`__ (https://github.com/ansible-collections/community.crypto/pull/835).
1585 - acme_certificate_renewal_info - add ``exists`` and ``parsable`` return values
1586 and ``treat_parsing_error_as_non_existing`` option (https://github.com/ansible-collections/community.crypto/pull/838).
1587 release_summary: New feature and bugfix release with multiple new modules. It
1588 also deprecates support for older ansible-core and Python versions.
1589 fragments:
1590 - 2.24.0.yml
1591 - 3.0.0-deprecations.yml
1592 - 834-crypto_info-fedora-41.yml
1593 - 835-acme-profiles.yml
1594 - 838-acme_certificate_renewal_info.yml
1595 - 842-acme-certificate-order-errors.yml
1596 modules:
1597 - description: Create an ACME v2 order.
1598 name: acme_certificate_order_create
1599 namespace: ''
1600 - description: Finalize an ACME v2 order.
1601 name: acme_certificate_order_finalize
1602 namespace: ''
1603 - description: Obtain information for an ACME v2 order.
1604 name: acme_certificate_order_info
1605 namespace: ''
1606 - description: Validate authorizations of an ACME v2 order.
1607 name: acme_certificate_order_validate
1608 namespace: ''
1609 release_date: '2025-01-19'
1610 2.25.0:
1611 changes:
1612 minor_changes:
1613 - luks_device - allow passphrases to contain newlines (https://github.com/ansible-collections/community.crypto/pull/844).
1614 release_summary: Feature release.
1615 fragments:
1616 - 2.25.0.yml
1617 - luks_device_passphrase_newlines.yml
1618 release_date: '2025-02-09'
1619 2.26.0:
1620 changes:
1621 minor_changes:
1622 - openssl_pkcs12 - the module now supports ``certificate_content``/``other_certificates_content``
1623 for cases where the data already exists in memory and not yet in a file
1624 (https://github.com/ansible-collections/community.crypto/issues/847, https://github.com/ansible-collections/community.crypto/pull/848).
1625 release_summary: Feature release.
1626 fragments:
1627 - 2.26.0.yml
1628 - openssl_pkcs12_content.yml
1629 release_date: '2025-03-11'
1630 2.26.1:
1631 changes:
1632 bugfixes:
1633 - luks_device - mark parameter ``passphrase_encoding`` as ``no_log=False``
1634 to avoid confusing warning (https://github.com/ansible-collections/community.crypto/pull/867).
1635 - luks_device - removing a specific keyslot with ``remove_keyslot`` caused
1636 the module to hang while cryptsetup was waiting for a passphrase from stdin,
1637 while the module did not supply one. Since a keyslot is not necessary, do
1638 not provide one (https://github.com/ansible-collections/community.crypto/issues/864,
1639 https://github.com/ansible-collections/community.crypto/pull/868).
1640 release_summary: Bugfix and maintenance release with improved CI.
1641 fragments:
1642 - 2.26.1.yml
1643 - 867-passphrase-encoding-nolog.yml
1644 - 868-luks-remove-keyslot.yml
1645 release_date: '2025-04-28'
1646 3.0.0-a1:
1647 changes:
1648 breaking_changes:
1649 - All doc_fragments are now private to the collection and must not be used
1650 from other collections or unrelated plugins/modules. Breaking changes in
1651 these can happen at any time, even in bugfix releases (https://github.com/ansible-collections/community.crypto/pull/898).
1652 - All module_utils and plugin_utils are now private to the collection and
1653 must not be used from other collections or unrelated plugins/modules. Breaking
1654 changes in these can happen at any time, even in bugfix releases (https://github.com/ansible-collections/community.crypto/pull/887).
1655 - Ignore value of ``select_crypto_backend`` for all modules except acme_*
1656 and ..., and always assume the value ``auto``. This ensures that the ``cryptography``
1657 version is always checked (https://github.com/ansible-collections/community.crypto/pull/883).
1658 - The validation for relative timestamps is now more strict. A string starting
1659 with ``+`` or ``-`` must be valid, otherwise validation will fail. In the
1660 past such strings were often silently ignored, and in many cases the code
1661 which triggered the validation was not able to handle no result (https://github.com/ansible-collections/community.crypto/pull/885).
1662 - acme.certificates module utils - the ``retrieve_acme_v1_certificate()``
1663 helper function has been removed (https://github.com/ansible-collections/community.crypto/pull/873).
1664 - get_certificate - the default for ``asn1_base64`` changed from ``false``
1665 to ``true`` (https://github.com/ansible-collections/community.crypto/pull/873).
1666 - x509_crl - the ``mode`` parameter no longer denotes the update mode, but
1667 the CRL file mode. Use ``crl_mode`` instead for the update mode (https://github.com/ansible-collections/community.crypto/pull/873).
1668 deprecated_features:
1669 - acme_certificate - deprecate the ``agreement`` option which has no more
1670 effect. It will be removed from community.crypto 4.0.0 (https://github.com/ansible-collections/community.crypto/pull/891).
1671 - openssl_pkcs12 - deprecate the ``maciter_size`` option which has no more
1672 effect. It will be removed from community.crypto 4.0.0 (https://github.com/ansible-collections/community.crypto/pull/891).
1673 minor_changes:
1674 - No longer provide cryptography's ``backend`` parameter. This will break
1675 with cryptography < 3.1 (https://github.com/ansible-collections/community.crypto/pull/878).
1676 - On cryptography 36.0.0+, always use ``public_bytes()`` for X.509 extension
1677 objects instead of using cryptography internals to obtain DER value of extension
1678 (https://github.com/ansible-collections/community.crypto/pull/878).
1679 - 'Python code modernization: add type hints and type checking (https://github.com/ansible-collections/community.crypto/pull/885).'
1680 - 'Python code modernization: avoid unnecessary string conversion (https://github.com/ansible-collections/community.crypto/pull/880).'
1681 - 'Python code modernization: avoid using ``six`` (https://github.com/ansible-collections/community.crypto/pull/884).'
1682 - 'Python code modernization: remove Python 3 specific code (https://github.com/ansible-collections/community.crypto/pull/877).'
1683 - 'Python code modernization: update ``__future__`` imports, remove Python
1684 2 specific boilerplates (https://github.com/ansible-collections/community.crypto/pull/876).'
1685 - 'Python code modernization: use ``unittest.mock`` instead of ``ansible_collections.community.internal_test_tools.tests.unit.compat.mock``
1686 (https://github.com/ansible-collections/community.crypto/pull/881).'
1687 - 'Python code modernization: use f-strings instead of ``%`` and ``str.format()``
1688 (https://github.com/ansible-collections/community.crypto/pull/875).'
1689 - Remove ``backend`` parameter from internal code whenever possible (https://github.com/ansible-collections/community.crypto/pull/883).
1690 - Remove various compatibility code for cryptography < 3.3 (https://github.com/ansible-collections/community.crypto/pull/878).
1691 - Remove vendored copy of ``distutils.version`` in favor of vendored copy
1692 included with ansible-core 2.12+ (https://github.com/ansible-collections/community.crypto/pull/371).
1693 - acme_* modules - improve parsing of ``Retry-After`` reply headers in regular
1694 ACME requests (https://github.com/ansible-collections/community.crypto/pull/890).
1695 - action_module plugin utils - remove compatibility with older ansible-core/ansible-base/Ansible
1696 versions (https://github.com/ansible-collections/community.crypto/pull/872).
1697 - x509_certificate, x509_certificate_pipe - the ``ownca_version`` and ``selfsigned_version``
1698 parameters explicitly only allow the value ``3``. The module already failed
1699 for other values in the past, now this is validated as part of the module
1700 argument spec (https://github.com/ansible-collections/community.crypto/pull/890).
1701 release_summary: 'First pre-release for community.crypto 3.0.0.
1702
1703 This release drops compatibility for ansible-core before 2.17, for Python
1704 before 3.7, and for cryptography before 3.3.
1705
1706 '
1707 removed_features:
1708 - The collection no longer supports cryptography < 3.3 (https://github.com/ansible-collections/community.crypto/pull/878,
1709 https://github.com/ansible-collections/community.crypto/pull/882).
1710 - acme.acme module utils - the ``get_default_argspec()`` function has been
1711 removed. Use ``create_default_argspec()`` instead (https://github.com/ansible-collections/community.crypto/pull/873).
1712 - acme.backends module utils - the methods ``get_ordered_csr_identifiers()``
1713 and ``get_cert_information()`` of ``CryptoBackend`` now must be implemented
1714 (https://github.com/ansible-collections/community.crypto/pull/873).
1715 - acme.documentation docs fragment - the ``documentation`` docs fragment has
1716 been removed. Use both the ``basic`` and ``account`` docs fragments in ``acme``
1717 instead (https://github.com/ansible-collections/community.crypto/pull/873).
1718 - acme_* modules - support for ACME v1 has been removed (https://github.com/ansible-collections/community.crypto/pull/873).
1719 - community.crypto no longer supports Ansible 2.9, ansible-base 2.10, and
1720 ansible-core versions 2.11, 2.12, 2.13, 2.14, 2.15, and 2.16. While content
1721 from this collection might still work with some older versions of ansible-core,
1722 it will not work with any Python version before 3.7 (https://github.com/ansible-collections/community.crypto/pull/870).
1723 - crypto.basic module utils - remove ``CRYPTOGRAPHY_HAS_*`` flags. All tested
1724 features are supported since cryptography 3.0 (https://github.com/ansible-collections/community.crypto/pull/878).
1725 - crypto.cryptography_support module utils - remove ``cryptography_serial_number_of_cert()``
1726 helper function (https://github.com/ansible-collections/community.crypto/pull/878).
1727 - crypto.module_backends.common module utils - this module utils has been
1728 removed. Use the ``argspec`` module utils instead (https://github.com/ansible-collections/community.crypto/pull/873).
1729 - crypto.support module utils - remove ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/874).
1730 - execution environment dependencies - remove PyOpenSSL dependency (https://github.com/ansible-collections/community.crypto/pull/874).
1731 - openssl_csr_pipe - the module now ignores check mode and will always behave
1732 as if check mode is not active (https://github.com/ansible-collections/community.crypto/pull/873).
1733 - openssl_pkcs12 - support for the ``pyopenssl`` backend has been removed
1734 (https://github.com/ansible-collections/community.crypto/pull/873).
1735 - openssl_privatekey_pipe - the module now ignores check mode and will always
1736 behave as if check mode is not active (https://github.com/ansible-collections/community.crypto/pull/873).
1737 - time module utils - remove ``pyopenssl`` backend (https://github.com/ansible-collections/community.crypto/pull/874).
1738 - x509_certificate_pipe - the module now ignores check mode and will always
1739 behave as if check mode is not active (https://github.com/ansible-collections/community.crypto/pull/873).
1740 fragments:
1741 - 3.0.0-a1.yml
1742 - 371-distutils-vendor-removed.yml
1743 - 870-ansible-core.yml
1744 - 872-action-module.yml
1745 - 873-deprecation-removals.yml
1746 - 874-pyopenssl.yml
1747 - 878-backend.yml
1748 - 883-backend.yml
1749 - 887-module_utils-plugin_utils.yml
1750 - 890-refactoring.yml
1751 - 891-deprecation.yml
1752 - 898-doc_fragments.yml
1753 - refactoring.yml
1754 - relative-timestamps.yml
1755 release_date: '2025-05-18'
1756 3.0.0-a2:
1757 changes:
1758 release_summary: 'Second pre-release for community.crypto 3.0.0.
1759
1760
1761 This release removes all Entrust content.
1762
1763 '
1764 removed_features:
1765 - All Entrust content is being removed since the Entrust service in currently
1766 being sunsetted after the sale of Entrust's Public Certificates Business
1767 to Sectigo; see `the announcement with key dates <https://www.entrust.com/tls-certificate-information-center>`__
1768 and `the migration brief for customers <https://www.sectigo.com/uploads/resources/EOL_Migration-Brief-End-Customer.pdf>`__
1769 for details. Since this process will be completed in 2025, we decided to
1770 remove all Entrust content from community.general 3.0.0 (https://github.com/ansible-collections/community.crypto/issues/895,
1771 https://github.com/ansible-collections/community.crypto/pull/901).
1772 - ecs_certificate - the module has been removed. Please use community.crypto
1773 2.x.y if you need this module (https://github.com/ansible-collections/community.crypto/pull/900).
1774 - ecs_domain - the module has been removed. Please use community.crypto 2.x.y
1775 if you need this module (https://github.com/ansible-collections/community.crypto/pull/900).
1776 - x509_certificate - the ``entrust`` provider has been removed. Please use
1777 community.crypto 2.x.y if you need this provider (https://github.com/ansible-collections/community.crypto/pull/900).
1778 - x509_certificate_pipe - the ``entrust`` provider has been removed. Please
1779 use community.crypto 2.x.y if you need this provider (https://github.com/ansible-collections/community.crypto/pull/900).
1780 fragments:
1781 - 3.0.0-a2.yml
1782 - 900-remove-entrust.yml
1783 release_date: '2025-05-22'
1784 3.0.0-rc1:
1785 changes:
1786 bugfixes:
1787 - acme_account - make work with CAs that do not accept any account request
1788 without External Account Binding data (https://github.com/ansible-collections/community.crypto/issues/918,
1789 https://github.com/ansible-collections/community.crypto/pull/919).
1790 - openssl_csr, openssl_csr_pipe - avoid accessing internal members of cryptography's
1791 ``KeyUsage`` extension object (https://github.com/ansible-collections/community.crypto/pull/910).
1792 minor_changes:
1793 - Remove various no longer needed abstraction layers for multiple backends
1794 (https://github.com/ansible-collections/community.crypto/pull/912).
1795 - Various code refactorings (https://github.com/ansible-collections/community.crypto/pull/905,
1796 https://github.com/ansible-collections/community.crypto/pull/909, https://github.com/ansible-collections/community.crypto/pull/911,
1797 https://github.com/ansible-collections/community.crypto/pull/913, https://github.com/ansible-collections/community.crypto/pull/914,
1798 https://github.com/ansible-collections/community.crypto/pull/917).
1799 release_summary: First release candidate for new major 3.0.0 release. Contains
1800 two bugfixes and some refactorings.
1801 fragments:
1802 - 3.0.0-rc1.yml
1803 - 910-csr.yml
1804 - 919-acme_account-ear.yml
1805 - refactoring.yml
1806 release_date: '2025-06-14'
1807 3.0.0:
1808 changes:
1809 deprecated_features:
1810 - acme_certificate - the option ``modify_account``'s default value ``true``
1811 has been deprecated. It will change to ``false`` in community.crypto 4.0.0.
1812 We recommend to set the option to an explicit value to avoid deprecation
1813 warnings, and to prefer setting it to ``false`` already now. Better use
1814 the ``community.crypto.acme_account`` module instead (https://github.com/ansible-collections/community.crypto/issues/924).
1815 release_summary: 'New major release of community.crypto with a lot of code modernization.
1816
1817 This release drops compatibility for ansible-core before 2.17, for Python
1818
1819 before 3.7, and for cryptography before 3.3.
1820
1821 It also removes all Entrust modules, and the Entrust provider for the
1822
1823 ``community.crypto.x509_certificate*`` modules.
1824
1825
1826 See below for a more detailled list of changes.
1827
1828 '
1829 fragments:
1830 - 3.0.0.yml
1831 - 924-acme_certificate-modify_account.yml
1832 release_date: '2025-07-02'
1833 3.0.1:
1834 changes:
1835 bugfixes:
1836 - openssl_csr and openssl_csr_pipe - the idempotency check for ``key_usage``
1837 resulted in a crash if ``Key Agreement``/``keyAgreement`` was not set (https://github.com/ansible-collections/community.crypto/issues/934,
1838 https://github.com/ansible-collections/community.crypto/pull/935).
1839 release_summary: Bugfix release.
1840 fragments:
1841 - 3.0.1.yml
1842 - 395-csr-key_usage.yml
1843 release_date: '2025-07-17'
1844 3.0.2:
1845 changes:
1846 bugfixes:
1847 - Improve error message when loading a private key fails due to correct private
1848 key files or wrong passwords. Also include the original cryptography error
1849 since it likely contains more helpful information (https://github.com/ansible-collections/community.crypto/issues/936,
1850 https://github.com/ansible-collections/community.crypto/pull/939).
1851 release_summary: Bugfix release.
1852 fragments:
1853 - 3.0.2.yml
1854 - 939-private-key-errors.yml
1855 release_date: '2025-07-26'
1856 3.0.3:
1857 changes:
1858 bugfixes:
1859 - acme_* modules - also retry on HTTP responses 502 Bad Gateway and 504 Gateway
1860 Timeout. The latter is needed for ZeroSSL, which seems to have a lot of
1861 504s (https://github.com/ansible-collections/community.crypto/issues/945,
1862 https://github.com/ansible-collections/community.crypto/pull/947).
1863 - acme_* modules - increase the maximum amount of retries from 10 to 20 to
1864 accomodate ZeroSSL's buggy implementation (https://github.com/ansible-collections/community.crypto/pull/949).
1865 release_summary: Bugfix release.
1866 fragments:
1867 - 3.0.3.yml
1868 - 947-acme-retry.yml
1869 - 949-acme-retry.yml
1870 release_date: '2025-08-04'
1871 3.0.4:
1872 changes:
1873 bugfixes:
1874 - Avoid deprecated functionality in ansible-core 2.20 (https://github.com/ansible-collections/community.crypto/pull/953).
1875 release_summary: Maintenance release.
1876 fragments:
1877 - 3.0.4.yml
1878 - 953-deprecations.yml
1879 release_date: '2025-10-01'
1880 3.0.5:
1881 changes:
1882 bugfixes:
1883 - Smaller code cleanup (https://github.com/ansible-collections/community.crypto/pull/963).
1884 release_summary: Maintenance release.
1885 fragments:
1886 - 3.0.5.yml
1887 - 963-ruff.yml
1888 release_date: '2025-10-29'
1889 3.1.0:
1890 changes:
1891 minor_changes:
1892 - luks_device - add support for TPM2 enrollment using ``systemd-cryptsetup``
1893 (https://github.com/ansible-collections/community.crypto/issues/850, https://github.com/ansible-collections/community.crypto/pull/972).
1894 - luks_device - add support for keyslot priority (https://github.com/ansible-collections/community.crypto/issues/850,
1895 https://github.com/ansible-collections/community.crypto/pull/972).
1896 release_summary: Feature release.
1897 fragments:
1898 - 3.1.0.yml
1899 - 964-luks-device-tpm2-priority.yml
1900 release_date: '2025-12-29'
1901 3.1.1:
1902 changes:
1903 bugfixes:
1904 - crypto_info, openssl_privatekey, openssl_privatekey_pipe - fix detection
1905 of EC support for cryptography 46.0.5+ (https://github.com/ansible-collections/community.crypto/pull/981).
1906 release_summary: Bugfix release.
1907 fragments:
1908 - 3.1.1.yml
1909 - 981-ec.yml
1910 release_date: '2026-02-12'
1911 3.2.0:
1912 changes:
1913 bugfixes:
1914 - acme_* modules - improve handling of authz deactivation, and improve error
1915 message in case of bad authz states (https://github.com/ansible-collections/community.crypto/pull/998).
1916 minor_changes:
1917 - acme_* modules - experimentally support ``dns-account-01`` challenge type
1918 according to `acme-dns-account-label draft 02 <https://datatracker.ietf.org/doc/html/draft-ietf-acme-dns-account-label-02>`__.
1919 Note that breaking changes to this challenge type can also happen in minor
1920 releases until the acme-dns-account-label draft has been finalized as an
1921 RFC (https://github.com/ansible-collections/community.crypto/pull/996).
1922 - acme_* modules - experimentally support ``dns-persist-01`` challenge type
1923 according to `acme-dns-persist draft 01 <https://www.ietf.org/archive/id/draft-ietf-acme-dns-persist-01.html>`__.
1924 Note that breaking changes to this challenge type can also happen in minor
1925 releases until the acme-dns-persist draft has been finalized as an RFC (https://github.com/ansible-collections/community.crypto/pull/997).
1926 release_summary: 'Bugfix and feature release.
1927
1928
1929 This release is dedicated to the memory of `Michael O. Rabin <https://en.wikipedia.org/wiki/Michael_O._Rabin>`__,
1930 who passed away a few days before this release.'
1931 fragments:
1932 - 3.2.0.yml
1933 - 996-acme-dns-account-01.yml
1934 - 997-acme-dns-persist-01.yml
1935 - 998-acme.yml
1936 plugins:
1937 filter:
1938 - description: Craft a DNS record for ACME :literal:`dns\-persist\-01` challenges.
1939 name: acme_dns_persist_record
1940 namespace: null
1941 - description: Parse a DNS record for ACME :literal:`dns\-persist\-01` challenges.
1942 name: acme_dns_persist_record_parse
1943 namespace: null
1944 release_date: '2026-04-19'
1945 3.2.1:
1946 changes:
1947 bugfixes:
1948 - acme_* modules - adjust OpenSSL RSA private key output parsing to OpenSSL
1949 4.0.0 (https://github.com/ansible-collections/community.crypto/pull/1005).
1950 - acme_challenge_cert_helper - adjust private key check for new private key
1951 types in cryptography 47.0.0 (https://github.com/ansible-collections/community.crypto/pull/1007).
1952 release_summary: Bugfix release.
1953 fragments:
1954 - 1005-openssl-4.yml
1955 - 1007-cryptography-47.yml
1956 - 3.2.1.yml
1957 release_date: '2026-05-14'