mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* openssl_certificate: Fix parameter assertion in Python3
Parameter assertion in Python3 is broken. pyOpenSSL get_X() functions
returns b'' type string and tries to compare it with '' string, leading
to failure.
The error mentionned above has been fixed by sanitizing the inputs from
a user to the assert only backend.
Also, this error was hidden by the fact that the improper check method
was called in the generate() functions.
* Add simple integration test for openssl_certificate
* remove subject == issuer assertion
* run integration tests only on supported hosts
* change min supported version to 0.15.x
* Add test for more CSR fields
* also convert dict members to bytes
* fix version_compare
* openssl_{csr, certificate}: Fail if pyOpenSSL <= 0.15
Previous 0.13 pyOpenSSL was a C-binding, and required the parameter
passed to add_extention to be in ASN.1. This has changed with the move
to 0.14 and it is now all pythong and string based.
Previous the 0.15 release, the `get_extensions()` method didn't exist,
since the modules rely heavily on it we ensure pyOpenSSL version is at
last 0.15.0.
* check pyopenssl version in openssl_csr integration test
(cherry picked from commit
|
8 years ago | |
|---|---|---|
| .. | ||
| group_vars | 8 years ago | |
| host_vars | 10 years ago | |
| roles | 8 years ago | |
| targets | 8 years ago | |
| vars | 9 years ago | |
| Makefile | 9 years ago | |
| amazon.yml | 9 years ago | |
| asa.yaml | 8 years ago | |
| azure.yml | 11 years ago | |
| cleanup_azure.py | 9 years ago | |
| cleanup_ec2.py | 9 years ago | |
| cleanup_gce.py | 9 years ago | |
| cleanup_rax.py | 9 years ago | |
| cloud-config-aws.yml.template | 9 years ago | |
| cloud-config-azure.yml.template | 8 years ago | |
| cloud-config-cs.ini.template | 9 years ago | |
| cloudflare.yml | 9 years ago | |
| cloudscale.yml | 9 years ago | |
| cnos.yaml | 9 years ago | |
| connection-buildah.yaml | 9 years ago | |
| consul.yml | 8 years ago | |
| consul_inventory.yml | 11 years ago | |
| consul_running.py | 10 years ago | |
| credentials.template | 9 years ago | |
| dellos6.yaml | 9 years ago | |
| dellos9.yaml | 9 years ago | |
| dellos10.yaml | 9 years ago | |
| eos.yaml | 8 years ago | |
| exoscale.yml | 9 years ago | |
| galaxy_playbook.yml | 11 years ago | |
| galaxy_playbook_git.yml | 10 years ago | |
| galaxy_roles.yml | 9 years ago | |
| galaxy_rolesfile | 10 years ago | |
| gce.yml | 9 years ago | |
| gce_credentials.py | 9 years ago | |
| integration_config.yml | 9 years ago | |
| inventory | 8 years ago | |
| inventory.network | 9 years ago | |
| inventory.networking.template | 9 years ago | |
| inventory.remote.template | 9 years ago | |
| inventory.winrm.template | 9 years ago | |
| inventory.yaml | 9 years ago | |
| ios.yaml | 8 years ago | |
| iosxr.yaml | 8 years ago | |
| jenkins.yml | 9 years ago | |
| junos.yaml | 8 years ago | |
| netscaler.yaml | 8 years ago | |
| network-all.yaml | 9 years ago | |
| network-integration.cfg | 8 years ago | |
| nuage.yaml | 9 years ago | |
| nxos.yaml | 8 years ago | |
| ops.yaml | 8 years ago | |
| ovs.yaml | 8 years ago | |
| platform_agnostic.yaml | 8 years ago | |
| rackspace.yml | 11 years ago | |
| setup_gce.py | 9 years ago | |
| target-prefixes.network | 9 years ago | |
| vyos.yaml | 8 years ago | |