-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
While running diagnostics as requested for #8, I noticed that odbcconnection tracing emits the password in plain text. Example:
use DBD::ODBC;
DBI->trace(DBD::ODBC->parse_trace_flags('odbcconnection'));
my $dsn = 'dbi:ODBC:Server=example.snowflakecomputing.com;Driver=Snowflake';
my $dbh = DBI->connect($dsn, 'sqitch', 'HIDE ME!', {
PrintError => 0,
RaiseError => 1,
AutoCommit => 1,
odbc_utf8_on => 1,
});The output:
non-Unicode login6_sv
dbd_db_login6
SQLDriverConnect 'Server=example.snowflakecomputing.com;Driver=Snowflake;UID=sqitch;PWD=HIDE ME!', 'sqitch', 'xxxx'
So it does the right thing for the password argument to connect, but its inclusion in the ODBC DSN is unfortunate.
Metadata
Metadata
Assignees
Labels
No labels