1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/parsing/vault
Adrian Likins 2b0a7338d4 Handle win style CRLF newlines in vault text (#27590)
When parsing a vaulttext blob, use .splitlines()
instead of split(b'\n') to handle \n newlines and
windows style \r\n (CRLF) new lines.

The vaulttext enevelope at this point is just the header line
and a hexlify()'ed blob, so CRLF is a valid newline here.

Fixes #22914
2017-08-01 18:53:22 -04:00
..
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_vault.py Handle win style CRLF newlines in vault text (#27590) 2017-08-01 18:53:22 -04:00
test_vault_editor.py Support multiple vault passwords (#22756) 2017-07-28 15:20:58 -04:00