You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detect ANSIBLE_VAULT string to determine encryption or decryption, then strip leading whitespace from lines before decrypting.
Above actions would produce something like:
---
nested:
with:
indentation: !vault |
cleartext
Workarounds:
Manually dedenting before toggling works, just adds an extra chord between me and the cleartext.
Other notes:
Vault does not produce leading whitespace in its output, so there is no risk of removing information when removing leading whitespace.
Vault errors with Non-hexadecimal digit found ERROR when attempting to decrypt items with spaces in them.
Auto-indenting upon encryption not desired.
The text was updated successfully, but these errors were encountered:
Current behavior:
When attemptnig to decrypt a value that is indented, the indentation is considered part of the block to handle and gets re-encrypted.
E.g.
Highlighting the last three lines and the toggling encryption produces something like this:
Desired behavior
Detect ANSIBLE_VAULT string to determine encryption or decryption, then strip leading whitespace from lines before decrypting.
Above actions would produce something like:
Workarounds:
Manually dedenting before toggling works, just adds an extra chord between me and the cleartext.
Other notes:
Vault does not produce leading whitespace in its output, so there is no risk of removing information when removing leading whitespace.
Vault errors with
Non-hexadecimal digit found ERROR
when attempting to decrypt items with spaces in them.Auto-indenting upon encryption not desired.
The text was updated successfully, but these errors were encountered: