You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
executing \c command on the command line exposes a connection string with password in clear text
Describe the solution you'd like
a password should be redacted similar to Cloud console
connect to CockroachDB, entering a password either in the connection string or when prompted (I tested with 22.1.6).
type \c and see the entire connection string with password unredacted
Connection string: postgresql://artem:password@free-tier11.gcp-us-east1.cockroachlabs.cloud:26257/defaultdb?application_name=%24+cockroach+sql&connect_timeout=15&options=--cluster%3Dartem-serverless-1812&sslmode=verify-full&sslrootcert=%2FUsers%2Fartem%2F.postgresql%2Froot.crt
You are connected to database "defaultdb"as user "artem".
Is your feature request related to a problem? Please describe.
executing
\c
command on the command line exposes a connection string with password in clear textDescribe the solution you'd like
a password should be redacted similar to Cloud console
Additional context
to repro:
connect to CockroachDB, entering a password either in the connection string or when prompted (I tested with 22.1.6).
type
\c
and see the entire connection string with password unredactedJira issue: CRDB-19258
The text was updated successfully, but these errors were encountered: