keyring extension on Windows

Steve Borho steve at borho.org
Sat Jan 9 16:40:18 CST 2010


On Sat, Jan 9, 2010 at 3:29 PM, Steve Borho <steve at borho.org> wrote:
<snip>
> So it seems my only options are to hack mercurial_keyring to always
> use keys that are ConfigParser safe (seems not very robust) or
> implement my own keyring backend in TortoiseHg, perhaps storing
> encrypted keys in the registry instead of a text file as the
> Win32CryptoKeyring class does.

Option #3 was to add a Win32CryptoRegistry class to backend.py and
submit it back to the keyring project, which is what I did.  Seems to
work well and doesn't require any configuration on the user's part.
This should find it's way into the next stable release of TortoiseHg.

--
Steve Borho


More information about the Mercurial mailing list