New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turning on debug logging prints the password in connect string. #563
Comments
@jajuanMitchell Can you share the part of the log file where you see connection string is getting logged? I think it should be in case of pooled connection, where pool contents is getting dumped. pool stores all connection objects of same connection string in one array with connection string. Also, debug mode is enabled by the user who already know the password. If user is sharing the log with others, should remove passwd from log file and then share. Thanks. |
|
@jajuanMitchell Thanks. Only option is to remove this log from code and above log will not get dumped when debug is enabled. We'll look into it. |
pushed fix of this issue as latest commit in master. |
* update windows binary in build.zip file (Priyanka Manoharan) * fix: use nan converters (Bimal Jha) * fix for issue #563 (Bimal Jha) * fix memory leak issue #452 (Bimal Jha) * Added section on configuration keywords available (#560) (Dariusz Danielewski) * support for executeFile Api (#558) (PriyankaManoharan04) * Node 12.x Support (#564) (Bimal Kumar Jha) * Add vscode binary for 4.2.5 (Bimal Jha) * electron 4.2.5 version is supported (#556) (Akhil Ravuri)
Debug logging should not print the password in the log file. Currently the password is part of the connect string and is logged which is a security issue.
The text was updated successfully, but these errors were encountered: