community.general/lib/ansible
Andrea Tartaglia 36a790dcde New cryptography backend for openssl_certificate (#53924)
* New cryptography backend for openssl_certificate

load_* functions in module_utils/crypto.py now have a backend paramter
which when set to 'cryptography' will return cryptography objects so
they can be used for both pyopenssl and cryptography backends.
Added a select_message_digest function too returning a cryptography
digest hash from `cryptography.hazmat.primitives.hashes`
Added new classes for Cryptography backend

* Run test with various backends.

* Prefixing tests.

* Make sure we have the correct backend available.

* Linting (flake8).

* Moved cryptography import to separate try/except

* Make sure certificate is actually valid at some time in the past.

* Improve error handling.

* Trying to fix validation for cryptography backend.

* Fixed issue with keyUsage test in assertonly

* Fixed CI/Lint issues

* Fix private key problem for OwnCA.

* Cryptography backend doesn't support v2 certs.

* issue an expired cert with command when using cryptography backend

* Added warning when backend is auto and v2 cert is requested

* Bumped min cryptography version to  1.6

* Correctly check for failure when backend is cryptography and cert is v2

* Use self.backend where possible

* Use secp521r1 EC when testing on CentOS6

* Fixed pylint issue

* AcmeCertificate support for both backends

* Review fixes

* Fixed missing '(' when raising error

* Fixed date_fmt loop

* Updated docs and requirements with cryptography

* Add openssl_certificate to changelog.
2019-03-22 13:21:23 +00:00
..
cli Fix typo in CLI help text (#53353) 2019-03-21 17:39:28 -04:00
compat Have update-bundled check for updates to all bundled code 2019-02-06 13:59:55 -08:00
config Conditional bare: fix typos (#53807) 2019-03-19 21:29:59 -04:00
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
executor fixes for stripping (#52930) 2019-03-12 18:18:38 -04:00
galaxy Update galaxy cli metadata file templates (#51398) 2019-02-22 00:54:02 -05:00
inventory Strip whitespace when reading limit file (#53564) 2019-03-18 12:40:45 -04:00
module_utils New cryptography backend for openssl_certificate (#53924) 2019-03-22 13:21:23 +00:00
modules New cryptography backend for openssl_certificate (#53924) 2019-03-22 13:21:23 +00:00
parsing dataloader: check exact value of dir (#52021) 2019-03-16 01:48:01 -04:00
playbook include_tasks: fix traceback if no file specified (#54044) 2019-03-20 19:17:20 +01:00
plugins Adding additional doc fragments to panos.py (#54193) 2019-03-22 06:59:30 +00:00
template dict is dict (#54057) 2019-03-20 09:37:34 -04:00
utils Fix encoding handling in unfrackpath. 2019-03-21 16:19:54 -07:00
vars fixes for stripping (#52930) 2019-03-12 18:18:38 -04:00
__init__.py
constants.py Fine tune sanity (#53544) 2019-03-11 15:12:14 -04:00
context.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00