Skip to content

Conversation

@psgreco
Copy link
Contributor

@psgreco psgreco commented Jan 31, 2023

Mark mainchainrpcuser and mainchainrpcpassword as sensitive, just as rpcuser and rpcpassword, so they are not shown in the logs.
Before:

2023-01-31T21:57:28Z Config file arg: [liquidtestnet] mainchainrpcpassword="bbbbbb"
2023-01-31T21:57:28Z Config file arg: [liquidtestnet] mainchainrpcuser="aaaaaaa"

After:

2023-01-31T21:58:44Z Config file arg: [liquidtestnet] mainchainrpcpassword=****
2023-01-31T21:58:44Z Config file arg: [liquidtestnet] mainchainrpcuser=****

Fixes: #1205

@gwillen
Copy link
Contributor

gwillen commented Jan 31, 2023

good idea, utACK.

@delta1 delta1 merged commit 2f7bf3e into ElementsProject:master Feb 1, 2023
@psgreco psgreco deleted the master-hide-rpcpasswords branch February 13, 2023 16:12
jamesdorfman added a commit to jamesdorfman/elements that referenced this pull request Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Obscure the mainchainrpcpassword value in debug.log (just as with rpcpassword=****)

3 participants