Merge lp:~florian-dorn/bzr/Base64CredentialStore into lp:bzr
Proposed by
Florian Dorn
Status: | Merged |
---|---|
Merged at revision: | 6546 |
Proposed branch: | lp:~florian-dorn/bzr/Base64CredentialStore |
Merge into: | lp:bzr |
Diff against target: |
147 lines (+112/-1) 4 files modified
bzrlib/plugins/base64_credential_store/__init__.py (+50/-0) bzrlib/plugins/base64_credential_store/tests/__init__.py (+23/-0) bzrlib/plugins/base64_credential_store/tests/test_base64.py (+37/-0) doc/developers/authentication-ring.txt (+2/-1) |
To merge this branch: | bzr merge lp:~florian-dorn/bzr/Base64CredentialStore |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Packman (community) | Needs Fixing | ||
Martin Pool | Pending | ||
Vincent Ladeuil | Pending | ||
Review via email: mp+100630@code.launchpad.net |
This proposal supersedes a proposal from 2011-06-04.
Description of the change
Implements a base64 credential store (fixes bug #788015), for obfruscating passwords in authentication.conf
To post a comment you must log in.
Hi, Florian, thanks for this contribution.
Could you please complete <http:// www.canonical. com/contributor s>?
[question] I wonder how people will discover they can use this. It seems to me we ought to update at least the developer docs that say this is not implemented; add it to news and whatsnew; also perhaps add it into the user guide about authentication. Perhaps this should even become the default?
+ __doc__ = """Base64 credential store for the authentication.conf file"""
[fix] A literal string occurring as the first thing in a class or other block is automatically the docstring in Python.
[tweak] Could you please mention here that the point of this class is to obfuscate the passwords stored in the file?
[fix] This ought to be tested; there is a test_decode_ password and TestPlainTextCr edentialStore in tests/test_ config. py. If you're having trouble adding one just ask and we will help or do it.
I wonder how people are going to discover that this exists? I think