Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove Sensitive RPC Data from Logs #2520
This is a patch to fix #2424.
It modifies the
This is my first code PR to the project; please accept my apologies ahead of time if I inadvertently violated any standards/procedures.
rustyrussell left a comment
Thanks, this is a great fix!
I would recommend replacing, rather than eliminating, since user may get confused when debugging. Perhaps a temp var, and if it starts with rpcuser, replace with -rpcuser=..., and similar with rpcpassword?