hippware / cqerl

Native Erlang CQL client for Cassandra
http://matehat.github.io/cqerl
MIT License
0 stars 0 forks source link

cqerl logs passwords #9

Open toland opened 8 years ago

toland commented 8 years ago

cqerl incidentally logs passwords. Since passwords are passed in the arguments to cqerl_client:start_link, and those arguments are always logged by the supervisor.

11:53:03.782 [debug] Supervisor {<0.1422.0>,cqerl_client_sup} started cqerl_client:start_link({"127.0.0.1",9042}, [{auth,{cqerl_auth_plain_handler,[{"cassandra","cassandra"}]}},{ssl,false},{keyspace,undefined}], {{"127.0.0.1",9042},[{keyspace,undefined}]}) at pid <0.1423.0>

There is a fix merged into the upstream master branch but has not been applied to the 2.0 branch we are using. We need to port the fix to the 2.0 branch and push the change upstream.

Migrated from https://hippware.atlassian.net/browse/SER-121