NetDocuments-Archive / rd-winrm-plugin

Allows rundeck to execute commands with powershell
Apache License 2.0
31 stars 19 forks source link

Fixing credential leakage of RD_CONFIG_PASS in debug output #22

Closed aaronmaxlevy closed 8 years ago

aaronmaxlevy commented 8 years ago

Currently, when debug output is enabled, and RD_CONFIG_PASS is overridden by RD_OPTION_WINRMPASS, the value of RD_CONFIG_PASS is logged to STDOUT twice, once showing the actual value (what we don't want), and a second time showing asterisks (what we do want).

This PR fixes that bug.

spuder commented 8 years ago

Thanks!