mirror of https://github.com/ansible/ansible.git
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 #22914pull/27145/head
parent
8f18ca45f1
commit
2b0a7338d4
Loading…
Reference in New Issue