Mercurial, TortoiseHg, keyring and using two remote repos with two usernames and passwords being forgotten

泄露秘密 提交于 2019-12-06 07:29:11

I tried on my Windows-machine, and I can reproduce but have no fix. Looks like the keyring extension indeed only stores one password and it gets replaced when you store another. If you go to Windows’s Credential Manager you can see this happening.

There is an existing bug report in the Python keyring library that the Mercurial keyring extension uses:

https://bitbucket.org/kang/python-keyring-lib/issue/47/winvaultkeyring-only-ever-returns-last

Looks like one of the developers replied to it just yesterday, so maybe he is working on a fix.

Edit: According to the bug report this is now fixed, and according to Lee Atkinson it is now also working in TortoiseHg.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!