Skip to content

password censored before login. three asterisks #91

@dylan-shipwell

Description

@dylan-shipwell

I have a funny case of

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at "myhostnameis" (my.ip.is.00), port 5432 failed: FATAL:  password authentication failed for user "myloginname"

if I run stellar with a debugger python3 -m pdb -m stellar ... i can see that psycopg2/__init__.py:connect haw a dsn where "password=***"

my stellar.yml file is plain, and the init worked fine

#stellar.yml
project_name: 'mynameis'
tracked_databases: ['mydbnameis']
url: 'postgresql+psycopg2://myloginname:mypassis@myhostnameis/postgres'
stellar_url: 'postgresql+psycopg2://myloginname:mypassis@myhostnameis/stellar_data'

in a debugger i can also see that stellar's self.config has the password in plain text. super weird.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions