bzr-svn not caching credentials

Jelmer Vernooij jelmer at vernstok.nl
Wed Jan 26 16:48:58 UTC 2011


On Wed, Jan 26, 2011 at 08:13:46AM -0500, Gordon Tyler wrote:
> On 1/25/2011 11:46 PM, Jelmer Vernooij wrote:
> >> I just read
> >> http://doc.bazaar.canonical.com/developers/authentication-ring.html. Is
> >> this just a plan or is it already implemented in bzr.dev?
> > As far as I know it works today. You can use authentication.conf, but we
> > don't write to it.

> So, if I implemented a plugin like netrc_credentials, would I be able to
> make it cache passwords (not in bzr's auth conf but a separate
> file/directory) or does the API not allow this?
The API does not (yet) allow for this, as the credentials backends are
not told about the successful uses of passwords, so they don't know
what credentials to cache. It'd be great to add this support, it just
hasn't been done yet.

Cheers,

Jelmer



More information about the bazaar mailing list