Sensitive variables printed when exec fails #3216
Labels
bug
Oops, sorry!
good first issue
Good for new contributors
help wanted
Good for someone who has contributed before
Describe the bug
When exec runs with sensitive arguments, and the command returns a bad exit code (e.g. a script or program) it dumps sensitive values in errout. It is not expected that sensitive variables are printed in plain text.
To Reproduce
Run
porter build && porter install
with the following porter.xml:Expected behavior
The sensitive value should never be logged out in plain text.
Porter Command and Output
Cmd:
Output:
Version
porter v1.1.0 (b50c189)
The text was updated successfully, but these errors were encountered: