atuin/crates
Jeremy Cline 32930846e6
fix: redact password in database URI when logging (#2032)
Previously, in the event that there was a configuration issue and the
atuin server failed to connect to PostgreSQL, it would log the password.

For example, if the password authentication failed the following log
message would be printed:

Error: failed to connect to db: PostgresSettings { db_uri:
    "postgres://atuin:definitelymypassword@db.example.com/atuin" }

This change sets the password to "****" when printing it via Debug:

Error: failed to connect to db: PostgresSettings { db_uri:
    "postgres://atuin:****@db.example.com/atuin" }

Hopefully few people use **** as the actual password.
2024-05-21 09:25:17 +07:00
..
atuin feat(daemon): add support for daemon on windows (#2014) 2024-05-13 09:35:34 +07:00
atuin-client chore: clarify default config file (#2026) 2024-05-17 09:50:13 +07:00
atuin-common fix(dotfiles): unquote aliases before quoting (#1976) 2024-04-23 14:45:07 +01:00
atuin-daemon fix: save sync time in daemon (#2029) 2024-05-18 09:46:48 +07:00
atuin-dotfiles fix(dotfiles): allow clearing aliases, disable import (#1995) 2024-05-02 16:53:38 +01:00
atuin-history feat(ui): scroll history infinitely (#1999) 2024-05-06 08:11:47 +01:00
atuin-server fix: alias enable/enabled in settings (#2021) 2024-05-14 10:23:05 +07:00
atuin-server-database chore: move crates into crates/ dir (#1958) 2024-04-18 16:41:28 +01:00
atuin-server-postgres fix: redact password in database URI when logging (#2032) 2024-05-21 09:25:17 +07:00