Page MenuHomePhabricator

[avalanche] Hide the master and session keys in the debug log and console
ClosedPublic

Authored by Fabien on Aug 10 2022, 19:35.

Details

Summary

The configuration is printed out to the debug.log/console which can leak the avalanche master key or session key set as options. This diff fixes that:

2022-08-10T19:31:48Z Command-line arg: avamasterkey=****
2022-08-10T19:31:48Z Command-line arg: avasessionkey=****
Test Plan
./src/bitcoind -avamasterkey=<key> -avasessionkey=<key>

Make sure both keys are obfuscated.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable