Comment 3 for bug 877374

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 877374] Re: Traceback when the credentials storage returns unicode

On 18 October 2011 23:21, Julian Edwards <email address hidden> wrote:
> The fix is to change the line to this:
>
> credentials.load(StringIO(value.encode("utf8")))

I'm not sure that would be the true fix: utf-8 won't have sequences of \0 bytes.

This looks a lot like a similar bug with garbage being written in to
the gnome wallet, which is also hard to reproduce.