[PATCH] http auth user & password lookup
Brad Schick
schickb at gmail.com
Sat Aug 18 13:03:40 CDT 2007
Alexis S. L. Carvalho wrote:
> Thus spake Brad Schick:
>
>> # 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.
>>
>
> We also want to store and check the URI (or at least the host name), no?
>
>
I considered that. It would disambiguate all cases, but I think for many
instances the realm is enough. Maybe an optional uri? Any suggestions
for how to add that. Could be something like:
realm[@uri] = user[:pass]
-Brad
More information about the Mercurial-devel
mailing list