mercurial_keyring asking for password every time
Created originally on Bitbucket by Anonymous
This would appear to be a duplicate of issue #49 (closed) but that issue appears old and claims to be resolved.
We are using Mercurial 4.5.2, Tortoisehg 4.5.2, and python 2.7.12. In python we have mercurial-keyring 1.1.9 and mercurial-extension-utils 1.3.4.
It seems that when we clone a repo with “hg clone”, it always prompts for the encrypted keyring password. I have read numerous articles (all old) about how to avoid this but it seems that none of the solutions work. The only way to avoid this is to disable mercurial_keyring in ~/.hgrc, which this of course requires that we input our repo credentials every time.
I have tried several documented ways to fix this in ~/.hgrc and none seem to work, so I assume there is something wrong with the interaction between this version of tortoisehg/mercurial and mercurial_keyring.
I tried installing older versions of mercurial_keyring. All seem to produce the same behavior starting with 1.1.5. Versions prior to 1.1.5 fail in more spectacular ways which I did not try to troubleshoot.
Is there a way to prevent mercurial_keyring from requiring a password every time? Specifically, the prompt is: "Please enter password for encrypted keyring:" Upon successfully entering the keyring password, I am automatically logged into our mercurial repo. So I assume the keyring is working. Just want to stop entering a password every time.
Thanks! Roger