I followed these instructions for setting up the mercurial keyring extension.

On an Ubuntu 12.04.4 (precise) machine, it works perfectly following the instructions. Prompted for a password once, and now I can 'hg pull'/'hg clone' etc without having to enter a username or password.

On an Ubuntu 14.04.1 (trusty) machine, I had to deviate from the instructions slightly to get it to work by specifying installing 'mercurial-keyring' 0.6.0 (following advice found here but did also involve some troubleshooting on my end). This is working, but every time it prompts: "Please enter password for encrypted keyring:", so this is not ideal.


How can I get 'python-keyring' to stop prompting for the encrypted keyring password every time?

  • The link doesn't work anymore. Jan 26, 2017 at 11:58

1 Answer 1


If anyone else that encounters this, it is simply because trusty simply no longer allows you to set empty passwords anymore and my keyring password on precise was blank.

I know I read this somewhere but can't seem to find it now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .