mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-08 06:13:03 +00:00
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>
This commit is contained in:
4
changelogs/fragments/234-openssl_pkcs12-cryptography.yml
Normal file
4
changelogs/fragments/234-openssl_pkcs12-cryptography.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
minor_changes:
|
||||
- "openssl_pkcs12 - added option ``select_crypto_backend`` and a ``cryptography`` backend.
|
||||
This requires cryptography 3.0 or newer, and does not support the ``iter_size`` and ``maciter_size`` options
|
||||
(https://github.com/ansible-collections/community.crypto/pull/234)."
|
||||
Reference in New Issue
Block a user