Postico icon indicating copy to clipboard operation
Postico copied to clipboard

Unchecked "remember password" option is not honored

Open cyranix opened this issue 1 year ago • 2 comments

What did you do?

  • Connected to a database in my favorites list, supplying a password in the dialog box and not checking the remember password option
  • Clicked the eject button to disconnect
  • Viewed the database in my favorites list

What did you expect to happen?

  • The password has not been saved

What actually happened?

  • The password has been saved

What software versions are you using?

Postico version: Version 2.0beta (9581)

macOS version: Monterey (12.5.1)

Additional context

I'm connecting to a Google Cloud SQL database using an IAM-based user with an access token. The access token has to be cycled regularly, so remembering the password and automatic reconnection are in my use case obstacles rather than features.

I have had an issue that I suspect is related when I quit Postico while connected to a Cloud SQL database, then re-launch the app — the attempted auto-reconnect fails, but the password seems to be remembered behind the scenes, and I'm not prompted with a new dialog box, so it takes a few extra actions to get back to a normal starting state in the app to initiate a fresh connection.

The "password is remembered despite me not checking the box" part feels like a clear-cut, easy-to-reproduce bug. But if I can use this same space to suggest a related feature, I'd ask for an advanced connection option like "Do not reconnect on app launch". Although auto-reconnect is often quite helpful, it gets in the way when I know that my credentials will be frequently rotated.

cyranix avatar Mar 09 '23 18:03 cyranix

Indirectly related to #377.

cyranix avatar Mar 09 '23 18:03 cyranix

Any plans to get this fixed?

rgaino avatar Sep 29 '23 06:09 rgaino