community.general/lib/ansible/module_utils
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
..
aws parse botocore.endpoint logs into a list of AWS actions (#49312) 2019-03-18 08:29:03 -05:00
common Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
compat
csharp Ansible.Basic - Support a delegate type for option elements key (#52951) 2019-02-26 08:14:10 +10:00
distro
docker Docker: mention Docker SDK for Python instead of docker/docker-py (#53917) 2019-03-20 13:27:44 -04:00
facts Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
k8s Allow user to specify a custom condition when waiting (#52185) 2019-03-06 12:41:17 +00:00
net_tools Updated the Infoblox member module (#53747) 2019-03-14 15:44:17 +05:30
network removes redundant functions (#53989) 2019-03-20 14:44:41 +00:00
parsing
powershell windows - Fix module utils with glob paths (#53835) 2019-03-15 19:44:53 +10:00
remote_management intersight_rest_api module and integration tests. (#52430) 2019-02-19 16:40:40 +01:00
six
source_control Add Bitbucket Pipelines variable module (#54049) 2019-03-22 13:17:08 +01:00
storage Ansible module to enable the user to provision CPGs on HPE StoreServ 3PAR device (#39656) 2019-02-26 14:09:03 +00:00
__init__.py
_text.py
acme.py Reference RFC 8555 instead of latest draft. (#53674) 2019-03-14 19:19:36 -05:00
alicloud_ecs.py
ansible_release.py
ansible_tower.py tower modules: check that 'verify_ssl' defined in ~/.tower_cli.cfg isn't ignored (#50687) 2019-02-13 10:26:43 +00:00
api.py
azure_rm_common.py add azure_rm_mariadbserver module (#53998) 2019-03-21 10:04:40 +08:00
azure_rm_common_rest.py
basic.py Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
cloud.py
cloudscale.py cloudscale_server: refactor to implement update (#52683) 2019-03-05 10:40:16 +01:00
cloudstack.py cloudstack: ensure return api_timeout is int (#52191) 2019-02-13 23:11:22 +01:00
connection.py
crypto.py New cryptography backend for openssl_certificate (#53924) 2019-03-22 13:21:23 +00:00
database.py
digital_ocean.py
dimensiondata.py
ec2.py Fix _hashable_policy for python3 (#53953) 2019-03-18 09:40:28 -05:00
exoscale.py
f5_utils.py
firewalld.py
gcdns.py
gce.py
gcp.py
gcp_utils.py New Module: gcp_iam_role_facts (#53877) 2019-03-15 14:11:17 -04:00
gitlab.py
hcloud.py Add hcloud server module (#53062) 2019-03-05 07:30:24 +01:00
heroku.py
ibm_sa_utils.py
infinibox.py
influxdb.py Sanity fixes to parameter types (#52325) 2019-02-15 16:58:58 +01:00
ipa.py identity: Issue warning if GSSAPI parameters can't be used (#52721) 2019-02-22 08:39:42 +00:00
ismount.py
json_utils.py
keycloak.py
known_hosts.py
kubevirt.py kubevirt: Simplify VM parameters (#53340) 2019-03-11 14:33:14 +00:00
ldap.py
linode.py
lxd.py
manageiq.py
memset.py
mysql.py Fix for "AttributeError: 'module' object has no attribute 'cursors'" (#49191) (#53445) 2019-03-08 08:21:56 +00:00
netapp.py Added eseries base with tests (#49269) 2019-03-08 18:13:45 +00:00
netapp_elementsw_module.py
netapp_module.py
oneandone.py
oneview.py
online.py
opennebula.py
openstack.py
ovirt.py
postgres.py
pure.py
pycompat24.py
rabbitmq.py rabbitmq: Clean up parameter types (#52525) 2019-02-19 12:17:28 +00:00
rax.py
redfish_utils.py redfish_utils: add support to automate multiple systems. (#50854) 2019-03-12 06:58:42 +10:00
redhat.py
scaleway.py Add a Scaleway load-balancer module (#51741) 2019-02-11 15:28:55 +00:00
service.py
splitter.py
univention_umc.py
urls.py uri/win_uri: Make method a free text field (#49719) 2019-02-28 15:55:18 -05:00
utm_utils.py
vca.py
vmware.py VMware: add cluster name in facts (#53056) 2019-03-06 10:15:26 +05:30
vmware_rest_client.py VMware: Tag management to VMware object (#46945) 2019-02-12 16:53:33 +05:30
vultr.py
xenserver.py XenServer: Minor bug fixes (#53826) 2019-03-15 08:54:17 +00:00
yumdnf.py yum/dnf: Add download_dir param (#53171) 2019-03-04 13:08:58 -05:00