[PATCH] http auth user & password lookup

Matt Mackall mpm at selenic.com
Wed Aug 15 16:56:24 CDT 2007


On Wed, Aug 15, 2007 at 11:50:04PM +0200, Markus F.X.J. Oberhumer wrote:
> Matt Mackall wrote:
> >On Wed, Aug 15, 2007 at 02:01:32PM -0700, Brad Schick wrote:
> >># HG changeset patch
> >># User Brad Schick <schickb at gmail.com>
> >># Date 1187211013 25200
> >># Node ID 37b01c92a63ca144a15f728be8712c8a2488a2a2
> >># Parent  dc38a08557bc34493221683453d14717da0b82e2
> >>added user & password lookup from [http_auth] config section
> >>
> >>For secure systems, this lets people store user and optional
> >>password values for http auth realms. The format is:
> >>
> >>[http_auth]
> >>realm = user:pass
> >>* = user:pass
> >>
> >>A realm name of '*' is an optional default used when no
> >>matching realm name is found.
> >
> >Looks great, queued!
> 
> For security reasons, I'd sometimes like to store passwords and other 
> sensitive information outside of ~/.hgrc . What would be the best way to 
> achieve this - adding some include directive ?

Good question. Gonna hold off on this a bit.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial-devel mailing list