Unchecked "remember password" option is not honored
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 485
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the connection and disconnect steps described for Postico 2.0beta on macOS, using a database in favorites and leaving Remember password unchecked. Trace how favorites store credentials and how launch auto-reconnect retrieves them; done means an unchecked password is not retained or silently reused after disconnect or relaunch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, macos
- Domain
- authentication, database, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100