1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-20 00:13:09 +00:00
community.general/lib/ansible/module_utils
lumean b24c037f62 fix 'APIC Error 403: padding check failed' in python3 (#55150)
* fix 'APIC Error 403: padding check failed' in python3

With python2 the APIC-Request-Signature is filled in correctly
APIC-Request-Signature=aAvxASu...

But with python3 the string format method seems to
add the encoding to the output, causing a padding error:
APIC-Request-Signature=b'lFmHWvwW4dr...

Reproduce:
# -*- coding: utf-8 -*-
import base64
a = base64.b64encode(b'\u0001')
b = '%s' % a
print(b)
=======
python --version; python test.py
Python 2.7.16 :: Anaconda, Inc.
XHUwMDAx
Python 3.6.3 :: Anaconda, Inc.
b'XHUwMDAx'

* Ensure we use native strings
2019-04-11 17:28:44 +02:00
..
aws parse botocore.endpoint logs into a list of AWS actions (#49312) 2019-03-18 08:29:03 -05:00
common fix missing attribs with dirct module execution (#53875) 2019-04-04 09:59:52 -04:00
compat Do not look for a paramiko compat package anymore (#55106) 2019-04-10 14:51:53 -04:00
csharp Ansible.Basic - event log perm fix and no_log improv (#54699) 2019-04-03 06:49:43 +10:00
distro
docker docker_swarm_service_info: Read information about swarm services (#55008) 2019-04-11 12:30:00 +02:00
facts setup: properly detect is_chroot on Btrfs (#55089) 2019-04-11 11:24:08 +02:00
k8s standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
net_tools Allow Netbox device modification (#53631) 2019-04-07 15:47:11 +05:30
network fix 'APIC Error 403: padding check failed' in python3 (#55150) 2019-04-11 17:28:44 +02:00
oracle Initial commit for Oracle Cloud Infrastructure modules (#53156) 2019-04-09 07:59:31 -04:00
parsing
podman Add podman_image and podman_image_info modules (#55103) 2019-04-10 18:28:09 -05:00
powershell PS AddType - Add the ability to supply custom compile symbols for C# code (#54582) 2019-03-29 19:09:55 +10:00
remote_management as per IRC Core team comment, renaming pwd to password (#55033) 2019-04-11 12:56:48 +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 acme_certficate: allow to write files to CWD (#54754) 2019-04-03 19:39:10 +01:00
alicloud_ecs.py
ansible_release.py
ansible_tower.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
api.py
azure_rm_common.py Bump dependency versions to avoid conflicts (#54443) 2019-04-03 05:40:52 +10:00
azure_rm_common_rest.py
basic.py fix missing attribs with dirct module execution (#53875) 2019-04-04 09:59:52 -04:00
cloud.py
cloudscale.py cloudscale_server: refactor to implement update (#52683) 2019-03-05 10:40:16 +01:00
cloudstack.py cloudstack: fix E326 (#54657) 2019-03-31 23:36:56 +02:00
connection.py
crypto.py openssl_* module_utils/crypto.py: add full list of OIDs known to current OpenSSL (#54943) 2019-04-10 12:46:10 +01: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 Bug fixes for GCP modules (#54765) 2019-04-03 13:31:08 -04:00
gitlab.py
hcloud.py Add hcloud server module (#53062) 2019-03-05 07:30:24 +01:00
heroku.py
hwc_utils.py Fix typo (#54770) 2019-04-03 11:37:30 +01:00
ibm_sa_utils.py
infinibox.py
influxdb.py
ipa.py
ismount.py
json_utils.py
keycloak.py New module: keycloak_group (#35637) 2019-04-10 15:58:20 -04:00
known_hosts.py
kubevirt.py kubevirt: Fix labels assignemt (#54852) 2019-04-09 18:58:44 +02:00
ldap.py
linode.py
lxd.py
manageiq.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
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 standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
ovirt.py ovirt add template version (#54675) 2019-04-01 17:23:57 +01:00
postgres.py Postgresql privs reformat (#54717) 2019-04-02 16:48:35 +01:00
pure.py
pycompat24.py
rabbitmq.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
rax.py standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
redfish_utils.py include Redfish extended error message if available (#54480) 2019-04-04 08:25:19 +01:00
redhat.py
scaleway.py
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 standardize TLS connection properties (#54315) 2019-03-28 00:19:28 -05:00
vexata.py New module for managing volumes in Vexata storage arrays (#49006) 2019-04-10 21:12:23 +05:30
vmware.py VMware: add cluster name in facts (#53056) 2019-03-06 10:15:26 +05:30
vmware_rest_client.py
vultr.py
xenserver.py XenServer: Minor bug fixes 2 (#54697) 2019-04-08 12:27:02 -04:00
yumdnf.py Allow all of yum version compare operators (#54603) 2019-04-08 10:34:21 +02:00