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.
ansible/test/units/parsing
Adrian Likins 1613a739ad fix decrypted vault utf8 values (#37539)
* Fix errors decrypted non-ascii vault vars

AnsibleVaultEncryptedUnicode was just using b"".decode()
instead of to_text() on the bytestrings returned from
vault.decrypt() and could cause errors on python2
if non-ascii since decode() defaults to ascii.
Use to_text() to default to decoding utf-8.

add intg and unit tests for value of vaulted vars
being non-ascii utf8

based on https://github.com/ansible/ansible/issues/37258

Fixes #37258

* yamllint fixups
7 years ago
..
utils Move yaml loading functions from DataLoader into a utility module. 7 years ago
vault Fix 'New Vault password' on vault 'edit' (#35923) 7 years ago
yaml fix decrypted vault utf8 values (#37539) 7 years ago
__init__.py
test_dataloader.py Fixes #23680 bug with py3.x due to binary string handling (#23688) 7 years ago
test_metadata.py metadata 1.1 7 years ago
test_mod_args.py Correct the AnsibleError exception to call its superclass's constructor 7 years ago
test_splitter.py
test_unquote.py