patchback[bot]
b9e8bb70eb
Fix docs ( #497 ) ( #498 )
...
* Fix docs.
* Fix YAML.
* Prevent crashes with older pyyaml versions.
(cherry picked from commit 2dafef1fab
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-04 20:17:55 +02:00
Felix Fontein
9658a34605
Replace ansible.module_utils._text by ansible.module_utils.common.text.converters. ( #253 )
2021-06-26 13:45:28 +02:00
Felix Fontein
0a0d0f2bdf
openssl_csr_info and x509_certificate_info: return more public key information ( #233 )
...
* Return more public key information.
* Make sure bit size is converted to int first.
* Apply suggestions from code review
Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
* Remove no longer necessary code.
* Use correct return value's name.
* Add trailing commas.
Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
2021-05-19 14:02:45 +02:00
Felix Fontein
ba03580659
x509_certificate_info: move main code to module_utils to allow easier implementation of diff mode ( #206 )
...
* Move x509_certificate_info code to module_utils.
* Add changelog fragment.
* Apply suggestions from code review
Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
2021-05-15 22:48:08 +02:00
Andrew Klychkov
b2e13d3c03
Documentation: fix modules formatting ( #161 )
...
* Documentation: fix modules formatting
* Apply suggestions from code review
* Fix sanity
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-12-19 17:15:10 +01:00
Felix Fontein
69335a8bac
Refactor x509_certificate module, add x509_certificate_pipe module ( #135 )
...
* Move documentation to doc fragment.
* Prepare module backends.
* Linting.
* Fix comments.
* First shot at actually moving code.
* Forgot SKI check.
* Remove unused imports.
* Improve check mode.
* Fix 'returned'.
* Move csr_* checks.
* Explicitly specify parameter.
* Add x509_certificate_pipe module.
* Update other seealsos.
* Forgot to remove doc fragment.
* Adjust to work with macOS 10.15.
* Update plugins/module_utils/crypto/module_backends/certificate_entrust.py
Co-authored-by: Chris Trufan <31186388+ctrufan@users.noreply.github.com>
* Add changelog fragments for entrust bugfix and module refactorings.
* Restore old behavior of Entrust backend when existing certificate cannot be parsed.
* Update plugins/modules/x509_certificate_pipe.py
Co-authored-by: Chris Trufan <31186388+ctrufan@users.noreply.github.com>
* Remove Entrust provider from x509_certificate_pipe for now.
* Add own CA tests.
* One more fix for Entrust provider, when csr_content is used.
* Update plugins/modules/x509_certificate_pipe.py
Co-authored-by: Chris Trufan <31186388+ctrufan@users.noreply.github.com>
* Fix another broken example.
* Revert "Remove Entrust provider from x509_certificate_pipe for now."
This reverts commit 6ee5d7d4f99f0fe2218276a2d3f1f38b676c29b9.
* ci_complete
* Apply suggestions from code review
Co-authored-by: MarkusTeufelberger <mteufelberger@mgit.at>
* Improve example.
* Improve readability of example, add another one.
* Extend descriptions of csr_* for selfsigned.
* Improve documentation.
* Move deprecation message up.
* Explain empty choices.
Co-authored-by: Chris Trufan <31186388+ctrufan@users.noreply.github.com>
Co-authored-by: MarkusTeufelberger <mteufelberger@mgit.at>
2020-11-24 17:21:52 +01:00
Felix Fontein
7d0e5e814e
Return certificate fingerprints from x509_certificate_info ( #121 )
...
* Return certificate fingerprints from x509_certificate_info.
* Update plugins/modules/x509_certificate_info.py
Co-authored-by: MarkusTeufelberger <mteufelberger@mgit.at>
Co-authored-by: MarkusTeufelberger <mteufelberger@mgit.at>
2020-10-13 10:41:09 +02:00
Felix Fontein
390cb1ccc1
Prepare release ( #75 )
...
* Improve changelog generator config.
* We don't have docs at that URL.
* Require Ansible(-base) 2.9.10 or newer.
Needed for deprecation syntax.
* Update all deprecations from Ansible 2.1x to community.crypto 2.0.0.
* Forgot to check in fixes.
* Shorten lines.
* Fix unit test requirements.
* Fix YAML strings which only had a closing quote.
* Galaxy neither likes uppercase nor spaces in tags.
* General README improvements.
* Add roadmap section to README.
* Next release will be 1.0.0.
* Extend using instructions.
* Tags with dashes are also not allowed.
* Fix changelog link.
2020-07-01 13:49:25 +02:00
Felix Fontein
109edecd78
Add version_added: 1.0.0 for all new features. ( #37 )
2020-06-29 15:21:35 +02:00
Felix Fontein
cb384443e4
cryptography backend: parse dirName, RID and otherName names ( #9 )
2020-06-21 22:47:48 +02:00
Toshio Kuratomi
cc45650e82
Use fqcn for modules listed in M() and seealso. ( #72 )
2020-06-17 10:29:18 +02:00
Felix Fontein
9e5969a644
Remove ANSIBLE_METADATA from modules. ( #49 )
2020-05-14 13:22:12 +02:00
Felix Fontein
9a096dd146
Refactor module_utils/crypto.py ( #27 )
...
* Refactor module_utils/crypto.py: split up into multiple smaller modules
* Remove superfluous files.
* Fix sanity errors.
* Move CRL entry dumping code to module_utils.
* Move obj2txt usage from CRL modules to module_utils/crpyto/cryptography_crl.
* Move generic I/O functions to plugins/module_utils/io.py.
* Add helper method for retrieving serial number of certificate.
* Add compatibility code into __init__.py.
* Fix syntax error, and add ignore.txt entries for non-empty __init__.
2020-05-12 11:19:42 +02:00
Felix Fontein
5a6858472c
Remove version_added from return values. ( #28 )
2020-04-13 23:59:40 +02:00
Felix Fontein
f7dbd61fa7
Rename openssl_certificate* to x509_certificate* ( #7 )
...
* Rename openssl_certificate* to x509_certificate*.
* Update README.
* Add redirects.
* Also print warnings when using Ansible 2.9.
* Adjust ignore-2.9.txt.
* Update documentation.
2020-04-06 14:34:24 +02:00