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

Re: svn 1.6 client echoes password

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 5 Jan 2010 14:13:29 +0000

On Tue, Jan 05, 2010 at 02:25:00PM +0100, Patrick Oor wrote:
> When I switched my SVN client on Red Hat Linux 4 from SVN 1.5.4 to
> 1.6.3 I found out that the newer SVN client echoes my password to the
> screen when I type it. I looked for a fix on the internet (including
> this project) but have not found anything yet. Who can help? Why is
> SVN echoing the password and how can I switch it off again?

Subversion relies on APR to read passwords without echoing.
So this must be a problem with APR, not Subversion.

Check your APR installation.
If the APR compilation process does not detect a getpass(),
getpassphrase(), or getpass_r() routine, or the termios.h
header file, then APR stupidly falls back to reading the password
with a simple fgets() call. This might explain your situation.

The above is valid for APR-1.3.x. I haven't checked other versions.

Stefan
Received on 2010-01-05 15:14:12 CET

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

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