Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling keyring does not seem to work right #920

Closed
j-bennet opened this issue Jul 24, 2018 · 1 comment
Closed

Disabling keyring does not seem to work right #920

j-bennet opened this issue Jul 24, 2018 · 1 comment

Comments

@j-bennet
Copy link
Contributor

j-bennet commented Jul 24, 2018

This issue is created from Stack Overflow question:

https://stackoverflow.com/questions/51483945/avoid-keyring-messages-when-running-command-line-tools/51490602

I have upgraded to v1.10.2. The "No handlers ..." message is gone, but everytime I run pgcli it keeps asking me "Please enter password for encrypted keyring:". I do not see there any option to disable the use of keyring in the updated pgcli. Please, clarify how can I avoid using keyring. Thanks – mljrg 7 hours ago

I have configured the keyring = False under [main] in ~/.config/pgcli/config but still asks me for the encrypted keyring password. I even deleted ~/.local/share/python_keyring/crypted_pass.cfg and then when running pgcli I get the prompt "Please set a password for you new keyring:". – mljrg 6 hours ago

Only if I create/edit the file ~/.local/share/python_keyring/keyringrc.cfg with the entry [backend] \n default-keyring=keyrings.alt.file.PlaintextKeyring, then it still uses keyring (and keyring.alt) but the backend does not require a password, so the previous prompt does not appear. HOWEVER, pgcli is still using keyring. Please, check again this situation in pgcli, so that the keyring = False is really working. – mljrg 6 hours ago

@j-bennet
Copy link
Contributor Author

Closed via #927.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant