[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH]: Add --password-file and --password-envvar

From: Branko Čibej <brane_at_wandisco.com>
Date: Mon, 07 Jul 2014 10:36:35 +0200

On 07.07.2014 10:27, Julian Foad wrote:
> Martin Furter wrote:
>
>>>> For the file solution it might be more useful to use both username and
>>>> password from that file.
>>> I guess the option should be named different then, maybe something like
>>> --auth-file or --creds-file or so.
> Aha! But Subversion already has a way to read authn creds from a file:
>
> --config-dir=x
>
> All we're lacking is a convenient way to put the required creds into the file. A user interface could be:
>
> svn auth authenticate $REPO_URL
>
> or, if you insist on being able to cache a user name and password when you don't currently have access to the server:
>
> svn auth authenticate $REPO_URL --force --username=y --password=z
>
> Thoughts?

Won't work given how we currently store credentials. The credentials key
is not the URL, it's the realmstring, which you (in general) will not
know without actually contacting the server.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-07-07 10:37:10 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.