Debian Codegraph @

ansible_collections/community/crypto/CHANGELOG.md

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