DefichainPython icon indicating copy to clipboard operation
DefichainPython copied to clipboard

Protect Logging Secrets

Open eric-volz opened this issue 3 years ago • 1 comments

What would you like to be added:

Protect sensitive information during logging

Why is this needed:

The logging file is a pure text file. If secrets are logged, everyone can see them if they have access to the log file.

How to implement:

  • Adding a new boolean parameter to the Logging class: protected: bool = True
  • if this parameter is True and if a method is used that has to be protected the secrets in this request get filtered

eric-volz avatar Nov 17 '22 12:11 eric-volz

Logging will get reworked when v3.0.0 is released

eric-volz avatar Aug 02 '23 14:08 eric-volz