Yaml indentation is broken while using gopass.
$ pass test
a:
b:
c: d
$ gopass test
a:
b:
c: d
All indentation is done with double white space. It's just second line that looses two spaces.
Both outputs look same
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think it's still a bug
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still a bug.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still a bug.
Thank you for reporting this issue.
Unfortunately this isn't easy to fix, due to the way we handle secrets.
We apply multiple heuristics and assumptions about secrets to support some more advanced features, e.g. we support YAML as well as simple Key/Value semantics and handle the first line of a secret in a special way (this is usually the password).
While there is no easy fix, the workaround for proper YAML handling is to prefix a secret containing YAML with an empty line and three dashes: ---.
While this is probably not what you were looking for, this report is still very much appreciated and is good input for our considerations how we might interpret secrets in the future, e.g. apply no heuristics at all or enforce a strict format.
I won't attempt to fix this as is.
It should be eventually covered by the linked issue.