The problem is that keyring does not document requirements for keys,
but attempts to save them without any escaping as ini-file keys. This
problem could be worked around in mercurial_keyring (by using some
escaping scheme there) but I don't even have a chance to ask keyring
whether it requires escaping, or not...
The natural solution would be to patch keyring text backend so it escapes keys.
> I then noticed that this might not actually be using the encrypted
> keyring format so I tried to override it, but I couldn't figure out
> what to put in keyringrc.cfg.
I haven't diagnosed those issues in detail, but practically I had
better luck using Steve Borho fork
(https://bitbucket.org/sborho/python-keyring-lib) which tended to
properly guess correct backend in my cases. There are also a few other
forks on bitbucket.
I don't have the bandwidth to work on keyring right now, but I can
reveiw/commit patches
>
>> I then noticed that this might not actually be using the encrypted
>> keyring format so I tried to override it, but I couldn't figure out
>> what to put in keyringrc.cfg.
>
> I haven't diagnosed those issues in detail, but practically I had
> better luck using Steve Borho fork
> (https://bitbucket.org/sborho/python-keyring-lib) which tended to
> properly guess correct backend in my cases. There are also a few other
> forks on bitbucket.
We would be happy to merge them
Cheers
Tarek
--
Tarek Ziadé | http://ziade.org
I have merged this fork and I'll release a 0.3 soon.
OK, I will think about them. But don't hold 0.3 waiting for it (I hope
0.4 can happen sooner if there are worthwhile changes...)