1bb8882 Ticket 50251 - clear text passwords visable in CLI verbose mode logging

Authored and Committed by mreynolds 4 years ago
    Ticket 50251 - clear text passwords visable in CLI verbose mode logging
    
    Bug Description:  If you run any of the CLI tools using "-v", and set a password,
                      that password will be displayed in clear text in the console.
    
    Fix Description:  Create an internal list of sensitive attributes to filter, and
                      mask them in the operation debug logging.  But still allow the
                      password to be seen if you set the env variable DEBUGGING=true
    
                      We also still print the root DN password if it is a container
                      installation.
    
    https://pagure.io/389-ds-base/issue/50251
    
    Reviewed by: spichugi, firstyear, and mhonek (Thanks!!!)
    
    (cherry picked from commit 632ecb90d96ac0535656f5aaf67fd2be4b81d310)
    
        
file modified
+4 -3
file modified
+21 -1