community.crypto/plugins/module_utils/crypto
Felix Fontein e9bc7c7163
openssl_pkcs12: add cryptography backend (#234)
* Began refactoring.

* Continue.

* Factor PyOpenSSL backend out.

* Add basic cryptography backend.

* Update plugins/modules/openssl_pkcs12.py

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>

* Only run tests when new enough pyOpenSSL or cryptography is around.

* Reduce required pyOpenSSL version from 17.1.0 to 0.15.

I have no idea why 17.1.0 was there (in the tests), and not something smaller.
The module itself did not mention any version.

* Linting.

* Linting.

* Increase compatibility by selecting pyopenssl backend when iter_size or maciter_size is used.

* Improve docs, add changelog fragment.

* Move hackish code to cryptography_support.

* Update plugins/modules/openssl_pkcs12.py

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>

* Update plugins/modules/openssl_pkcs12.py

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>

* Streamline cert creation.

* Convert range to list.

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
2021-05-20 19:36:07 +02:00
..
module_backends openssl_csr_info and x509_certificate_info: return more public key information (#233) 2021-05-19 14:02:45 +02:00
__init__.py openssl_pkcs12: allow to specify certificate bundles in other_certificates (#166) 2021-01-26 10:21:49 +01:00
_asn1.py Support otherName in subAltName in CSR for UTF8 strings (#53) 2020-06-23 22:38:42 +02:00
_obj2txt.py Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
_objects.py Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
_objects_data.py Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
basic.py Update openssl_signature module (#63) 2020-08-18 15:18:59 +02:00
cryptography_crl.py Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
cryptography_support.py openssl_pkcs12: add cryptography backend (#234) 2021-05-20 19:36:07 +02:00
math.py Refactor module_utils/crypto.py (#27) 2020-05-12 11:19:42 +02:00
openssh.py Implement use_agent option to get signing key from ssh-agent. (#117) 2020-10-19 18:07:36 +02:00
pem.py openssl_pkcs12: allow to specify certificate bundles in other_certificates (#166) 2021-01-26 10:21:49 +01:00
pyopenssl_support.py openssl_csr: add support for name constraints extension (#92) 2020-08-18 12:23:37 +02:00
support.py Add openssl_publickey_info module (#231) 2021-05-18 17:47:10 +02:00