openssl_publickey is broken in python3 #54190
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
crypto
Crypto community (ACME, openssl, letsencrypt)
module
This issue/PR relates to a module.
python3
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
SUMMARY
It is not possible to create a public openssh key from a private encrypted private key using python3 as the interpreter
ISSUE TYPE
COMPONENT NAME
openssl_publickey
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
I don't think it's related, I faced this issue on both Ubuntu and MacOS.
STEPS TO REPRODUCE
Just run the playbook below:
ansible-playbook test.yml -e "ansible_python_interpreter=python3"
EXPECTED RESULTS
Public key created successfully
ACTUAL RESULTS
I've got the following error:
Meanwhile, it works as expected in python2
The text was updated successfully, but these errors were encountered: