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
Please enter password for encrypted keyring #23
Comments
What platform are you using? |
Debian Jessie 8.1, without desktop environment, only commandline |
and fyi, after installing |
Hmm - this sounds like interaction challenges with the debian secure keyring rather than something specific to the python implementation. The general idea is that you can run url watch with the appropriate command line parameter to set the password and it should be retrieved from the keyring in the future. If debian doesn't support a trust model that lets the url watch command request the password automatically then there might be a problem. This works well on Window and Mac - so I'm surprised. I will see if I can reproduce, but it will involve installing your OS and isn't likely to happen in a hurry. Apologies. Perhaps a quick test driver that checks that keyring can work autonomously is a good idea. I will see if I can whip one up. |
Can you try to run this test code and gist the output you see and describe any non-terminal out-of-band prompts you may see? |
|
Sure, i didn't get any prompts, here's the output:
|
Apologies - I had an error in the test driver where it wouldn't work unless you had run a previous version. Please re-try (I've updated the test driver). |
Yes now i get a password prompt (i entered the keyring password):
|
It would appear that Debian's implementation of Consider looking at http://standards.freedesktop.org/secret-service/ and secret-tool (2). You might be able to tell keyring to use an alternate backend that is more amenable to automation. https://pypi.python.org/pypi/keyring#config-file-content If this isn't something that you are comfortable with, let me know and I'll see if I can assist. |
At risk of drowning you this is also relevant: http://docs.halon.se/halonctl/modules/keyring.html -- this indicates that without KDE or Gnome you'll fall back on an encrypted store. |
I see, good to know thanks for the info! |
I have the same problem since a few days? Previously it worked well, but now i get asked for the encryption password. @notDavid How did you hard coded the password? |
I know this issue is closed, but if anyone else has this problem on debian... If you don't care about the password not being encrypted, you can still use Keyring on debian. You just need to tell Debian to use a plain-text backend so the password isn't required. Create or edit the file: ~/.local/share/python_keyring/keyringrc.cfg so that it has the following contents: Credit to: Dmitry Shachnev at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882164 |
Just to clarify; if you have already set the password in the encrypted keyring, it is necessary to run |
Hi,
how do i configure urlwatch to send e-mails (my smtp provider requires TLS) without having to interactively type a password? Currently i get a popup saying "Please enter password for encrypted keyring:" which means i can't run the command in crontab/automatically.
thanks.
The text was updated successfully, but these errors were encountered: