You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Wade Tregaskis <wt...@apple.com> on 2008/06/24 01:50:32 UTC

svn blame prompts for password for every. single. file.

Subject pretty much says it all.  There's no reason for it to do so;  
it manages with any other command I use just fine.

Wade

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

Re: svn blame prompts for password for every. single. file.

Posted by Matt imMute Sickler <im...@msk4.ath.cx>.
No, those are solutions.  Understand the problem and maybe you would see 
why.

Wade Tregaskis wrote:
>> Try using pageant or ssh-agent to store your ssh keys.  You will only 
>> have to type the password once per session.
> 
> Those are workarounds, sure, but I'd rather not have to.
> 
> Wade
> 


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

Re: svn blame prompts for password for every. single. file.

Posted by Marc Haisenko <ha...@comdasys.com>.
On Tuesday 24 June 2008, Wade Tregaskis wrote:
> > Try using pageant or ssh-agent to store your ssh keys.  You will
> > only have to type the password once per session.
>
> Those are workarounds, sure, but I'd rather not have to.
>
> Wade

Using SSH keys is not a work-around but actually a better solution than typing 
in passwords. You should really consider it.

That being said, I too think that a new connection for every blame is not a 
Good Thing(tm).
	Marc


-- 
Marc Haisenko

Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany

Tel.: +49 (0)89 548 433 321

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

Re: svn blame prompts for password for every. single. file.

Posted by Wade Tregaskis <wt...@apple.com>.
> Try using pageant or ssh-agent to store your ssh keys.  You will  
> only have to type the password once per session.

Those are workarounds, sure, but I'd rather not have to.

Wade

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

Re: svn blame prompts for password for every. single. file.

Posted by Matt imMute Sickler <im...@msk4.ath.cx>.
Try using pageant or ssh-agent to store your ssh keys.  You will only 
have to type the password once per session.

(This assumes you are using svn+ssh as that is the only protocol with 
this problem.  That, or you turned of credential caching (which would be 
a PEBKAC error))

Wade Tregaskis wrote:
> Subject pretty much says it all.  There's no reason for it to do so; it 
> manages with any other command I use just fine.
> 
> Wade
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 


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

Re: svn blame prompts for password for every. single. file.

Posted by Erik Huelsmann <eh...@gmail.com>.
On Wed, Jun 25, 2008 at 7:13 PM, Wade Tregaskis <wt...@apple.com> wrote:
>>> Subject pretty much says it all.  There's no reason for it to do so; it
>>> manages with any other command I use just fine.
>>
>> Could you give a little bit more information?  Are you running multiple
>> invocations of 'svn blame', or just one?  What authentication method are you
>> using?  Which version of Subversion?
>
> svn+ssh.  It occurs with version 1.4 or 1.5.  All I'm doing is running "svn
> blame file1.c file2.c etc".  For every other command I'm familiar with, I'm
> prompted only once per run of 'svn' for my password, which makes sense and
> is what I want.
>
> In many cases I'm on a temporary machine and setting up ssh keys is more
> pain than it's worth.  It's also convenient from a security perspective as I
> don't have to worry about caching; my password is required for every single
> 'svn' invocation.  I'm sure I can fiddle with ssh-agent and whatnot to have
> immediate timeouts, but, why bother (and, would it even solve the issue at
> hand in such a case?) ?

Yes, it would solve the issue at hand. The Subversion code has been
written on the assumption that connections are light-weight objects
which can be created whenever necessary. Blame creates a connection
per target and disposes of that connection right after completion.
Noticing it needs another file blamed, it sets up a new one.

Bye,

Erik.

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

Re: svn blame prompts for password for every. single. file.

Posted by Wade Tregaskis <wt...@apple.com>.
>> Subject pretty much says it all.  There's no reason for it to do  
>> so; it manages with any other command I use just fine.
>
> Could you give a little bit more information?  Are you running  
> multiple invocations of 'svn blame', or just one?  What  
> authentication method are you using?  Which version of Subversion?

svn+ssh.  It occurs with version 1.4 or 1.5.  All I'm doing is running  
"svn blame file1.c file2.c etc".  For every other command I'm familiar  
with, I'm prompted only once per run of 'svn' for my password, which  
makes sense and is what I want.

In many cases I'm on a temporary machine and setting up ssh keys is  
more pain than it's worth.  It's also convenient from a security  
perspective as I don't have to worry about caching; my password is  
required for every single 'svn' invocation.  I'm sure I can fiddle  
with ssh-agent and whatnot to have immediate timeouts, but, why bother  
(and, would it even solve the issue at hand in such a case?) ?

Wade

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

Re: svn blame prompts for password for every. single. file.

Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
Wade Tregaskis wrote:
> Subject pretty much says it all.  There's no reason for it to do so; it 
> manages with any other command I use just fine.

Could you give a little bit more information?  Are you running multiple 
invocations of 'svn blame', or just one?  What authentication method are 
you using?  Which version of Subversion?

(As you can tell, the Subject line rarely "says it all".  A detailed 
explanation is always more valuable toward helping solve the problem.)

-Hyrum