You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Robert Schiele <rs...@uni-mannheim.de> on 2002/09/20 22:17:34 UTC

proposal: config option to prevent password storage

Hello,

I would propose to add a config option that prevents storage of the
password on the client side.

Sometimes I want to checkout a copy of the repository on an unsecure
site.  This wouldn't be acceptable if the client stored my password on
the disk.

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:rschiele@uni-mannheim.de

Re: proposal: config option to prevent password storage

Posted by mark benedetto king <bk...@inquira.com>.
On Sat, Sep 21, 2002 at 12:17:34AM +0200, Robert Schiele wrote:
> 
> I would propose to add a config option that prevents storage of the
> password on the client side.
> 
> Sometimes I want to checkout a copy of the repository on an unsecure
> site.  This wouldn't be acceptable if the client stored my password on
> the disk.
> 

This option is such a good idea that we've already implemented it. :-)

  --no-auth-cache          : do not cache authentication tokens

It was introduced in rev 3092.  If you stay on the bleeding edge,
you should already have this feature.

The first release containing this functionality is Version 0.14.3,
which was released today. :-)


--ben


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

Re: proposal: config option to prevent password storage

Posted by Robert Schiele <rs...@uni-mannheim.de>.
On Fri, Sep 20, 2002 at 05:25:16PM -0500, Ben Collins-Sussman wrote:
> Robert Schiele <rs...@uni-mannheim.de> writes:
> 
> > Hello,
> > 
> > I would propose to add a config option that prevents storage of the
> > password on the client side.
> > 
> > Sometimes I want to checkout a copy of the repository on an unsecure
> > site.  This wouldn't be acceptable if the client stored my password on
> > the disk.
> 
> Already done.  Try passing --no-auth-cache to any svn command.

Sorry, my fault.  I did only check against the latest tarball
snapshot, but not against trunk.

So, I will go to bed now, to prevent me doing other stupid things. ;-)

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:rschiele@uni-mannheim.de

Re: proposal: config option to prevent password storage

Posted by Ben Collins-Sussman <su...@collab.net>.
Ben Collins-Sussman <su...@collab.net> writes:

> Robert Schiele <rs...@uni-mannheim.de> writes:
> 
> > Hello,
> > 
> > I would propose to add a config option that prevents storage of the
> > password on the client side.
> > 
> > Sometimes I want to checkout a copy of the repository on an unsecure
> > site.  This wouldn't be acceptable if the client stored my password on
> > the disk.
> 
> Already done.  Try passing --no-auth-cache to any svn command.
> 

It's also a config option, as you wish.  Just uncomment this line in
your ~/.subversion/config file:

# store_password = no


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

Re: proposal: config option to prevent password storage

Posted by Scott Lamb <sl...@slamb.org>.
Robert Schiele wrote:
>>With `http basic' authentication, worrying about plaintext passwords
>>being stored on the client side has got to be some kind of joke -- the
>>things are flying over the net in cleartext too.  Therefore I think
>>the current default is fine :-).
> 
> Note that there exist http daemons with ssl encryption for some
> years.  Even apache is capable doing that.

Right, but until client-side checking of server SSL certificates is 
implemented[*], this only helps so much. I only allow basic auth over 
SSL, so I'm not vulnerable to sniffing. But I am vulnerable to trivial 
man-in-the-middle attacks.

[*] There's a issue for this somewhere. Whoever implements it will make 
me quite happy.

-- 
Scott Lamb


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

Re: proposal: config option to prevent password storage

Posted by Robert Schiele <rs...@uni-mannheim.de>.
On Sun, Sep 22, 2002 at 11:11:00PM -0500, Karl Fogel wrote:
> "Barry Scott" <ba...@ntlworld.com> writes:
> > I would put this more strongly. You must default to a policy
> > of being secure.
> > 
> > I do not trust myself or my users to remember to block this
> > security hole reliably.
> 
> With `http basic' authentication, worrying about plaintext passwords
> being stored on the client side has got to be some kind of joke -- the
> things are flying over the net in cleartext too.  Therefore I think
> the current default is fine :-).

