[MERGE] Make authentication.conf accepts new password encodings and a netrc plugin

Ian Clatworthy ian.clatworthy at internode.on.net
Thu Jan 8 07:06:25 GMT 2009


Vincent Ladeuil wrote:
> This patch makes authentication.conf accepts a new encoding: 'netrc'.
> 
> This password encoding is implemented via a plugin that can be
> used as an example to implement other credential stores.

Sweet!

bb:tweak

> +    * ``$HOME/.netrc`` file is now recognize as a read-only credential store
> +      if configured in ``authentication.conf`` with 'password_encoding=netrc'
> +      if the appropriate sections.
> +      (Vincent Ladeuil, #103029)

s/recognize/recognized/
s/if the/in the/

> +Plugins can provide additional password encodings, the provided
> +``netrc_credential_store`` plugin can be used as an example implementation.

s/, the/. The/

> -   described here. An encoding named ``netrc`` for example will provide
> -   passwords by retrieving them in the ``.netrc`` file.
> +   described here. The ``netrc`` encoding for example provide passwords by
> +   retrieving them in the ``.netrc`` file.

s/provide/provides/
s/retrieving them in/retrieving them from/

> +  output some traces in the ``.bzr.log`` file metionning the sections
> +  used. This allows the user to validate his definitions.

s/mentionning/mentioning/

And some other drive-by tweaks to authentication-ring.txt ...

> ``HTTP proxy`` can be handled as ``HTTP`` (or ``HTTPS``) by explicitely
> specifying the appropriate port.

s/explicitely/explicitly/

> This specification intend to ease the authentication providing, not to secure

s/intend/intends/

> ``~/.bazaar/authentication.conf`` will use the same file format than
> ``~/.bazaar/bazaar.conf``.

s/than/as/

Ian C.



More information about the bazaar mailing list