using yaml.safe_load in Vault.load absorb line break in RSA private key
vuamitom opened this issue · 1 comments
vuamitom commented
To test
# generate rsa256 key
ssh-keygen -t rsa -b 4096 -f test.key
# encrypt with ansible
ansible-vault encrypt test.key
When decrypt using ansible-vault, output text is the original key with all linebreaks replaced by whitespace
tomoh1r commented
Sorry for confusing, this repository is not for ansible-vault command, and the command is belong to the ansible official [1]. So, please open the issue to ansible official [2].
[1] https://docs.ansible.com/ansible/latest/cli/ansible-vault.html
[2] https://github.com/ansible/ansible