Note that there exist http daemons with ssl encryption for some
years.  Even apache is capable doing that.

Robert

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:rschiele@uni-mannheim.de

Re: proposal: config option to prevent password storage

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
"Barry Scott" <ba...@ntlworld.com> writes:
> I would put this more strongly. You must default to a policy
> of being secure.
> 
> I do not trust myself or my users to remember to block this
> security hole reliably.

With `http basic' authentication, worrying about plaintext passwords
being stored on the client side has got to be some kind of joke -- the
things are flying over the net in cleartext too.  Therefore I think
the current default is fine :-).

A repository that's doing some truly cryptographically secure method
of authentication presumably isn't storing stuff in plaintext on the
client side anyway.

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

RE: proposal: config option to prevent password storage

Posted by Barry Scott <ba...@ntlworld.com>.
I would put this more strongly. You must default to a policy
of being secure.

I do not trust myself or my users to remember to block this
security hole reliably.

I propose you change to --auth-cache to permit caching
and that the config defaults to store_password = no.

Having a deamon lke SSH uses to keep the ssh-keys would be a
nice middle way to keep the svn auth info only for the life of
a session.

Barry


> -----Original Message-----
> From: Kirby C. Bohling [mailto:kbohling@birddog.com]
> Sent: 20 September 2002 23:23
> To: Ben Collins-Sussman
> Cc: Robert Schiele; dev@subversion.tigris.org
> Subject: Re: proposal: config option to prevent password storage
> 
> 
> On Fri, 2002-09-20 at 17:25, Ben Collins-Sussman wrote:
> > Robert Schiele <rs...@uni-mannheim.de> writes:
> > 
> > > Hello,
> > > 
> > > I would propose to add a config option that prevents storage of the
> > > password on the client side.
> > > 
> > > Sometimes I want to checkout a copy of the repository on an unsecure
> > > site.  This wouldn't be acceptable if the client stored my password on
> > > the disk.
> > 
> > Already done.  Try passing --no-auth-cache to any svn command.
> 
> Any way to stick that into "Always on"?  It'd be one of those things I'd
> forget to add at an insecure site.  I'd be much happier if I had to
> remember to run it on, especially, because I'd only have to do it once
> to get it cached, and it'd beat me over the head until I remember to get
> it cached....
> 
> 	Thanks,
> 		Kirby
> 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> > 
> -- 
> Real Programmers view electronic multimedia files with a hex editor.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 
> 


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

Re: proposal: config option to prevent password storage

Posted by "Kirby C. Bohling" <kb...@birddog.com>.
On Fri, 2002-09-20 at 17:25, Ben Collins-Sussman wrote:
> Robert Schiele <rs...@uni-mannheim.de> writes:
> 
> > Hello,
> > 
> > I would propose to add a config option that prevents storage of the
> > password on the client side.
> > 
> > Sometimes I want to checkout a copy of the repository on an unsecure
> > site.  This wouldn't be acceptable if the client stored my password on
> > the disk.
> 
> Already done.  Try passing --no-auth-cache to any svn command.

Any way to stick that into "Always on"?  It'd be one of those things I'd
forget to add at an insecure site.  I'd be much happier if I had to
remember to run it on, especially, because I'd only have to do it once
to get it cached, and it'd beat me over the head until I remember to get
it cached....

	Thanks,
		Kirby

> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 
-- 
Real Programmers view electronic multimedia files with a hex editor.


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

Re: proposal: config option to prevent password storage

Posted by Ben Collins-Sussman <su...@collab.net>.
Robert Schiele <rs...@uni-mannheim.de> writes:

> Hello,
> 
> I would propose to add a config option that prevents storage of the
> password on the client side.
> 
> Sometimes I want to checkout a copy of the repository on an unsecure
> site.  This wouldn't be acceptable if the client stored my password on
> the disk.

Already done.  Try passing --no-auth-cache to any svn command.


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