On 04/18/2013 07:48 AM, Bert Huijben wrote:
>> I'd be happy with a tool that takes a dirname and URL on argv and
>> a username\0password\0 on stdin and creates
>> ${dirname}/auth/svn.ssl.simple/$(md5 $(realm-of URL)) with the right
>> contents.
>>
>> But yeah, what you wrote works, too.
> 
> I like the idea, but
> 
> <Implementation question>
> How would you obtain the realm when URL allows anonymous access?
> </>
> 
> This is certainly not trivial to implement in a generic way.

We'd pretty much need to have the RA layer involved, because each RA
implementation is required to define its own realmstring syntax.

ra_serf uses "<REPOS_ROOT_URL:PORT> APACHE_REALM".

ra_svn uses "<REPOS_ROOT_URL:PORT> REPOS_UUID" by default, but will replace
REPOS_UUID with any realmstring defined in svnserve.conf

>>> I have a suspicion that the idea could grow into a full-blown
>>> credentials management tool ...
>>>
>>
>> Right, with the recent "delete credentials" ability.
>>
>> Nice GSOC/OPW idea?
> 
> +1

I'd planned to add this sort of thing as part of the master passphrase work
anyway.

-- 
C. Michael Pilato <cmpil...@collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to