You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Dominik Westner <we...@logicunited.com> on 2003/01/14 11:11:20 UTC

svn login (was: Re: [PATCH] default to --no-auth-cache)

Ok, I was reading this thread with great interest as I was concerned 
about the default setting aswell.

Why don't we just factor out the caching of login and password into a 
separate command, something like

svn login

If I call it I get a warning that my password and login name will be 
cached for future use.

I can clear the auth-cache anytime by doing something like

svn login --clear

If I have the auth-cache set with svn login I won't get asked for the 
password (specifying --no-auth-cache will circumvent the cache),
If I don't have it set any svn command requiring authentication will 
prompt for login and password.

It could be done also on a more fine grained level like

svn login --no-password

will only cache the login but not the password.

But in general I think we should let the user decide if they want to 
cache the auth information or not on a working copy basis.
By factoring this out into a separate command should make it very clear 
  to the user.

Dominik


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn login (was: Re: [PATCH] default to --no-auth-cache)

Posted by "Ketil Z. Malde" <ke...@ii.uib.no>.
Dominik Westner <we...@logicunited.com> writes:

> svn login
> 
> If I call it I get a warning that my password and login name will be
> cached for future use.

> svn login --clear

svn logout?

> By factoring this out into a separate command should make it very
> clear to the user.

Would storing a cookie/one-time password instaed of the real password
alleviate the security problem?  I guess it would require some support
on the server side, though.

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org