Merge lp:~bac/launchpadlib/bug-745801 into lp:launchpadlib
Proposed by
Brad Crittenden
Status: | Merged |
---|---|
Approved by: | j.c.sackett |
Approved revision: | 127 |
Merged at revision: | 128 |
Proposed branch: | lp:~bac/launchpadlib/bug-745801 |
Merge into: | lp:launchpadlib |
Diff against target: |
81 lines (+26/-4) 1 file modified
src/launchpadlib/credentials.py (+26/-4) |
To merge this branch: | bzr merge lp:~bac/launchpadlib/bug-745801 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Needs Information | ||
Review via email: mp+82560@code.launchpad.net |
Commit message
Encode the serialized credentials before saving.
Description of the change
Since some users experienced problems saving the configuration containing lplib keys into their keyring, this branch base64 encodes the values before putting into the keyring in an attempt to avoid freaking out the Gnome keyring or KDE wallet.
When decoding credentials a test is made to see if we have an unencoded string to provide backwards compatibility.
To post a comment you must log in.
I think this looks fine.
I'm a little confused about the addition of krdebug; it seems a little irregular to have a file like this living in the root directory, esp as it seems to be meant as a debug tool while working on this branch.
Was this definitely intended to be added?